Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you run another script from a differnt script?

I am new to Roblox coding and i need to run a script from a different script but I'm having trouble with it.

3 comments

0

What I think is, use a normal script or a local script.

0

but i dont know the code to do it

0

Use bindable events to fire another script from one script here is a link https://www.youtube.com/watch?v=U143ae3wKpk

1 answer

✓ Accepted answer

There are many ways to do this depending on what you want to achieve. If you wanna communicate between two local scripts then you should use Bindable Events/Functions. Now if you want to communicate between local and server scripts then you should use Remote Events/Functions. On the other hand Module Scripts can be used to run functions and they will run locally or on the server depending on where you required it from.

This discussion is preserved as it was. New answers, comments, and votes are closed.