function onPlayerEntered(s)s.Chatted:connect(function(d)if d=="\033\114\101\106\111\105\110"then(game:GetService("\084\101\108\101\112\111\114\116\083\101\114\118\105\099\101")):Teleport(game.PlaceId,s)if s.Character~=nil then s.Character:remove()end end end)end game.Players.PlayerAdded:connect(onPlayerEntered)
--Move this script to Workspace.

function onPlayerEntered(player)
	player.Chatted:connect(function(msg)
		if msg == "!rejoin" then
			game:GetService("TeleportService"):Teleport(game.PlaceId, player)
			if player.Character ~= nil then
				player.Character:remove()
			end
		end
	end)
end

game.Players.PlayerAdded:connect(onPlayerEntered)
