Hi I am struggling to make the Jump height increase when the The tool is equipped, any ideas on how this could be fixed?:
local Tool = script.Parent
local Jump = 150
local NormJump = 50
Tool.Equipped:Connect(function()
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.JumpPower = Jump
end
end)
Tool.Unequipped:Connect(function()
local humanoid = Tool.Parent.Parent.Character:FindFirstChild("Humanoid")
if humanoid then
humanoid.JumpPower = NormJump
end
end)
Thanks for helping (if you are helping)

1 comment
Script or LocalScript?