Advertisement
RoScripter

Loading Screen

Jun 27th, 2020
3,170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local BackFrame = script.Parent.BackFrame
  3. local PlayButton = BackFrame.PlayButton
  4.  
  5. PlayButton.MouseButton1Click:Connect(function()
  6.     BackFrame:TweenPosition(UDim2.new(0, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.5)
  7.     wait(0.5)
  8.     script.Parent:Destroy()
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement