It is supposed to put the gui into the players "PlayerGui" but it does not do that and it also does not output an error.
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(Character) local person = game.Players.LocalPlayer local guiclone = game.Lighting.ScreenGui:Clone() guiclone.Parent = person.PlayerGui end) end)
Hi, you made a function to run when a player is added then an unnecessary player.CharacterAdded:connect part strait after it.
Here's how it should have looked:
game.Players.PlayerAdded:connect(function(player) local person = game.Players.LocalPlayer local guiclone = game.Lighting.ScreenGui:Clone() guiclone.Parent = person.PlayerGui end)
Please accept the answer.
~topgeartrain