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

why is the character not jumping???? e

Asked by 4 years ago

come on, you read the title.

local part = script.Parent

part.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then print("jumped")
        hit.Parent.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

1 answer

Log in to vote
1
Answered by
Zeuxulaz 148
4 years ago
hit.Parent.Humanoid.Jump = true
0
:D Zeuxulaz 148 — 4y
Ad

Answer this question