local function OnTouched(otherPart)
print(otherPart)
if otherPart.Parent:findFirstChild("Humanoid") and CanTouch == true and otherPart.Parent:FindFirstChild("StickyBombValue").Value < 4 then
if Rocket and otherPart then
if IGNORE_LIST[string.lower(otherPart.Name)] then
return
end
Rocket.Anchored = true
StickyBombBombMesh.Anchored = true
Rocket.CanCollide = false
CanTouch = false
end
end
end
Rocket.Touched:connect(OnTouched)
This is part of my sticky bomb script and it works perfect if the bomb hits an enemy's legs. I've confirmed that it doesn't run the function at all if it hits an enemy's torso. (It doesn't print anything) I'm not sure how changing the script could help if it doesn't register touch with torso parts. I'm stumped with this one.

3 comments
findFirstChild and connect are deprecated, use FindFirstChild and Connect.
Thank you for catching those. I forget about deprecated terms a lot. Unfortunately, my issue is still happening. It just doesn't make sense because the bomb activates when it hits an arm or leg, but it never registers the touch if the bomb hits the head or torso. I'll remake the bomb's code entirely because I have no ideas for further trouble shooting.
I just found out my problem! The torso and head parts have can collide forced by Roblox. In my script, "Rocket" was the HumanoidRootPart (the center of my bomb model) of the model, so it only registered touches when it went through a part (like the arms and legs). All I had to do was make another variable for the whole mesh instead of just the HumanoidRootPart and it works just fine.