Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

All Players teleport to a brick?

Asked by 9 years ago

How would I make a script that teleport all players in the game to a brick?

1 answer

Log in to vote
0
Answered by
wazap 100
9 years ago
local brick = workspace.BrickYouWantNoobsToTeleportToLikeYou
for i, v in pairs(game.Players:GetPlayers())do
pcall(function()
v.Character:MoveTo(brick.Position)
end)
end
Ad

Answer this question