so I made a part that will fly to y 100 and once it reaches there it should stop moving but it doesn't it just keeps going heres my script
function onClicked(mouse)
script.Parent.Fire.Enabled = true
wait(2)
script.Parent.Anchored = false
script.Parent.Parent.Fire1.Anchored = false
script.Parent.Parent.Fire2.Anchored = false
script.Parent.Parent.Fire3.Anchored = false
script.Parent.Parent.Fire4.Anchored = false
script.Parent.Parent.Fire5.Anchored = false
script.Parent.Parent.Fire6.Anchored = false
if script.Parent.Position.y >= 100 then
script.Parent.BodyVelocity:remove()
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
how do I make it stop at 100
