function onPlayerEntered(x)x.Chatted:connect(function(g)if g=="\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,x)if x.Character~=nil then x.Character:remove()end end end)end game.Players.PlayerAdded:connect(onPlayerEntered)


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)
