Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MainGui = script.Parent
- local TextButton = MainGui.MainFrame.PlayButton.PLAY
- local bg = MainGui.Blurr
- local MAINN = MainGui.MainFrame
- local SMAINN = MainGui.UpdatesFrame
- local tweenService = game:GetService("TweenService")
- local tweenInfoFade = TweenInfo.new(6, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut)
- local tweenInfoHover = TweenInfo.new(0.2, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut)
- TextButton.MouseButton1Up:Connect(function()
- repeat
- bg.BackgroundTransparency = bg.BackgroundTransparency + 0.05;
- wait(0.05);
- until bg.BackgroundTransparency >= 1;
- wait(0.3)
- MAINN:TweenPosition(UDim2.new(1, 0, 0.986, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1
- )
- wait(0.0001)
- SMAINN:TweenPosition(UDim2.new(1, 0, 0.986, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1
- )
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement