local marketplace = game:GetService("MarketplaceService")
local debree = false
local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
if debree == false then
local sound = script.Parent.Click:Clone()
sound.Parent = script.Parent.Parent.Parent
sound:Play()
game.Debris:AddItem(sound,1)
print("Gamepass clicked")
marketplace:PromptProductPurchase(Player,13600173502)
debree = true
wait(3)
debree = false
end
end)
Gamepass link: last name - Roblox
Gamepass prompt not working gives me error gamepads purchase failed something went wrong your account has not been charged.