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

How do i grab all the players and teleport them in round based games?

Asked by 3 years ago

I have tried to watch youtube about it and look at the object browser but the youtube video doesn't work and the object browser is too complicated.

1 answer

Log in to vote
0
Answered by 3 years ago
Players = game:GetService("Players")


For _,player in pairs(Players:GetPlayers())
do
target = YourPart.CFrame
if (player.Character or player.CharacterAdded:Wait()) and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = target
end
end
0
Thank you so much nrrowes 5 — 3y
0
mark it as correct if it is the answer @nrrowes TickoGrey 116 — 3y
Ad

Answer this question