RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"npc that jumps very high"
local humanoid = script.Parent local jumpPower = 100 function onKeyPress(actionName, userInputState, inputObject) if actionName == "Jump" and userInputState == Enum.UserInputState.Begin then humanoid:ChangeState("Jumping") humanoid.JumpPower = jumpPower end end humanoid.JumpPower = jumpPower humanoid.AutoRotate = true humanoid.AutoJumpEnabled = true game.ContextActionService:BindAction("Jump", onKeyPress, false, Enum.KeyCode.Space)