Need help fixing an old gear

The Ilift gear is supposed to stop at a certain point but for some reason it goes on forever.
Ilift.rbxm (10.9 KB)
Ths is how it is


This is how its supposed to function