I added my code into the script when i enter the game to buy it it says product not available even the in the store it works fine heres the script
local productId = 7235846 -- Change to the ID of your developer product. local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) end)
here is the gamepass

5 comments
SORRY WRONG CODE ON THE LINK ITS https://web.roblox.com/game-pass/7235846/Skip-Stage
This is not a request site. I say this because this is copied code plus you need to use the Lua button when writing a Lua question. 2 you need a script in server script service to communicate with Roblox using remote evens. 3 this script needs to be a local script in a gui button.
it is
..... this isnt a request site, just a helping site. are you out of your mind?
im asking for help