How can I make a script for every time I jump, my jump power increases?
Hello Rafaesisimo, I Will Tell You How. There are two steps. First, Go To StarterPlayer Then, Scroll down and find jump power. After that you can change the field of view walk speed jump power and other stuff like that. But We are doing jump power when your done click on jump power and select it the normal jump speed is 50 set to 0 if you don't want the player to jump below fifty is little jump power If you want it to jump higher set over than 50. After this you should be able to jump high if you test the game. If this feedback/Answer was helpful then thank you for your time! If it wasn't id recommend watching an tutorial. Thank you for your time!
Hiya,
To detect when a player jumps, you can use
humanoid.Jumping:Connect(function(isActive) print("Jumping: ", isActive) end)
to see if the player is actively jumping, if isActive is set to true the player is jumping. Checking the isActive boolean in an if statement, you can add x to the player's jumppower,
like:
-- Make sure the humanoid is using JumpPower! humanoid.UseJumpPower = true -- edit added ^ thanks BuildAboatTest124 humanoid.Jumping:Connect(function(isActive) if isActive then humanoid.JumpPower += 5 print("I have added 5 JumpPower to the player!") end end)
Any questions? Don't be afraid to leave a comment. :D
Links and Referrals:
https://developer.roblox.com/en-us/api-reference/event/Humanoid/Jumping