#How do I fix a duplicating UI every time I disable the script and reenabling it?
12 messages · Page 1 of 1 (latest)
It didn't work
show code
** You are now Level 3! **
damn, didn’t expect the code to be 120 lines long
i’m on mobile, so i can’t read all that rn
disabling a script is going to stop the code inside of it running, most likely including the code that's supposed to run when the script is disabled.
solution seems pretty obvious. don't disable the script, instead make it enter a different kind of enabled/disabled state without actually disabling the script itself. this will also stop clones being made.
Perhaps we just make another script inside of the script?