This is my changed version of PIGofDOOMs bouncing code I made it so that the character stops bouncing after set amount of time