Guest User

LUATHING

a guest
Oct 27th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.83 KB | None | 0 0
  1. local PlayerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  2. PlayerGui:SetTopbarTransparency(0)
  3.  
  4. -- Creating the Gui
  5. local screen = Instance.new("ScreenGui",PlayerGui)
  6. local main = Instance.new("Frame",screen)
  7. local logo = Instance.new("ImageLabel",main)
  8. local back = Instance.new("Frame",main)
  9. local ttl = Instance.new("TextLabel",back)
  10. local one = Instance.new("Frame",back)
  11. local two = Instance.new("Frame",back)
  12. local tre = Instance.new("Frame",back)
  13. local onef = Instance.new("Frame",one)
  14. local twof = Instance.new("Frame",two)
  15. local tref = Instance.new("Frame",tre)
  16.  
  17. main.BackgroundColor3 = Color3.new(75/255,75/255,75/255)
  18. back.BackgroundColor3 = Color3.new(50/255,50/255,50/255)
  19. one.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
  20. two.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
  21. tre.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
  22. onef.BackgroundColor3 = Color3.new(25/255,0/255,0/255)
  23. twof.BackgroundColor3 = Color3.new(0/255,25/255,0/255)
  24. tref.BackgroundColor3 = Color3.new(0/255,0/255,25/255)
  25. ttl.BackgroundColor3 = Color3.new(25/255,25/255,25/255)
  26. logo.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
  27.  
  28. main.BorderSizePixel = 0
  29. back.BorderSizePixel = 0
  30. one.BorderSizePixel = 2
  31. two.BorderSizePixel = 2
  32. tre.BorderSizePixel = 2
  33. onef.BorderSizePixel = 0
  34. twof.BorderSizePixel = 0
  35. tref.BorderSizePixel = 0
  36. ttl.BorderSizePixel = 4
  37. logo.BorderSizePixel = 2
  38.  
  39. one.BorderColor3 = Color3.new(10/255,10/255,10/255)
  40. two.BorderColor3 = Color3.new(10/255,10/255,10/255)
  41. tre.BorderColor3 = Color3.new(10/255,10/255,10/255)
  42. ttl.BorderColor3 = Color3.new(20/255,20/255,20/255)
  43. logo.BorderColor3 = Color3.new(10/255,10/255,10/255)
  44.  
  45. back.Position = UDim2.new(0,0,0.5,50)
  46. one.Position = UDim2.new(0.25,-25,0.5,-25)
  47. two.Position = UDim2.new(0.5,-25,0.5,-25)
  48. tre.Position = UDim2.new(0.75,-25,0.5,-25)
  49. onef.Position = UDim2.new(0,0,-1,0)
  50. twof.Position = UDim2.new(0,0,-1,0)
  51. tref.Position = UDim2.new(0,0,-1,0)
  52. logo.Position = UDim2.new(0.5,-75,0.25,0)
  53.  
  54. main.Size = UDim2.new(1,0,1,0)
  55. back.Size = UDim2.new(1,0,0.5,-50)
  56. one.Size = UDim2.new(0,50,0,50)
  57. two.Size = UDim2.new(0,50,0,50)
  58. tre.Size = UDim2.new(0,50,0,50)
  59. onef.Size = UDim2.new(1,0,1,0)
  60. twof.Size = UDim2.new(1,0,1,0)
  61. tref.Size = UDim2.new(1,0,1,0)
  62. ttl.Size = UDim2.new(1,0,0,25)
  63. logo.Size = UDim2.new(0,150,0,150)
  64.  
  65. main.ZIndex = 1
  66. back.ZIndex = 2
  67. one.ZIndex = 3
  68. two.ZIndex = 3
  69. tre.ZIndex = 3
  70. onef.ZIndex = 4
  71. twof.ZIndex = 4
  72. tref.ZIndex = 4
  73. ttl.ZIndex = 3
  74. logo.ZIndex = 2
  75.  
  76. main.ClipsDescendants = true
  77. back.ClipsDescendants = true
  78. one.ClipsDescendants = true
  79. two.ClipsDescendants = true
  80. tre.ClipsDescendants = true
  81. onef.ClipsDescendants = true
  82. twof.ClipsDescendants = true
  83. tref.ClipsDescendants = true
  84. ttl.ClipsDescendants = true
  85. logo.ClipsDescendants = true
  86.  
  87. ttl.Font = Enum.Font.SourceSansBold
  88. ttl.FontSize = Enum.FontSize.Size18
  89. ttl.Text = "Loading"
  90. ttl.TextColor3 = Color3.new(200/255,200/255,200/255)
  91.  
  92. logo.Image = "rbxassetid://306060486"
  93.  
  94. --Doing the stuff
  95. local count = 0
  96. for i=1,12 do
  97.     onef.Position = UDim2.new(0,0,-1,0)
  98.     twof.Position = UDim2.new(0,0,-1,0)
  99.     tref.Position = UDim2.new(0,0,-1,0)
  100.     if count == 1 then
  101.         onef:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  102.         wait(0.25)
  103.         onef:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  104.     elseif count == 2 then
  105.         twof:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  106.         wait(0.25)
  107.         twof:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  108.     elseif count == 3 then
  109.         tref:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  110.         wait(0.25)
  111.         tref:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
  112.     end
  113.     wait(0.25)
  114.     count = (count + 1) % 4
  115. end
  116.  
  117. screen.Parent = nil
Advertisement
Add Comment
Please, Sign In to add comment