function onTouched(hit)
if hit.Parent.Humanoid ~= nil then
for i = 1, 20 do
hit.Parent.Head.Size = hit.Parent.Head.Size + Vector3.new(0.5, 0.5, 0.5)
wait()
end
hit.Parent.Humanoid.Health = 0
end
end
The brick should make the player's head inflate and then kill the player. However, when I test it, nothing happens. There is no error in the output, but my guess is that I screwed up the function on line 1. Can anyone help?

1 comment
Oh, I feel stupid. Thanks!