Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a Boombox Game Pass ?

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

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

2 comments

0

If you can give players a "part" then you can give players a "boombox"

0

this isn't a requesting site, this is a site for help on scripts that you have already made if there's problems

1 answer

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

1 comment

This discussion is preserved as it was. New answers, comments, and votes are closed.