So I got this free model punching tool which does damage without clicking and just touching.
here's the script. the script is a regular, not a local.
script:
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") -- this can be changed im only using this for the R6 body type
local rarm = char:WaitForChild("Right Arm") -- this can be changed im only using this for the R6 body type
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(10) -- u can change this value
wait(.5)
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(10) -- u can change this value
wait(.5)
canattack.Value = false
end
end
end)
And please tell instructions since last time I didn't get it.

1 comment
wait a minute it's a FREE MODEL?