How do make a npc that jumps up and down?

Hi
I am new to scripting and can you guy help me make an npc that jumps?

2 Likes

Humanoid.Jump

1 Like
local function NPCJump(NPC)
    local humanoidNPC = NPC.Humanoid
    if humanoidNPC then
        humanoidNPC.Jump = true
    end
end
1 Like