I have this script:
local player = script.Parent.Parent
game.Players.PlayerAdded:connect(function(player)
local player = script.Parent.Parent
Instance.new("SpotLight", player)
player.Head.SpotLight.Name = ("Flashlight")
wait()
player.Head.FlashLight.Angle = (120)
player.Head.FlashLight.Brightness = (.85)
end)
and no matter what I try I cannot get a player added function to work. If you could give an example of PlayerAdded:connect it would be much appreciated :)

2 comments
Thanks :D
Yep.