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

What is wrong with this script?

Asked by
Reverge -1
11 years ago
1while true do
2wait(2)
3for i = 1,2 then
4script.Parent.Position = Vector3.new(0, i, 0)
5wait()
6end

2 answers

Log in to vote
1
Answered by
Damo999 182
11 years ago
1--You have
2for i = 1,2 then
3 
4--it's actually
5for i = 1,2 do
Ad
Log in to vote
1
Answered by 11 years ago

You also need to put another end I believe.

Answer this question