How can I prevent this?

I made this transition, but if I click the shop Gui while the other Guis are tweening the arrows will sometimes be out of place, how can I prevent this?

robloxapp-20200827-1219252.wmv (857.0 KB)

Disable the button until tween finish

1 Like

You mean I make a debounce or a value?

no you can disable scripts, theres a property in scripts called disabled, you can enable or disable it with a script or in properties, if you use it in the script you tween with you can enable it after the tween is finished

1 Like

You can chek when the tween finished with this funtion. What you can do is make the button unselectable until the tween finish.

1 Like

She doesn’t have to disable all the script to do this.