Here is my script:
while true do
wait(math.random(2.5, 8.5))
while not script.Parent.Position.Y == 53.5 do
script.Parent.Position = Vector3.new(script.Parent.Position.X, script.Parent.Position.Y + 0.5, script.Parent.Position.Z)
end
wait(math.random(2.5, 8.5))
while not script.Parent.Position.Y == 28.5 do
script.Parent.Position = Vector3.new(script.Parent.Position.X, script.Parent.Position.Y - 0.5, script.Parent.Position.Z)
end
end
Please fix it.

1 comment
Do not only post code, or only post an explanation. Both are required to make a good question.