The killbrick gives the error attempt to index local 'humanoid' (a nil value), what did I do wrong?
function onTouch(hit)
local humanoid = script.Parent.Parent:FindFirstChild("Humanoid")
humanoid.Health = 0
end
script.Parent.Touched:Connect(onTouch)

2 comments
lol you didn't even look through it good. You're gonna need hit.Parent:FindFirstChild(), not script.Parent.
Oh damnit... yep, my bad. My fault for assuming there's only ever one problem xD