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

How do I make these 2 scripts correspond with each other?

Asked by 11 years ago
1for i,v in pairs(game.Players:GetPlayers()) do
2    v:MoveTo(Vector3.new(75.4, 326.9, -469.7))
3end

I don't know how to make them work together.

1while true do
2wait(5)
3local m = math.random(1,4)
4local p = game.Players:GetPlayers()
5for i = 1, #p do

Answer this question