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

GUI's not visible?

Asked by 8 years ago

I'm trying to make these GUI's visible when a button is clicked in the IntroGUI and it's not working. It doesn't appear when it's clicked. This is a LocalScript.

local player = game.Players.LocalPlayer
local PlayerGui = player.PlayerGui
local timegiver = PlayerGui.TimeGUI.ImageLabel
local energy1 = PlayerGui.EnergyGUI.Run
local energy2 = PlayerGui.EnergyGUI.Walk
local energy3 = PlayerGui.EnergyGUI.Energy
timegiver.Visible = true
energy1.Visible = true
energy2.Visible = true
energy3.Visible = true

Answer this question