PlayerAdded doesn't work in a localscript, but I need a localscript in order to make my game work.
Can someone help me? This is what I have:
--Location: game.Workspace
--This is a localscript
function plradded(plr)
local gui=Lighting.Gui:Clone()
gui.Parent=plr.PlayerGui
wait(3)
gui=nil
end
game.Players.PlayerAdded:connect(plradded)

2 comments
Oh, I didn't think of that.
Thumbs up if you can xD