I was wondering how i could make a script that prints all the people in the server and if they are nil tell me one of my friends made this one:
local PlayerName='iiXynx';
local inGame,Player=pcall(function()return(game:service'Players'[PlayerName]);
end);
if(not inGame)then print(string.format('Player %s is not in the Players instance.',PlayerName));
else print(Player,' is here.');
end;
but this only shows me if one person is in or not and it also doesnt tell me if they are nili was just wondering if anyone knows how?
~Thanks, Derpy~

1 comment
Works amazing thanks!