#Cumulative damage numbers skipping

1 messages · Page 1 of 1 (latest)

serene gazelle
#
local stackReset = tick()
...
humanoid:GetPropertyChangedSignal("Health"):Connect(function()
...
    if tick() - stackReset >= 1.5 then
        damageStack = 0
        stackPart.BillboardGui.Enabled = false
    end```
this is practically guaranteed to always reset the first time, so maybe move this to the start of the function instead of the end so that the damagestack doesnt get reset immediately after you set it for the first time.
twin grotto
#

oh wow that did it, thank you! if it's not too much trouble why exactly does this cause it to bug like that?

serene gazelle
twin grotto
#

oh wait, new bug actually, now it doesn't ever reset

#

so the damage just adds up forever, even if you wait out the 1.5 seconds

serene gazelle
#

you probably forgot this stackReset = tick()

#

inside the event

twin grotto
#

mmm wait wait no I see what I did, my mistake

#

I had misunderstood what you meant and accidentally moved only stackReset = tick() to the top

rose grottoBOT
#

studio** You are now Level 1! **studio

twin grotto
#

not the whole thing, hi Mee6