Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Ui = script.Parent
- local MenuFrame = Ui.MenuFrame
- local Transition = Ui.Transition
- local PlayButton = MenuFrame.PlayButton
- PlayButton.MouseButton1Click:Connect(function()
- repeat
- task.wait(.02)
- Transition.Transparency -= .01
- until Transition.Transparency <= 0
- MenuFrame.Visible = false
- task.wait(.5)
- repeat
- task.wait(.02)
- Transition.Transparency += .01
- until Transition.Transparency >= 1
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement