I had this piece of code:

ppl = game.Players:GetChildren() list = {} table.insert(list, #ppl, game.Players.LocalPlayer.Name)

I was wondering if you could tell me what was wrong?

3 comments

0

server script or local script?

0

Local

0

The game.Players.LocalPlayer.Name doesn't work in server script