I’m having an issue with Sleitnick’s goodsignal modulescript. I am using it in my statemanage module and there I have this function:
function manage.GetStateChangedSignal(Character: Model, State: string)
local PlayerData = manage.PlayerData[Character]
if not PlayerData then return end
end
Same as :GetAttributeChangedSignal(attribute: string):Connect(function())
I want this to get fired only if the state in the function parameters matches the signal’s state changed.