How would I do this without using a local script?
I know it’s a stupid question but I need to know.
Thanks
How would I do this without using a local script?
I know it’s a stupid question but I need to know.
Thanks
Putting a normal script in a GUI element, (example, TextButton) still allows you to use the same function to call on the button being clicked, however you need other ways to figure out the player.
You could use a LocalScript and a RemoteEvent to know when a player clicked a GuiButton.
Yeah that’s what I’m trying to find on how to find that player.
I will give this a try, hopefully it doesn’t cause issues if the button is spammed or if there’s multiple buttons?
You can add a debounce on the server and check if the button was clicked recently.