I just spammed proximitypromt and it copying the buttons
local InsertService = game:GetService("InsertService")
local MarketplaceService = game:GetService("MarketplaceService")
script.Parent.Shirt.ProximityPrompt.Triggered:Connect(function(Player)
if Player.Name == script.Parent.Parent.Parent.Owner.Value then
script.Parent.Shirt.ProximityPrompt.Enabled = false
Player.PlayerGui.ScreenGui.Object.Value = script.Parent.Parent:FindFirstChildOfClass("Shirt")
Player.PlayerGui.ScreenGui.Enabled = true
for i, v in pairs(Player.PlayerGui.ScreenGui.Frame.ScrollingFrame:GetChildren()) do
if v:IsA('TextButton') then
v:Destroy()
end
end
Player.PlayerGui.ScreenGui.Frame.Visible = true
for i, v in pairs(workspace.Clothings:FindFirstChild(Player.Name).Shirt:GetChildren()) do
local cl = Player.PlayerGui.ScreenGui.Frame.Shirt:Clone()
cl.Parent = Player.PlayerGui.ScreenGui.Frame.ScrollingFrame
cl.Value.Value = v.Name
cl.TextLabel.Text = MarketplaceService:GetProductInfo(v.Name).PriceInRobux..utf8.char(0xE002)
cl.ViewportFrame.Rig.Clothing.ShirtTemplate = InsertService:LoadAsset(v.Name):FindFirstChildOfClass("Shirt").ShirtTemplate
cl.Name = MarketplaceService:GetProductInfo(v.Name).Name
cl.Visible = true
end
script.Parent.Shirt.ProximityPrompt.Enabled = true
end
end)