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

Give a Certain person access to gamepass?

Asked by 4 years ago

I hope the title explains it all, but is it possible to give certain person access to gamepass if yes, then could anyone help with it?

0
i wish people would say "the title explains it all" speedyfox66 237 — 4y
0
when you check when a player has a gamepass do, if player owns gamepass or username is in table then... NSMascot 113 — 4y

1 answer

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

No. You cannot.

You cannot give a game pass for free. The target user would need to buy it. But, if you want them to use the game pass features, just check who joined to give them the game pass features.

Here is some pseudocode

local function game_pass_features(target)
    -- TODO: give them game pass features
end

when player joins
    check their user id or name (prefer user id)
        if they are who you want or they have the game pass
            game_pass_features(player)
Ad

Answer this question