Alright, I'm trying to make a tool that increases player jumppower when they equip it.
My script so far:
function i() local jump = script.Parent.Parent.Humanoid
jump.Jumppower =('') +5
end script.Parent.Equipped:connect(i) script.Parent.Unequipped:connect(pie)
local Tool = script.Parent Tool.Equipped:Connect(function() Tool.Parent.Humanoid.JumpPower = Tool.Parent.Humanoid.JumpPower + 10 end) -- Place into your tool.
I hope this works for you, tell me if it does.