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 ()