What would be the best way to fire an event to only players in a specific table? I though of using a for i,v in pairs() loop and firing the event to v. Is this the best way to do so?
Yes that would be the best method to loop through the array of players.
You can also use ipairs, which are for arrays.
for i, v in ipairs(game.Players:GetPlayers()) do
-- stuff
end
1 Like
Ok Thanks. I was just worried about a possible delay that might occur