Gui slider bugging

Im trying to make a slider for a game and it’s bugging real bad

This is what it looks like
image

This is the code that changed the slider’s position:

Problem: In the first image as you can see, I have to move my mouse all the way over there for the slider to finish

what am i doing wrong?

1 Like