Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Changing player gui through local script?

This is my attempt at changing a gui through a local script

wait(1)
local plr = game.Players.LocalPlayer --Get the player
local gui = plr.PlayerGui.ScreenGui.Info --Get the gui
 
gui.Text = "Intermission 9" --Change the text
wait(1)
gui.Text = "Intermission 8" --Change the text
wait(1)
gui.Text = "Intermission 7" --Change the text

the problem is that it doesnt change the text and it shows no errors in the output

2 comments

0

As stated beforehand, where is the local script located?

0

workspace

1 answer

Where is the script located? A local script only runs in specific places.

This discussion is preserved as it was. New answers, comments, and votes are closed.