How to force player to jump using lua

Dodobee

Avid Among us enjoyer
I want the player to jump basically whenever they touch the ground so I need a function or something that forces the player to jump.
 
Not sure if I'm doing something wrong but it doesn't work. I wrote P_DoJump(player.mo, true) but its not working
 
Thanks, it worked but the jumps pretty low so I tried just increasing the player's jump factor but it started going crazy, is there any other way to make the jump higher? (sorry for bugging you btw)
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top