Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How do you run another script from a differnt script?

Asked by 2 days ago

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

0
What I think is, use a normal script or a local script. CedCed6 30 — 2d
0
but i dont know the code to do it thedemonninja12 0 — 2d
0
Use bindable events to fire another script from one script here is a link https://www.youtube.com/watch?v=U143ae3wKpk mikey2019d 43 — 2d

1 answer

Log in to vote
0
Answered by 2 days ago

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.

Ad

Answer this question