I'm having trouble accessing a players PlayerGui. The answer to this is probably really simple but I just can't come up with anything.
If i use this code the script works:
game.Players.PlayerAdded:connect(function(player) print(player.PlayerGui.Name) end)
but if i simply add the .Intro to it I get the error "Disconnected event because of exception" in the output?
so this script doesn't work
game.Players.PlayerAdded:connect(function(player) print(player.PlayerGui.Intro.Name) end)
Can someone please tell me how to fix this?
Simple, if you put something into startergui, it'll be in Player's GUI as well.