Hi I need help with a jump script please

E

EmerDev

Guest
I'm a complete noob to coding, And somehow i can't make a jump script for a multiplayer game of my. Can anyone give me a jump script please? That does not fly? Cuz my script can jump but idk how to stop flying.
on pressing space> it flies. release, it goes down again. i want it a limited jump. and touches ground again after reaching a hight.

Now now, I removed script cuz it didn't work. That's why i can't give it. Didn't think about it :(

Thank you who would try to help!
 

Slyddar

Member
When you capture the jump key you need to ensure you use keyboard_check_pressed(); so it only registers a single press.

Watch some tutorials like Shaun or Heartbeast and you'll be all good.
 
Top