Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a Boombox Game Pass ?

Asked by 5 years ago

Good morning / afternoon / evening to my respectful ROBLOX developer .

Can I know how to make a working boombox gamepass ? PLEASE ?

0
If you can give players a "part" then you can give players a "boombox" MooMooThalahlah 421 — 5y
0
this isn't a requesting site, this is a site for help on scripts that you have already made if there's problems brokenVectors 525 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

First , you need to create your gamepass. You need to go on your game page, then gamepass and once you are there, you can create one. Once you have finished, you need to get the gamepass ID (it's in the URL). Now, your gamepass is finished. You now need to detect if a player has it in your game by using PlayerOwnsAsset() :

local plr = game.Players.LocalPlayer
if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, YourGamepassId) then
    -- Here you put what the script does if the player has the gamepass
end

Of course, replace YourGamepassId by the ID of your gamepass. The "plr" just before the ID is the player that we want to know if he has the gamepass

Ad

Answer this question