Running by clicking button repeatdly

I want to do something like, when click ā€œxā€ launch character during 0.6s and after 0.6s too, i can click ā€œxā€ again to run, like this šŸ”± Lunia Ralph Global Solo Myth/Divino 6 - D6 FastFood (Lunia Global) - YouTube ā€œ18s to 20sā€ , foot by foot, 0.6s per foot at a loop.

I tried to change velocity, but in theory i want to put launch character, character cant go other axis, only can go on forward vector