print("Beginning")
local BA = script.Parent.AccessoriesEquipped:WaitForChild("Back")
local FA = script.Parent.AccessoriesEquipped:WaitForChild("Front")
local HA = script.Parent.AccessoriesEquipped:WaitForChild("Hat")
local FAA = script.Parent.AccessoriesEquipped:WaitForChild("Face")
local SA = script.Parent.AccessoriesEquipped:WaitForChild("Special")
local FEA = script.Parent.AccessoriesEquipped:WaitForChild("Feet")
local player = game.Players:WaitForChild(script.Parent.Name)
while true do
    if BA.Value == "" then
        
    else
        print("doof")
        local stuff = script.Parent.Accessories:GetChildren()
          for i,v in pairs(stuff) do
          if v.Name == BA.Value then
          v.Transparency = 0
          v.CanCollide = false
          else
          print("uwu")
    v:Destroy()
        end
end
wait(0.00000001)
end

i tried this, but nothing works! please help

2 comments

0

plus the prints dont do anything

0

did you have a back accessoriesequipped value equipped? if yes then remove it and see if it works. Also put prints in the if BA.Value == "" then if statement.