I know that first I have to make the gamepass, then I have to script it out with a GUI.
If you answer this CORRECTLY I will ACCEPT your answer.
I know that first I have to make the gamepass, then I have to script it out with a GUI.
If you answer this CORRECTLY I will ACCEPT your answer.
local mps = game:GetService("MarketplaceService")
local id = 7550418
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
mps:PromptGamePassPurchase(player, id)
end)
local mps = game:GetService("MarketplaceService")
local id = 7550418
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
mps:PromptGamePassPurchase(player, id)
end)
https://www.roblox.com/library/5186755643/ My shop model with a open-close button.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Uh sorry but I do not want your free model sir, I wanted an explaination.
Oh ok.
Don’t be sad ninja