Hello this is my first post in this forum! 
oh and also im terrible at English grammar, spelling and etc… 
So im trying to achieve that when player touches npc’s head, the player dies but that does not happen…
That script worked only 1-2 times and then stops working and i think its problem about npc’s head because in my other game that worked perfectly fine so i don’t know what to do 
this is my script:
local function onTouch(Touch)
if Touch.Parent:FindFirstChild("Humanoid") ~= nil then
Touch.Parent.Humanoid:TakeDamage(100)
end
end
script.Parent.HumanoidRootPart.Touched:Connect(onTouch)
script.Parent.Head.Touched:Connect(onTouch)
(when players touches HumanoidRootPart it does kill player)
so i dont know really do i put this in #help-and-feedback:building-support or #help-and-feedback:scripting-support
now i tried watching some tutorials and it had same problem…
oh btw, im terrible at scripting lol
and thats it. please help if you can.
