So, this script looks to see if the text of two textbuttons is 'Action & Adventure" and "Easy" when the frame's visible property is changed. It doesn't do anything. if both statements are true, it should make on of two GUIs visible. Help please! I cannot show output, because when I click Play Solo or Run my studio crashes, but I can tell you that the Script Analysis doesn't see anything wrong. Thanks! Here is my LocalScript

wait(1)
player = game.Players.LocalPlayer
gui = player.PlayerGui.ScreenGui
stepone = gui.step1choice
steptwo = gui.step2choice
results = gui.results
RVisible = results.Visible
TMM = results.TMM.Visible
LD = results.TMM.Visible

results.Changed:connect(function()
	local value = results[RVisible]
	wait(1)
	results.Loading.Visible = true
	if stepone.Text== "Action & Adventure" then
		if steptwo.Text== "Easy" then
			num = math.random(1,2)
			if num== 1 then 
				TMM = true
				
			else
				LD = true
				
			end
		else
			script:Destroy()
		end
	else
		script:Destroy()
	end
end)