ok so im trying to make the damage be the value of the strength but times 2 i think i did something wrong (The Strength thing is a Number value)
local tool = script.Parent local hitsound = tool:WaitForChild("Hit") local canattack = tool:WaitForChild("CanAttack") local plr = tool.Parent.Parent local char = plr.Character or plr.CharacterAdded:wait() local larm = char:WaitForChild("Left Arm") local rarm = char:WaitForChild("Right Arm") local STR = plr:FindFirstChild("Strenght").Value larm.Touched:connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid") if canattack.Value == false then if hum then canattack.Value = true hitsound:Play() hum:TakeDamage(STR.Value*2) wait() canattack.Value = false end end end) rarm.Touched:connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid") if canattack.Value == false then if hum then canattack.Value = true hitsound:Play() hum:TakeDamage(STR.Value*2) wait() canattack.Value = false end end end)