I'm currently making a FPS game and need your help. In the game It will be using CFrame animations and i'm currently working on the bullet damage and need help on how to do more damage if a limb or a head is detected
Here is my code for hit detection
if hitPart then
local hithumanoid = hitPart.Parent:FindFirstChild("Humanoid")
if hihumanoid then
hithumanoid:takedamage(30)
else
--CREATES A BULLETHOLE--
Unfortunately i can't seemto figure out how to make this work help is appreciated
Thanks

2 comments
btw fyi. you need remote events to make it damage the hithumanoid in server.
i know