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

Is there a way to run a function in a script from another script?

Asked by 7 years ago

I'm trying to get one local script to trigger a function in another local script, but it doesn't seem to be possible. If I want to run a function, I have to use another object's event to execute it. Is there a way that one script can directly cause another script to run a function?

0
http://wiki.roblox.com/index.php?title=API:Class/BindableEvent it works the same way as remote events except this is for script-> script not script -> server / client User#5423 17 — 7y

Answer this question