Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gamepass GUI
- ---- ---- ---- ----
- local button = script.Parent
- local player = game.Players.LocalPlayer
- local gamePassId = script.Parent.GamepassId
- button.MouseButton1Click:connect(function()
- if player then
- game:GetService("MarketplaceService"):PromptGamePassPurchase(player, gamePassId.Value)
- end
- end)
- ---- ---- ---- -----
- https://www.roblox.com/games/16800723712/WARSHIP-UPDATE-TD-WARS - PLAY MY ROBLOX GAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement