What do you want to achieve? Keep it simple and clear!
Hello.
I want to make a script fire another script and then wait for the script to give information and then continue.
What is the issue? Include screenshots / videos if possible!
The roblox API doesnt explain how to do this…
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes, searched half of google for an answer.
BindableFunction.OnInvoke = yourFunctionHere in the receiving script. Make sure the function returns. local whateverItReturns = BindableFunction:Invoke(args) in the script waiting for information.
I found this in about 15 seconds by reading the wiki, along with code samples, so I’m not sure how well you searched.
The API reference explains this very clearly, but to summarise BindableFunctions act like RemoteRunctions but can only communicate between scripts of the same scope, e.g. Scripts to Scripts, Local Scripts to Local Scripts.
BindableFunctions can be rigged to return a value, again refer to the API reference.