IDK how your system works, so it’s up to you.
Now I am getting this weird error with the script you gave. It applies when you already have a trail equipped, and then buy a new one from shop, and try to equip the new one. The error is on this:
if SelectedTrail then
SelectedTrail.SelectButton.Text = "Equip"
The error is "SelectButton is not a valid member of Frame “Item”. It doesn’t make sense because the SelectButton is a member of the frame.
Again, I don’t know how your system works, so it’s up to you. This is most likely a problem with how your adding new items though.
Its adding trails to the folder with the script you gave me
local newTrail = trail:Clone() do
newTrail.Parent = plr.OwnedTrails
I meant that I don’t understand the parts of the system that I haven’t seen, not the ones I have. If you need further help please dm me.