Need help with raycast hitbox

I need help fixing the hitbox provided by SwordPhin123 at Raycast Hitbox 4.01: For all your melee needs! it worked at first but after adding the ignore list for my character the hitbox will not hit any dummies or player any more it was only supposed to ignore my character so I do not understand why I can not hit anything else?

this is the script I need help with

local RS = game:GetService("ReplicatedStorage")
local RAYCAST_HITBOX = require(RS.RaycastHitboxV3)
local ignoreList = {MyCharacter}
local newHitbox = RAYCAST_HITBOX:Initialize(script.Parent, ignoreList)

newHitbox.OnHit:Connect(function(hit, humanoid)

		humanoid:TakeDamage(1)
	local sound = Instance.new("Sound")
	sound.SoundId = "rbxassetid://131237241"
	sound.Parent = script.Parent ---HERE
		game.Debris:AddItem(sound,0.5)
	sound:Play()
		print(hit.Parent)
end)
while true do
	newHitbox:HitStart()
	wait(3)
	newHitbox:HitStop()
end	

is character a valid variable ?

It’s in the script I must have clipped it out but yeah the part this script is inside of is parented to the right hand which is parented to the character local MyCharacter = script.Parent.Parent