Advertisement
Moddrn

Untitled

Jun 30th, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. local MainGui = script.Parent
  2. local TextButton = MainGui.MainFrame.PlayButton.PLAY
  3. local bg = MainGui.Blurr
  4. local MAINN = MainGui.MainFrame
  5. local SMAINN = MainGui.UpdatesFrame
  6.  
  7.  
  8.  
  9. local tweenService = game:GetService("TweenService")
  10. local tweenInfoFade = TweenInfo.new(6, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut)
  11. local tweenInfoHover = TweenInfo.new(0.2, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut)
  12.  
  13. TextButton.MouseButton1Up:Connect(function()
  14.  
  15. repeat
  16. bg.BackgroundTransparency = bg.BackgroundTransparency + 0.05;
  17. wait(0.05);
  18. until bg.BackgroundTransparency >= 1;
  19.  
  20.  
  21. wait(0.3)
  22.  
  23. MAINN:TweenPosition(UDim2.new(1, 0, 0.986, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1
  24.  
  25. )
  26. wait(0.0001)
  27.  
  28. SMAINN:TweenPosition(UDim2.new(1, 0, 0.986, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1
  29.  
  30. )
  31.  
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement