BindableFunction Error

Event() or just Event? Thank you so much, I am checking now.

Just Event.

Example:

script.addSongs.Event:Connect(function()
end)

Oh and one more thing, place the PlayerAdded event code before calling the addSongs() and playSong().

Got it. I recommend changing the tutorial as well.

Still not done checking though. Don’t update it yet.

This is very simple, for functions you need to do this.

bindable.OnInvoke = function test()

end

That worked! It’s working well and commands work as well. Thank you all!

2 Likes

Can you mark my post as the solution?

That wasn’t the solution, I had to convert from BindableFunctions to BindableEvents.

Okay, mark that as the solution. When using remote functions or bindable functions you have to write the functions like that.