-- rbxthumb://type=Asset&id=00000000&w=420&h=420 -- use 150x150 for less memory

local function makeButton(v)
	local button; button = Button.new({
		Name = v.Name,
		Icon = "rbxthumb://type=Asset&id=" .. v.Id .. "&w=150&h=150",
		AssetId = v.Id,
		ActivatedCallback = function(inputObject)
			remoteEvent:FireServer("wear", v.Id)
		end,
		DetailsCallback = function(inputObject)
			purchasePrompt:Prompt(v.Id)
		end,
	})
	button:SetSelected(isWearing(v.Id))
	button:Parent(scrollingFrame)
	return button
end
