Ad
Log in to vote
0

How can I hide / show a Gui from StarterGui with a script?

Asked by 3 months ago
Edited 3 months ago

How can I hide / show a Gui from StarterGui with a script? GUI does not show when core value reaches 6000 In my script put error. Here my script.

if workspace.CoreC.Temp.Value ~= 6000 then
    game.StarterGui.CoreL.Enabled = true
end



1 answer

Log in to vote
0
Answered by 3 months ago
Edited 3 months ago

Not sure if i understand what youre saying, but you can do something like this; you have a gui in startergui in a screen gui called uwu and inside it is a frame called furry, you get to furry and set visible to false like this;

game.players.localplayer.PlayerGui.uwu.furry.visible = false

game.players.localplayer.PlayerGui.uwu.furry.visible = false PlayerGui is just startergui but it actually effects the gui on the players screen.

Ad

Answer this question