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

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

Asked by 10 years ago

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

Log in to vote
2
Answered by 10 years ago

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?

0
@Master thanks so much ^_^ AbbaieTwinkle 10 — 10y
0
No problem :3 DerpyShadowz 34 — 10y
Ad

Answer this question