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?

3 comments

0

I believe the second argument to ChangeState is a boolean, set to true. I may be wrong

0

sorry I read it wrong the first time

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)