i was making a hitbox and ran into a problem the dummys weren’t taking damage there was no errors are anything i think the hit box was welded? heres the snippet of code hope you guys can help
if Combo == 1 then
local HitBox = script:WaitForChild("HitBox"):Clone()
HitBox.Parent = Folder
local Weld = Instance.new("Weld",RightArm)
Weld.Part0 = RightArm
Weld.Part1 = HitBox
Weld.C0 = HitBox.CFrame:inverse() * RightArm.CFrame
HitBox.Touched:Connect(function(Hit)
if Hit.Parent ~= Player.Name then
local GetHum = Hit.Parent:FindFirstChild("Humanoid")
if GetHum then
Folder:Destroy()
GetHum:TakeDamage(5)
end
end
end)