How would i make a timed loop that loops every 10 milliseconds using a timer?