could i get some help my bois

In my game All the Little Things ( there is a thing I’m trying to do where you jump once and its normal, jump twice and its a bit higher, then the third time is a lot higher. like in the 3d Mario games. the problem is that it doesn’t work right while I’m running. please help.

I should clarify that it works while I’m standing still, but only sometimes works when I’m running

Try using a raycast instead of a collision

thanks, that actually really helped