Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is my textbutton still responding to clicks?

Asked by 9 years ago

I want to stop people clicking on a TextButton and activating the script inside it, but when I set the active property to false people can still click on it and the script executes?

Anyone know how I can disable the button because changing .Active to false doesn't seem to be working :/

2 answers

Log in to vote
0
Answered by 9 years ago

Why do you need them to stop clicking the button? And can wee the script inside the button?

Ad
Log in to vote
0
Answered by 9 years ago

Use debounce or make an if statement which will stop the button press from happening.

http://wiki.roblox.com/index.php?title=Debounce

Answer this question