So I've tried multiple ways to mess around with onTouch and finding the humanoid, but I wasn't quite able to make a kill brick that only kills a player if it touches their head. When attempting and asking people, they've told me I was way off. Could someone please help me out?
Hey Supergamerboy1995,
.Touched
event, and the parameter of that event is the part that touched. Then, you check if the part's name is "Head" Well, it's easier to show rather than just talk about it, so here is my script, I'll explain it line by line.local part = script.Parent; -- The part that will be touched. part.Touched:Connect(function(obj) -- The anonymous function for the touch. local hum = obj.Parent:FindFirstChild("Humanoid"); -- The humanoid that could be found in the part's parent. if obj.Name == "Head" and hum then -- Checks if the name is "Head" and checks if the humanoid exists. -- Kill player end -- end for if statement end) -- end for function