Sorry for unclear question but, I am trying to make something where it detects if its been touched by a tool
script.Parent.Touched:Connect(function(Hit)
if Hit.Parent.Name == '(name)' then
end
end)
but after it hits it, I want it to plus a value, and after the value reaches 20, it doesn't plus it anymore, anybody able to help?

1 comment
use val += val2