How to use AttributeChangedSignal with same numbers

i have a listener to check when an attribute has been changed, problem is it doesnt fire if it gets changed to the same number it was before, is there a way to listen for when this happens?

Code:

print("set")
	hitChar:SetAttribute("Burn", duration)
	VFXModule.Burn(nil, nil, hitHrp, true)
	
	local changeCheck; changeCheck = hitChar:GetAttributeChangedSignal("Burn"):Connect(function()
		print("change")
		burning = false
		changeCheck:Disconnect()
	end)
	
	task.wait(duration)
	
	if not burning then
		return
	else
		changeCheck:Disconnect()
		burning = false
		hitChar:SetAttribute("Burn", nil)
		VFXModule.Burn(nil, nil, hitHrp, false)
	end

Probably not, use a RemoteEvent.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.