How to increase a float value over time

Use a Timer.