Ok, I have made a script to make script.parent go up then in ten seconds go down. I dont know why, but what it does is it goes up, then goes up again without going down.... Help please
while true do
wait()
for i= 1, 50 do
script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,0.28,0)
wait()
end
wait(10)
for i= 1, 50 do
script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,-0.28,0)
wait()
end
end``

3 comments
Having the Y value in line 6 as a negative value makes it go up, and same if it's a positive value?
Line 9 not 6 sorry**
Apparently it does. I have no idea what to do.