Advertisement
Remusutules

Transition Effect

Jul 20th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local Ui = script.Parent
  2. local MenuFrame = Ui.MenuFrame
  3. local Transition = Ui.Transition
  4. local PlayButton = MenuFrame.PlayButton
  5.  
  6. PlayButton.MouseButton1Click:Connect(function()
  7. repeat
  8. task.wait(.02)
  9. Transition.Transparency -= .01
  10. until Transition.Transparency <= 0
  11. MenuFrame.Visible = false
  12. task.wait(.5)
  13. repeat
  14. task.wait(.02)
  15. Transition.Transparency += .01
  16. until Transition.Transparency >= 1
  17. end)
Tags: Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement