I need help with these UI's


you might not know what this video is about and I will tell you:

so in the video I went into the game and clicked the checkmark which made this UI invisible, but it was suppose to make another UI visible, which obviously did not work.

my script on the checkmark:

script.Parent.MouseButton1Click:Connect(function()

script.Parent.Parent.Parent.BackGround.Visible = false

game.StarterGui.ScreenGui.MainMenuFrame.Visible = true

end)

you already saw it in the video, some screenshots of the UI:

image
hope you can help :grin:

Your issue is you’re going into startergui…

Try this:

local Player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Parent.BackGround.Visible = false
	Player.PlayerGui.ScreenGui.MainMenuFrame.Visible = true
end)
1 Like