How to Increase animation speed using a float

Trying to add value to a float each time an animation plays, e.g. every time the run cycle plays the value increases and when the flat hits a certain value id like to trigger… a trigger.

how can I do this?

Select animation state, on the right side under the Speed, you will see multiplier, check the box, then select float parameter and add it to that multiplier. you can change that float through script: anim.SetFloat(“FloatName”, Speed);