[CLOSED] question solved <3

hello everyone. im making a buying clothing system, but i want to connect it to a number value. my script is not working and i would appreciate any help on why! <33

local player = game.Players.LocalPlayer
local value = workspace.ShirtId.Value

script.Parent.MouseButton1Click:Connect(function()
	game:GetService("MarketplaceService"):PromptPurchase(player, value)
end)

https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/PromptPurchase

Prompt purchase is for prompting a purchase from the catalog, so the 2nd expected argument is the ID of that item, not the value. Is ShirtId a NumberValue instance? If so what is the value stored inside of it?