How do I make this Jump Cooldown script not apply when the player is seated in a Seat?

How do I make this Jump Cooldown script not apply when the player is seated in a Seat?
Thanks!

local jumpCooldown = 1.5


local UserInputService = game:GetService('UserInputService')

local plr = game.Players.LocalPlayer
local Jumped = false

UserInputService.JumpRequest:Connect(function()
	local char = plr.Character
	if not Jumped then
		if char.Humanoid.FloorMaterial == Enum.Material.Air then return end
		Jumped = true
		char.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
		task.wait(jumpCooldown)
		Jumped = false
	else
		char.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
	end
end)
3 Likes
if Humanoid.Sit == true then
    print("humanoid is sitting")
else
    Cooldown = true
end

Humanoid has a .Sit property that shows whether the character is sitting or not

3 Likes