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

Help in fixing teleport script?

Asked by 9 years ago

I have an teleport script but it would only teleport one player in the game but there would be multiple players in the server. Im not very familiar with the teleporting area of scripting. Does anyone know a script that would teleport multiple players instead of one?

wait(61) target = CFrame.new(18.285, 138.767, 715.62) for i, player in ipairs(game.Players:GetChildren()) do if player.Character and player.Character:FindFirstChild("Torso") then player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0) wait(131)
end end

0
That should work, but if you're waiting 131 seconds each loop it would take a very long time... Perci1 4988 — 9y

Answer this question