I'm doing a shop system. I'm new to roblox development. How can I execute a server script from the button's local script?
COMMUNITY QUESTION
How to execute server script from local script?
2 answers
Remote events
2 comments
0
Thanks, but now script is executed for all the players in the game. How to fix?
0
you put the event inside the tool or the player that is executing it
Thanks, but now script is executed for all the players in the game. How to fix?
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You would need to use remote functions/events --> https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events