-
What do you want to achieve? Keep it simple and clear!
So basically i’m making an tycoon and using an bindable event in tycoon module using self -
What is the issue? Include screenshots / videos if possible!
for some reason while i’m getting when event is fired it says:
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub? I was making this by youtube video and it should work.
Here is part of code(in case other part of code is not connected with event)
self._topicEvent = Instance.new("BindableEvent")
...
function Tycoon:SubscribeTopic(topicName, callback)
local connection = self._topicEvent.Event:Connect(function(name, ...) -- here is error
if name == topicName then
callback(...)
end
end)
return connection
end