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

How to replicate a local script to the server?

Asked by 5 years ago

Okay so I've been working on this tool that's run by a local script. I didn't really know about server replication and yadda yadda. The script only works on the character that's using it's screen. How can I fix it?

0
Remote events User#19524 175 — 5y

1 answer

Log in to vote
0
Answered by
chomboghai 2044 Moderation Voter Community Moderator
5 years ago

LocalScripts have the word local because they can only be run on the client. There is no way to run them on the server. However, you can have a Script that listens for events on the server from the LocalScript, which can fire events from the client. This can all be done using RemoteEvents.

With a quick google search or two, you can master remote events. Here's a link to the wiki for it.

Hope this helps! :)

Ad

Answer this question