Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Damage on touch?

I need a script that gives a part damage value, when it hits a player

1 answer

✓ Accepted answer
script.Parent.Touched:connect(function(hit)
	pcall(function()
		hit.Parent.Humanoid:TakeDamage(5)
	end)
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.