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

Can this script sell any shirts, t-shirt, pants, etc.?

Asked by 9 years ago

I want to help out a friend selling his shirts on my game, but I don't know if this script can sell his shirt, t-shirt, pants, etc. This is the script:

local Id = "ASSET NUMBER HERE"

script.Parent.ClickDetector.MouseClick:connect(function(player)
    game:GetService("MarketplaceService"):PromptPurchase(player, Id)
end)

1 answer

Log in to vote
0
Answered by 9 years ago

Have you tested the script? I recommend you so.

Ad

Answer this question