-
What do you want to achieve? I’am trying to figure out a solution to this problem
-
What is the issue? Whenever I try to buy a shirt through a script it gives me this error:
-
What solutions have you tried so far? I’ve tried to look through the script for any issues but I couldn’t find anything
local RE = script.Parent:WaitForChild("RemoteEvent")
local US = game:GetService("UserInputService")
local marketplace = game:GetService("MarketplaceService")
local ID = script.Parent.Parent.Parent.Adornee.Parent.Rig.Shirt.ShirtTemplate
script.Parent.MouseButton1Click:Connect(function()
marketplace:PromptPurchase(game.Players.LocalPlayer, script.Parent.Parent.Parent.Adornee.Parent.Rig.Shirt.ShirtTemplate)
end)
I’am using a billboard GUI for the button, that’s why I use adornee