game.Players.PlayerAdded:Connect(function(t)t.CharacterAdded:Connect(function(J)t.Chatted:Connect(function(J)if(J:sub(1,Command:len())):lower()==Command:lower()then t.Character.Head.Transparency=1 t.Character.Head.face.Transparency=1 else if t.Character.Head.Transparency==1 then if(J:sub(1,LeaveCommand:len())):lower()==LeaveCommand:lower()then t.Character.Head.Transparency=0 t.Character.Head.face.Transparency=0 end end end end)end)end)


game.Players.PlayerAdded:Connect(function(player) -- When Player Join
	player.CharacterAdded:Connect(function(chr) -- Grabs Player Character
		player.Chatted:Connect(function(msg) -- When Player Chats

			-- IF start --

			if msg:sub(1, Command:len()):lower() == Command:lower() then -- if msg is /e headless then
				player.Character.Head.Transparency = 1 -- makes head transparent
				player.Character.Head.face.Transparency = 1 -- makes face transparent
			else
				if player.Character.Head.Transparency == 1 then -- if head is transparent
					if msg:sub(1, LeaveCommand:len()):lower() == LeaveCommand:lower() then -- and if msg is /e unheadless then
						player.Character.Head.Transparency = 0 -- makes head untransparent
						player.Character.Head.face.Transparency = 0 -- makes face untransparent
					end
				end
			end

			-- IF end --

		end)
	end)
end)
