How can i make the player not able to jump and not trigger the Humanoid.Jump boolean

im just wondering how i can make the player not able to jump while also not activating the jump boolean in the humanoid
RobloxStudioBeta_bMVX1LMHRl

1 Like

Take a look at hum:SetStateEnabled

humanoid:GetPropertyChangedSignal("Jump"):Connect(function()
	if humanoid.Jump then
		humanoid.Jump = false
	end
end)

hum:SetStateEnabled still triggers Humanoid.Jump boolean

It looks fine in the output* but is triggering Humanoid:GetPropertyChangedSignal(“Jump”):Connect(function()
Is there any work arounds to this i could probably do?

local function dj(actionName, inputState, inputObject)
	return Enum.ContextActionResult.Sink
end
game:GetService("ContextActionService"):BindAction("DisableJump", dj, false, Enum.KeyCode.Space)

1 Like

Looks like that worked pretty good , thanks for the help

1 Like