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 10 years ago
for i,v in pairs(game.Players:GetPlayers()) do
    v:MoveTo(Vector3.new(75.4, 326.9, -469.7))
end

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

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

Answer this question