Ok so I never really made a game before so I don't know what it's like to script in a good game and here's my code:
if game.StarterGui.PlayScreen.PlayBackround.Visible = false then game.StarterGui.FirstTest.TestFrame.Visible = true print ("This Worked") end
And for some reason the Output says that it wants a then cause there's an if statement, like I LITERALLY PUT A THEN STATEMENT RIGHT THERE!

4 comments
Like I seriously don't know why the output says it needs a then statement
you spelt background wrong
It is because you only have 1 equal sign in line 1. I gave you an answer that should fix the error you have now
In programming languages, the equal sign is no longer interpreted as a numerical figure, but as an operand called assign. When using conditional statements, you need to use the comparison operator, which is ==. In some other languages you have the exact operator: ===