game.Players.PlayerAdded:Connect(function(player)
local plylist = {game.Players:GetPlayers()}
if plylist[2] == nil then
if player.CharacterAdded then
player.Character:WaitForChild("Head")
local memez = Instance.new("ParticleEmitter")
memez.Parent = player.Character.Head
memez.Name = "Memez"
end
end
end)
Can someone please explain to me what is going wrong in this script and how I can fix? (It is not a local script)

1 comment
Try getting used to using :GetService, for example: Instead of saying game.Players, say game:GetService(“Players”)