local Wave = game.StarterGui.ScreenGui.WaveNumber
Wave.Text = "Wave 1"
Nothing happens. Any ideas?
local Wave = game.StarterGui.ScreenGui.WaveNumber
Wave.Text = "Wave 1"
Nothing happens. Any ideas?
Hey,
You need to change it in the Player's PlayerGui, not in the StarterGui. Changes to the StarterGui only apply to the PlayerGui after reloading the character.
So the new script is:
local Wave = game.Players.LocalPlayer.PlayerGui.ScreenGui.WaveNumber
Wave.Text = "Wave 1"
Try Script.Parent.Parent.Text = "Wave 1"
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Make sure your actually targeting the the text label. Also is this a local script? or Server side script.
local, the textlabel is named WaveNumber, is located in ScreenGui which is in StarterGui