Get player accessories from profile

Would

Local dummy = — your dummy  
Local Table = Player.Character:GetChildren() — returns a table of all the children of the character

for i = 0, #Table, 1 do 
      If Table[i].Classname = “Accessory” then 
      Table[i].Parent = DummyFolder
      end
end

Work???