I'm no good at action games using a keyboard. 360 controller input takes me to your code. "flr = math.floor....."