Untitled
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
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)