I cant change ScreenGui setting when game running

Hello, when I enable the screengui while the game is running, it is not visible.

You need to change it inside

game.Players[“Your nickname”].PlayerGui.ScreenGui

1 Like

Hi thanks. I understand now but your code wrong, i get error. My used code:

		game.Players["KaranBlox"].PlayerGui:WaitForChild("ScreenGui").Enabled = true

try something like this

(on local script)

local plr = game.Players.LocalPlayer
local gui = plr.PlayerGui:WaitForChild("ScreenGui", 60)

gui.Enabled = true

also, when something gets a error, it’s better you say the error here, so others can understand the problem

1 Like

Thanks.

Error:
Expected identifier when parsing expression, got Unicode character U+201c (did you mean '"'?)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.