#Simple GUI Script help

1 messages · Page 1 of 1 (latest)

unborn kindle
#

local Player = game:GetService("Players").LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local TextLabel = PlayerGui:WaitForChild("LoadingScreen"):WaitForChild("LoadingImage"):WaitForChild("LoadingText")
local Text = TextLabel.Text

while true do
Text = "Loading."
wait(1)
Text = "Loading.."
wait(1)
Text = "Loading..."
wait(1)
end
Heres my code, its not changing the GUI text when I test it out.

lucid dawn
#

local Text = TextLabel.Text is variable

#

like

#

you set your variable "Text" with current text from textlabel.text

#

this is stored value.

#

to update text you need to do

#

TextLabel.Text = "Loading."

#

and so on