Example:
function Died()
script.Parent.SwordName.Value:Destroy() -- a sword gets cloned into npc from value, value has the sword's name so how do u destroy the sword checking the value with the script ????? im so confuuused
end
script.Parent.Human.Died:connect(Died)
My other script clones the sword into the npc from a value, but i want this when he dies the script checks the value's name and according to that value's name the script should remove the sword from the value's name. HOW I DO DAT ???

1 comment
Try :FindFirstChild("name").