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 4 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 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

Remote events

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

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

Answer this question