Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do You Make This NPC Jump If He Is Walking?

Asked by 7 years ago

So I want this NPC to jump when he is walking, but he doesn't jump when he stands in one spot. Do you have any ideas to make this happen? Thanks!

while true do   
    script.Parent.Humanoid.Jump = true
    wait(0.03125)
end
0
Maybe it's too fast of a wait to process the jump; try changing the wait to a high number. SpazzMan502 133 — 7y
0
The jumping wait time is not the problem, the problem is that I want the NPC to jump when he is walking, but not jump when he is standing still. GatitosMansion 187 — 7y

Answer this question