Hey guys! I'm currently trying to make a game (like most of you) and I've ran into a problem... See in the past (3 years or so ago), I remember all you had to do to update your TextLabel or button etc. was to do something like this:
script.Parent.StarterGui.ScreenGui.Frame.TextLabel.Text = "WORK"
But now with a few updates they have seemed to change that and now you have to access the PlayerGui, and frankly I do not know how to do that, nor have I found a clear explanation on accessing it.
This is my attempt:
script.Parent.Parent.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextLabel.Text = "Game is Starting in 30"
and it spits out "Players is not a valid member of Player" in ROBLOX Studio, but to my understanding Player is a part of Players.
Anyways I'd love it if someone explained to me how to access PlayerGui so I could progress my game, and possibly help other people who don't quite understand it as well.
Thanks!
Status: Solved!

1 comment
Might I clarify. First off your answers are all are right, however I need it to update an existing Textline, without dying.