So I've been trying to make a script so when the player jumps it stops them from jumping.

(Server Script)

Here are the scripts I tried:

game.Players.PlayerAdded:Connect(function(plr)
	local char = plr.Character
	local hum = char.Humanoid
	if hum.Jump == true then
		hum.Jump = false
	end
end)
game.Players.PlayerAdded:Connect(function(plr)
	local char = plr.Character
	local hum = char.Humanoid
      hum.Jump(function(jump)
           hum.Jump = false
      end)
end)

Please can someone give me a few hints to fix this.