game.Players.PlayerAdded:connect(function(player)
	local new = item:Clone()
	new.Parent = holder
	new.Position = UDim2.new(0,1100,0,15 * #players:GetChildren())
	new.Text = player.Name
	new.Name = "new"
end)

The script doesn't run when the player joins

4 comments

1

holder and item are not defined in this script. Is this a LocalScript? What is it supposed to do?

0

This is a script for my player list.

0

And its in a regular script

0

The variables "holder" and "item" are not defined. So the script doesn't know what they are.