hello everyone,
so i have two variables respectively named StaminaLossPerSec
and CurrentStamina
i want CurrentStamina
to decrease per second based on StaminaLossPerSec
is that possible? i was thinking of doing math.max(0, CurrentStamina - StaminaLossPerSec * deltaTime)
(all of this in PreRender)