Here's the script:
game.Players.PlayerAdded:connect(function(player)
L = Instance.new("PointLight", Players.LocalPlayer.Torso)
end)
for _, player in pairs(game.Players:GetPlayers()) do
PlayerAdded() --- Where I'm Stuck At. Halp D:
end
I am basically trying to get the PointLight inside the player so they can be bright. I have checked everything I did:
- It is in a local script
- It is in a StarterPack
The only part I am stuck on Line 6. Can anyone help me please?

2 comments
I don't know if it worked but the output only said in red letters: 16:15:39.338 - Plugin_142731176._Char:15: attempt to index local 'myPlayer' (a nil value). What does that mean?
That isn't an error associated with this script.... That error is from some plugin you have that is not working correctly and has nothing to do with this.