This is the damage script inside of the punch.
script.Parent.Touched:Connect(function(hit) local char = hit.Parent local hum = char:FindFirstChild("Humanoid") if hum and char.Name ~= script.Parent.Parent.Name then hum.Health = hum.Health - 10 script.Disabled = true wait(1.4) script.Disabled = false end end)
Use this script:
script.Parent.Touched:Connect(function(hit) local char = hit.Parent local hum = char:FindFirstChild("Humanoid") if hum and char.Name ~= script.Parent.Parent.Name then local m = math.random(1,30) hum.Health = hum.Health - m script.Disabled = true wait(1.4) script.Disabled = false end end)
Closed as Too Broad by User#24403
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?