I want to make code related to jump but what is good method to link jump key?

should i use UserInputService or something else

1 Like

You could use Humanoid.Jumping

okay i will try that but what i want is when player hold jump key it jump higher how do i detect if player is holding jump key with humanoid.jumping

You could use that and UserInputServicr:IsKeyDown() to see how long the player holds it

1 Like

game:GetService("UserInputService").JumpRequest:Connect(function()

This function works on every platform

okay cool i will try that part