I am new to Roblox coding and i need to run a script from a different script but I'm having trouble with it.
✓ ANSWER ACCEPTED
How do you run another script from a differnt script?
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.

3 comments
What I think is, use a normal script or a local script.
but i dont know the code to do it
Use bindable events to fire another script from one script here is a link https://www.youtube.com/watch?v=U143ae3wKpk