Is there anyway for this script to repeat this action constantly? Help would certainly be appreciated.
p1=game.Workspace.Part1
for i=1,5 do p1.CFrame=CFrame.new(i,1,0) wait(0.5)
end
Is there anyway for this script to repeat this action constantly? Help would certainly be appreciated.
p1=game.Workspace.Part1
for i=1,5 do p1.CFrame=CFrame.new(i,1,0) wait(0.5)
end
Of course, you'd simply drop that in a while loop.
p1=game.Workspace.Part1
while wait() do
for i=1,5 do
p1.CFrame=CFrame.new(i,1,0)
wait(0.5)
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.