I did try to experiment with Coyote Time and jumps where you could control the height but after noticing I couldn't reliably check the grounded state I switched back to the provided script and added a label to show the state of is_on_floor()
I guess I should learn raycasts