local function v(v)local R R=Button.new({Name=v.Name,Icon="\114\098\120\116\104\117\109\098\058\047\047\116\121\112\101\061\065\115\115\101\116\038\105\100\061"..(v.Id.."\038\119\061\049\053\048\038\104\061\049\053\048");AssetId=v.Id;ActivatedCallback=function(R)remoteEvent:FireServer("\119\101\097\114",v.Id)end;DetailsCallback=function(R)purchasePrompt:Prompt(v.Id)end})R:SetSelected(isWearing(v.Id))R:Parent(scrollingFrame)return R end
-- 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
