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

How do i make it tp players after the timer runs out? [closed]

Asked by 7 years ago
--darmantinjr

while true do
    wait(1)
    if game.StarterGui.Intermission.Backround.Time.Text == "Beginning" then
        target = CFrame.new(0, 50, 0) 
for i, player in ipairs(game.Players:GetChildren()) do
   if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
      player.Character.HumanoidRootPart.CFrame = target + Vector3.new(0, i * 5, 0)
   end
end

    end
end

Still not working

Closed as Not Constructive by OldPalHappy

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?