Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

2 comments

0

Thank you so much

0

mark it as correct if it is the answer @nrrowes

This discussion is preserved as it was. New answers, comments, and votes are closed.