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
10 years ago
while true do
wait(2)
for i = 1,2 then
script.Parent.Position = Vector3.new(0, i, 0)
wait()
end

2 answers

Log in to vote
1
Answered by
Damo999 182
10 years ago
--You have 
for i = 1,2 then 

--it's actually 
for i = 1,2 do

Ad
Log in to vote
1
Answered by 10 years ago

You also need to put another end I believe.

Answer this question