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
2 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 — 2y
0
oh sorry OFF_S4LE 127 — 2y
0
use bindable events not remotevents/functions JesseSong 3916 — 2y

2 answers

Log in to vote
1
Answered by
Oxprem 140
2 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 — 2y
Ad
Log in to vote
0
Answered by 2 years ago
Edited 2 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