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

How can you connect other scripts to each other?

Asked by 4 years ago
Edited 4 years ago

I want to make a script that transfers its variables to another script. I've heard of remote events and remote functions but they only transfer from client to server or server to client, but not server to another server script. Any suggestions?

2 answers

Log in to vote
0
Answered by
pingsock 111
4 years ago
Edited 4 years ago

Using value instances will be your best bet, this is to share data across multiple scripts. You can also use Remote Events, which can be fired from a localscript, effecting the server in whichever way you want it to.

Ad
Log in to vote
0
Answered by 4 years ago

You can also use _G variables.

Answer this question