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

Mid-air jump (humanoid:ChangeState()) works only half the time?

Asked by 5 years ago

I have been making a double jump script, and it seems to work fine except when I fire this event:

script.Jump.OnServerEvent:Connect(function(play)
    print("Jumped")
    play.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end)

Jumped prints all the time, but sometimes it doesn't actually make me jump, is there a reason for this?

0
I believe the second argument to ChangeState is a boolean, set to true. I may be wrong User#19524 175 — 5y
0
sorry I read it wrong the first time Vulkarin 581 — 5y
0
I don't think it is, it works fine when I use studio play test (F5) but doesn't work if I use the server test (Test tab) Professor_Boxtrot 136 — 5y

Answer this question