Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Why isnt my player added script working?

Asked by
Zrxiis 26
7 years ago
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

1
`holder` and `item` are not defined in this script. Is this a LocalScript? What is it supposed to do? BlueTaslem 18071 — 7y
0
This is a script for my player list. Zrxiis 26 — 7y
0
And its in a regular script Zrxiis 26 — 7y
0
The variables "holder" and "item" are not defined. So the script doesn't know what they are. TheEpicCooldeal 12 — 7y

Answer this question