Help with making a screen invisible

  1. What do you want to achieve? I want to make a screen invisible

  2. What is the issue? I’m having trouble getting it right

  3. What solutions have you tried so far? I’ve looked over the output bar and tested it, and it still didn’t work.

Here is my Script:

local Parent.Parent.Screen.Visible = false

Here is a screenshot of the Screen and Board:

1 Like

[SOLUTION] The problem is the script, I would recommend you going on Youtube and seeing tutorials, I hope this helped.

1 Like

Thank you for the feedback! I will check Youtube now!

1 Like

No problem! Happy to help! :smiley:

1 Like

:question: - :
– you can’t use local with changing property value
– and parent without instance before is wrong

so the correct code should be like this :

script.Parent.Parent.Screen.Visible = false
1 Like

Alrighty, thanks so much for your support!

It didn’t seem to work… The screen is still visible. Here is the error message I’m getting:

(Also, the Screen is not a UI, just a part)

I’m trying a Youtube video right now though.

It’s cringe :wink:

oh,

  • for ScreenGui you should use Enabled
  • for Frame you should use Visible

so your code should be

script.Parent.Parent.Screen.Enabled = false
2 Likes

OHHH!! I got it now! Thanks a lot!

1 Like

No problem. I love to help :happy4: :heart:

1 Like

If mine helped you, a reply with a solution, would be appreciated!