I don't know why, but this script only makes it for one hat, not all.
function hatsframe() local hats = char:GetChildren()
for i, v in pairs(hats) do if v:isA("Accessory") then local a = Instance.new("TextButton") a.Text = v.Name a.Parent = script.Parent end end
can someone please help me??
the script was inside lots of functions don't mind the ends
You might want to change the position of the buttons
like Button.Position = UDim2.new(0,0,0,(Button.Size.X.Offset * i) + 5 )
Because as of now, you can only see one button, as the buttons are overlapping each other.