Advertisement
xTh3_Hunter

[FE] Loading Script Gui (Roblox)

Jan 11th, 2020
6,112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.55 KB | None | 0 0
  1. local LoadingGUI = Instance.new("ScreenGui", game:GetService("CoreGui"))
  2. local MainFRAME = Instance.new("Frame", LoadingGUI)
  3. local Title = Instance.new("TextLabel", MainFRAME)
  4. local LoadingThing = Instance.new("Frame", MainFRAME)
  5. local LoadBLOCK = Instance.new("Frame", LoadingThing)
  6. LoadingGUI.Name = "LoadingGUI"
  7. MainFRAME.Name = "MainFRAME"
  8. MainFRAME.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  9. MainFRAME.BorderColor3 = Color3.fromRGB(0, 0, 0)
  10. MainFRAME.Position = UDim2.new(.5, -tonumber(MainFRAME.AbsoluteSize.X / 2), .5, -tonumber(MainFRAME.AbsoluteSize.Y / 2))
  11. MainFRAME.Size = UDim2.new(0, 200, 0, 70)
  12. Title.Name = "Title"
  13. Title.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
  14. Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  15. Title.Size = UDim2.new(0, 200, 0, 20)
  16. Title.Font = Enum.Font.SourceSans
  17. Title.Text = tostring(_G.Loadertext1)
  18. Title.TextColor3 = Color3.fromRGB(100, 100, 100)
  19. Title.TextSize = 14
  20. LoadingThing.Name = "LoadingThing"
  21. LoadingThing.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  22. LoadingThing.BorderColor3 = Color3.fromRGB(0, 0, 0)
  23. LoadingThing.Position = UDim2.new(.0999998525, 0, .5, 0)
  24. LoadingThing.Size = UDim2.new(0, 160, 0, 20)
  25. LoadBLOCK.Name = "LoadBLOCK"
  26. LoadBLOCK.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  27. LoadBLOCK.BorderColor3 = Color3.fromRGB(27, 42, 53)
  28. LoadBLOCK.BorderSizePixel = 0
  29. LoadBLOCK.Size = UDim2.new(0, 0, 0, 20)
  30. LoadBLOCK.Visible = true
  31. game:GetService("TweenService"):Create(LoadBLOCK, TweenInfo.new(.5, Enum.EasingStyle.Quad), {
  32.     Size = UDim2.new(0, 160, 0, 20)
  33. }):Play()
  34. wait(.5)
  35. LoadingGUI:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement