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

How do I make one script, execute another script? (help or bad)

Asked by
OFF_S4LE 127
3 years ago

So basically, I want to make it so a script chooses a random game mode, then depending on the game mode is fires another script

0
Provide more information (your script). Also, scriptinghelpers shouldnt be the first page to come to when youre stuck, try searching on the official dev forum first WoTrox 345 — 3y
0
oh sorry OFF_S4LE 127 — 3y
0
use bindable events not remotevents/functions JesseSong 3916 — 3y

2 answers

Log in to vote
1
Answered by
Oxprem 140
3 years ago

You could use RemoteEvents to achieve this. Heres a helpful tutorial about them: Click here

0
Nah I think the person that is asking about communication between script and script. Using bindable events can achieve that. Remote events are for communication between Server to client, client to server or server to clients. https://developer.roblox.com/en-us/api-reference/class/BindableEvent MarkedTomato 810 — 3y
Ad
Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

Module Scripts can be fired to some extent. This might help doing what you are attempting

I hope this helped!

Answer this question