This is my code

``local Name = game.Players.LocalPlayer.Name

if script.Parent.Parent.Visible == true then script.Parent.Text = "Hello, "..Name.." In this game, You Conquer land for more money! Begin by creating a flag!" print("Visible is True") end``

it is supposed to change the text however, it doesn't nor does it give me an error. Could it be because it is in a local script. I tried with () around the text and without and both didn't work. Visible also doesn't change to true so I don't know how to check if the player is viewing the gui.

4 comments

0

any errors?

0

You're probably only checking it instead of activating when it becomes visible.

0

@artfoundation what?

0

@subsz I don't get errors