Im trying to make a kind of simulator where you get strenght by clicking on the screen while a tool is equipped. i have made a leaderstats script and it works as its supposed to. the error says it's on line 12 -Players.seikkatsu.Backpack.Saber.Saber equipped script:12: attempt to perform arithmetic on field 'Strenght' (a userdata value)
------------------< variables >----------------
local uis = game:GetService("UserInputService")
local saber = script.Parent
local p = game.Players.LocalPlayer
local l = p.leaderstats
------------------< code >---------------------
saber.Equipped:Connect(function(hm)
uis.InputBegan:Connect(function(input1)
local mouse1 = input1.UserInputType
if mouse1 == Enum.UserInputType.MouseButton1 then
print("equipped")
l.Strenght = l.Strenght + 5
end
end)
end)
any help would be apriciated thanks

2 comments
ok so i don't understand line 17. when you say equipped you mean that the equipped variable is true am i right?
nevermind i got it, thank you