Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does it keep saying this item is currently not for sale?

Asked by 4 years ago
Edited 4 years ago
01--Server script in serverscriptservice
02rs = game:GetService("ReplicatedStorage")
03ms = game:GetService("MarketplaceService")
04remotes = rs.Remotes
05pp = remotes:WaitForChild("Prompt_Purchase")
06pp.OnServerEvent:connect(function(player, id)
07    print(player.Name..", "..id)
08    ms:PromptPurchase(player, id)
09end)
10 
11--Local script in startergui
12rs = game:GetService("ReplicatedStorage")
13player = game:GetService("Players").LocalPlayer
14mouse = player:GetMouse()
15remotes = rs.Remotes
View all 24 lines...
0
local property is basically getting the property ShirtTemplate or PantsTemplate from the clothing asset and then it gets the number from the link Vetrodex 22 — 4y

Answer this question