How would I go about keeping track of how long ago a slow or speed boost was added to the player.
For example if I slow the player after getting hit with an ice ability, I need it to remove the slow after 2 seconds but its stacking so it only needs to remove the first hit.
Or if a slow and speed boost are both applied at the same time but the speed boost runs out first, the player needs to be slowed instead of clearing all speed modifiers.