I’m using connection in order to stop them from firing continously, but doing :Disconnect() just leads to “attempt to index nil with Disconnect”. These are inside an event as well, so that’s why I’m trying to disconnect them.
I’m not sure why the connections is defining as nil even if I already connected to a function. the functions also works fine too. anyone have a solution or perhaps another solution to this? thanks!
I’m not sure what signal:OnEvent is. Is it some sort of module you are using?
In any case, it is not returning an event that you can call :Disconnect() on.
If you provide more information regarding the signal, I may be able to help you more.
You’re using Roblox’ normal disconnect, though. So you’re trying to disconnect something which you never connected, because it’s not using Roblox’ connectors