How would I add jump power to a player if they hold down their jump key for x amount of seconds?
Here is an example, Player A holds down their jump key for 5 seconds. After 5 seconds, they release it, they jump, and their jump power gets multiplied by 1.5 since they held it down.
how would I do this?
I tried using the KeyPress hook and LocalPlayer():KeyDown(IN_JUMP) but it didnt work.
any help would be appreciated, thanks.