Greetings,
Can someone please help me with this error, I am new to bindable events and I am not sure what I have mistaken. Thanks. Code and error are shown down below.

Greetings,
Can someone please help me with this error, I am new to bindable events and I am not sure what I have mistaken. Thanks. Code and error are shown down below.
businesses.ChildAdded:Connect(function(Child)
-- Code here
end)
This will run whenever something is added to the inside of businesses. This can be any instance.
You aren’t using events correctly
businesses.ChildAdded:Connect(function(Child)
if Child.Name == "Business1Bought" then
print("Successful event received! Business1Bought")
end
end)
Ok, thanks, this fixed the error, but when the event gets added in my folder it doesn’t work until I add it a second time, third time etc. (It’s a button that takes 50 cash and then gives them the business, but even though the event is added, it doesn’t work until the button is pressed a second time and the event is added again and it takes 50 cash again.)