Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Changing player gui through local script?

Asked by 9 years ago

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

0
As stated beforehand, where is the local script located? Lacryma 548 — 9y
0
workspace SirKitten2000 0 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

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

Ad

Answer this question