How to make a Gamepass Shop in ROBLOX Studio!
this is my 3rd ROBLOX Studio Tutorial
My ROBLOX Profile: https://www.roblox.com/users/50287835...
Minecraft Channel: @TheOfficialGamerMinecraft
Discord Server: / discord
How to make a Shop GUI in ROBLOX Studio: • How to make a Shop GUI in ROBLOX Studio!
Script: local plr = game.Players.LocalPlayer
local button = script.Parent
local MarkerplaceService = game:GetService("MarketplaceService")
script.Parent.MouseButton1Click:Connect(function()
MarkerplaceService:PromptGamePassPurchase(plr, 1759740105) -- Change the ID to your gamepass ID
end)