I am trying to make all the players teleport to one place in the map but it won't work.
teleport() = function
game.Workspace.players.Vector3 = Vector3.new(0,0,0)
end
teleport()
I am trying to make all the players teleport to one place in the map but it won't work.
teleport() = function
game.Workspace.players.Vector3 = Vector3.new(0,0,0)
end
teleport()
pos = Vector3.new(0,0,0) -- Moves the player to the position
teleport = function()
for i,player in pairs(game.Players:GetPlayers()) do
if player.Character then
player.Character:MoveTo(pos))
end
end
end
wait()
teleport ()
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
thx