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

Is it possible for me to make an in-game gamepass without BC? [SOLVED]

Since it's been made possible to sell items in your place on Roblox (even though the robux/tix don't go to you unless its your product), is there a way for me to add gamepasses, and get the money even though I'm a NBC?

1 answer

✓ Accepted answer

Apparently you can. Gamepasses are free to be made by anyone, even NBCs. And you can add a script for it to buy in-game... But I think you have to make it beforehand and change the ID.

local passId = 0000000 -- change this to your game pass ID.
 
function isAuthenticated(player) -- checks to see if the player owns your pass
    return game:GetService("GamePassService"):PlayerHasPass(player, passId)
end
 
game.Players.PlayerAdded:connect(function(plr)
    if isAuthenticated(plr) then
        print(plr.Name .. " has bought the game pass with id " .. passId)
    end
end)

Does that help?

2 comments

0

@Master thanks so much ^_^

0

No problem :3

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