So, im looking to make an admin commands gamepass for my simulator. I tried to use HD admin commands and they worked fine. Only downside was the fact that people could exploit it for access. I tried to then use khols admin but they dont have a gamepass feature in their script. Anyone know what admin commands are good for gamepass use?
Here is my script for the khols commands (does not work):
local gamePassId = (11143885)
game.Players.PlayerAdded:connect(function(player)
if game:GetService(“MarketplaceService”):UserOwnsGamePassAsync(player.userId, gamePassId) then
table.insert(VIP, player.Name)
end
end)
Hello! I see an error in the “table.insert()” method. Table.insert() requires 3 arguments (Table, Number Position, And value). It seems like you have to add a number position before the Value.