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!
You need "==" when writing an if statement.
if game.StarterGui.PlayScreen.PlayBackround.Visible == false then -- 2 equal signs game.StarterGui.FirstTest.TestFrame.Visible = true print ("This Worked") end
If this answers your question, mark as answer ;).