bounce = true while true do wait(1) if bounce == true then bounce = false for i = 0, 100, 1 do wait(0.1) script.Parent.Rotation = script.Parent.Rotation + Vector3.new(0, 1, 0) if i == 100 then for i = 0, 100, 1 do script.Parent.Rotation = script.Parent.Rotation + Vector3.new(0, -1, 0) if i == 100 then bounce = true end end end end end end
trying to make something rotate in a 2016 studio client.
I get the error:
21:24:32.940 - Workspace.Money.SpinScript:7: 'then' expected near 'end'
I have no idea why this is happening
only thing i can think off is upgrade ure studio to last version.
there is no error in the script as i can see.
The problem is, your studio version, why are you on 2016 studio client, upgrade for the better, you're just playing yourself