Untitled

mail@pastecode.io avatar
unknown
lua
a month ago
212 B
2
Indexable
Never
local function onTouch(hit)
	local character = hit.Parent
	local humanoid = character:FindFirstChild("Humanoid")
	
	if humanoid then
		humanoid.Health = 0
	end
end

script.Parent.Touched:Connect(onTouch)
Leave a Comment