Good morning / afternoon / evening to my respectful ROBLOX developer .
Can I know how to make a working boombox gamepass ? PLEASE ?
Good morning / afternoon / evening to my respectful ROBLOX developer .
Can I know how to make a working boombox gamepass ? PLEASE ?
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
If you can give players a "part" then you can give players a "boombox"
this isn't a requesting site, this is a site for help on scripts that you have already made if there's problems