#Get players that have a certain attribute

2 messages · Page 1 of 1 (latest)

cloud wedge
#

I want to make a script tbat get all the players that have a certain attribute, but i dont know how, can i get some help?

chrome estuary
#

use a for loop.

for i, v in pairs(game.Players:GetPlayers()) do
  -- v = the player. do anything here
end