Is there any way to check if a function is already assigned to .OnInvoke of a BindableFunction? I have a case where if there is no function, I need the script to just move on, but as far as I can see there’s no way of checking. If I call :Invoke(), then it just yields which I don’t want it to.
Can’t you remember beforehand if a function was bound? That’s always possible.
If you have to, upon setting the callback, add or change a BoolValue or something under the BindableFunction which would indicate that a function has been bound.
I thought of doing that, and yeah that would work but seems like something that should be information we can retrieve from BindableFunctions.
Well, you can’t. .OnInvoke is set-only.