#Is there any property that can disable the button if the player doesnt have the requirements?

1 messages · Page 1 of 1 (latest)

slow oriole
#

please help, i was struggling with it for 3 days already and i need that if the player does have the requirement then pressing on the button will give smth, and if the player doesnt has the req, then it will ignore his clicks. Is there any property to do so?

frozen coral
#

Add a script, code in your requirements there. If a player presses the button, make it fire a StatCheck event make sure its just checking not changing data for exploit reasons. Then if the conditions are met proceed with the logic otherwise halt it.

Simple stuff you can learn, if you can't understand that. Maybe your cooked for game dev