When I touch a killbrick it doesn't kill me

I don’t know why but when I touch the killbrick it doesn’t kill me

type or paste code here
```script.Parent.Touched:Connect(function(hit) -- this script will run if the player touches the KillBrick
	if hit.Parent:FindFirstChild("Humaniod") then -- finds a humaniod
		hit.Parent.Humaniod.Health = 0 -- sets player health to 0
	end
end)
1 Like

You made a typo. It is Humanoid, not Humaniod.

3 Likes

@ProgrammingRottie Thanks for helping me

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.