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

Increased Chance Gamepass?

Asked by 10 years ago

Hi there! I am trying to make an increased chance gamepass! My idea was that if they have the gamepass it puts you in the table in twice, but this doesn't work and i'm not really sure! Any help will be great! Thanks!


function ChoosePlayers() local list = {} local id = 103728213 for i,v in pairs(game.Players:GetPlayers()) do if Game:GetService("GamePassService"):PlayerHasPass(v, id) then list = list + v + v -- if they have the gamepass, put them in the table twice else list = list + v -- if they don't have the gamepass just put them in once end end end
0
Try table.insert. I would put a script but I am getting lagged off my PC fireboltofdeath 635 — 10y
0
I think it's the list = list + v + v part that is not working - i wasn't exactly sure on how to put the players with the gamepass in twice - anymore help would be great :) jjwood1600 215 — 10y

Answer this question