How to make GUI repeat animation again

So i am trying to make it so when you click a button a GUI slides past the screen, and you can click that button as many times as you want and it repeats that sliding effect. It works when i first click the button, but after that they all glitch and they don’t work again. Anyone know how to fix it?



image

try adding a one second wait inbetween the tween and the position reset because im not sure if the script will wait until the tween is complete to move on in the script.

It lets me redo it smoothly which is good, but after the animation it just stays here for some reason

Also the other ones don’t stay there in the corner, just the orange one

are they all the same exact size? because if not it could be to do with where you reset the position to.

Yes they are all the exact same size and position

just try having the reset position as a bit further of the screen (so a change in the x axis respectively)

Ah yes that fixed it, it doesn’t appear in the corner anymore. thanks!

anytime friend it was a pleasure :+1:

1 Like