How to get the player usernames?

How to make a list with player usernames. If you know it then help me out, thanks!

this may work

local plrnames = {}
for i,v in pairs(game.Players:GetPlayers()) do
table.insert(plrnames,v.Name)
end
3 Likes