Simple Script Not Working

Hello! :smiley_cat:
So I was making a very simple script that actually always worked back then… I tried it now and the JumpPower part of the script does not work, only the WalkSpeed… What happened? How do I make the entire script work. FYI, nothing is displayed in the output.
Here is the code I tried:

script.Parent.Touched:Connect(function(part)
	if part.Parent:FindFirstChild("Humanoid") then
		part.Parent.Humanoid.WalkSpeed = 100
		part.Parent.Humanoid.JumpPower = 0
	end
end)

Roblox updated Humanoids. Try this:

script.Parent.Touched:Connect(function(part)
	if part.Parent:FindFirstChild("Humanoid") then
		part.Parent.Humanoid.WalkSpeed = 100
		part.Parent.Humanoid.UseJumpPower = true
		part.Parent.Humanoid.JumpPower = 0
	end
end)

check if either the part or the script properties archivable if its false
if it is false then turn it true

Use this instead:
script.Parent.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild(“Humanoid”)
hum.WalkSpeed = 1
hum.JumpPower = 69

end)