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

How to execute server script from local script?

Asked by 5 years ago

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?

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

2 answers

Log in to vote
0
Answered by 5 years ago

Remote events

0
Thanks, but now script is executed for all the players in the game. How to fix? Stephirio 7 — 5y
0
you put the event inside the tool or the player that is executing it Nogalo 148 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

Thanks, but now script is executed for all the players in the game. How to fix?

Answer this question