He made a MainMenu GUI and is trying to make it so when the player Presses PLAY it basically Transparences to 1.
Player = game.Players.LocalPlayer Menu = script.Parent Play = Menu.Play About = Menu.About HasPressedPlay = false function MouseEnterPlayButton() Play.FontSize = "Size48" Play.BackgroundColor3 = Color3.new(108, 135, 255) Play.Size = UDim2.new(200, 0, 50, 0) end function MouseLeftPlayButton() Play.FontSize = "Size48" ---INFO Play.BackgroundColor3 = Color3.new(108, 135, 255) Play.Size = UDim2.new(200, 0, 50, 0) end function MouseEnterAboutButton() About.FontSize = "Size48" About.BackgroundColor3 = Color3.new(108, 135, 255) About.Size = UDim2.new(200, 0, 50, 0) end function MouseLeftAboutButton() About.FontSize = "Size48" --- INFO About.BackgroundColor3 = Color3.new(108, 135, 255) About.Size = UDim2.new(200, 0, 50, 0) end function PlayGame() if HasPressedPlay == false then for GuiMove = 1, 30 do if GuiMove <= 20 then Play.Position = Play.Positiom + UDim2(0.05, 0, 0, 0) end if GUIMove >= 10 then About.Position =Play.Position == UDim2(0.05, 0, 0, 0) -- You made a small error here. end Wait() end Menu:remove() end end About.MouseLeave:connect(MouseLeftPlayButton) About.MouseEnter:connect(MouseEnterPlayButton) Play.MouseLeave:connect(MouseLeftPlayButton) Play.MouseEnter:connect(MouseEnterPlayButton) Play.MouseButton1Down:connect(PlayGame)