Hey Everyone!
I’ve created a 2x Walkspeed Pass but need a way to create a gui to disable the pass perks when you don’t want the speed.
Currently, the script that handles the 2x Walkspeed is located in ServerScriptService. I need a hand creating a GUI that will disable that script on click, and re-enable when clicked again.
Any code would help! I’ve been having trouble finding tutorials on YouTube.
Thanks!
You would use a remote event, so that when the gui is clicked, it fires the remote event to the server.
Once the server gets that event, it can check to see if you have permission to perform the click or not, then it can enable or disable the server script.