Advertisement
p_z

Loading-GUI

p_z
Mar 16th, 2020
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.32 KB | None | 0 0
  1. --[[
  2.     Created by Scripteria @ RBLX {160320;1014~LG_v1.1}
  3.         This script is open to edits and redistribution (refer to line #55 to change the header)
  4.         Please notify me on discord if this script bugs/no longer works(as of rn, discord messed up their servers)
  5.     This is meant to be edited by another script as something else loads, or you can base your own off of this
  6. --]]
  7. local ui = game:GetService("Players").LocalPlayer.PlayerGui
  8. local blur = Instance.new("BlurEffect", game:GetService("Lighting"))
  9. local gui = Instance.new("ScreenGui", ui)
  10. local loader = Instance.new("Frame", gui)
  11. local txt = Instance.new("TextButton", loader)
  12. local title = Instance.new("TextLabel", loader)
  13. local Lx0 = Instance.new("NumberValue", loader)
  14. local Lx2 = Instance.new("StringValue", loader)
  15. local Lx1 = Lx0.Value
  16. local Lx3 = Lx2.Value
  17. local Val = Lx1..Lx3
  18. blur.Size = 37
  19. Lx1 = 1
  20. Lx3 = "%"
  21. Lx0.Name = "Number"
  22. Lx2.Name = "Percent"
  23. gui.Name = "Loader"
  24. loader.Name = "loader_c1"
  25. loader.BackgroundColor3 = Color3.new(0,0,0)
  26. loader.BackgroundTransparency = 0.2
  27. loader.BorderColor3 = Color3.new(0,0,0)
  28. loader.Position = UDim2.new(0.442,0,0.465,0)
  29. loader.Size = UDim2.new(0,155,0,48)
  30. txt.Name = "loader.txt"
  31. txt.BackgroundColor3 = Color3.new(0,0,0)
  32. txt.BackgroundTransparency = 0.2
  33. txt.BorderColor3 = Color3.new(0,0,0)
  34. txt.Position = UDim2.new(0.039,0,0.312,0)
  35. txt.Size = UDim2.new(0,143,0,27)
  36. txt.Font = Enum.Font.SourceSansLight
  37. txt.Text = "Loading["..Val.."]"
  38. txt.TextColor3 = Color3.new(255,255,255)
  39. txt.TextScaled = true
  40. txt.TextStrokeColor3 = Color3.new(0,0,0)
  41. txt.TextStrokeTransparency = 0.2
  42. txt.MouseButton1Down:Connect(function()
  43.     SavedVal = txt.Text
  44.     txt.Text = "Setting up lua files!"
  45.     wait(2.3)
  46.     txt.Text = SavedVal
  47. end)
  48. title.Name = "loader_csc1"
  49. title.BackgroundColor3 = Color3.new(0,0,0)
  50. title.BackgroundTransparency = 0.1
  51. title.BorderColor3 = Color3.new(0,0,0)
  52. title.Position = UDim2.new(0,0,-0.292,0)
  53. title.Size = UDim2.new(0,155,0,23)
  54. title.Font = Enum.Font.Code
  55. title.Text = "=== [[ F.O.E ]] ==="
  56. title.TextColor3 = Color3.new(0,0,0)
  57. title.TextScaled = true
  58. title.TextStrokeColor3 = Color3.new(85,0,0)
  59. title.TextStrokeTransparency = 0.6
  60. title.TextTransparency = 0.4
  61.  
  62. while ui:FindFirstChild("Loader") do
  63.     wait(1)
  64.     txt.Text = Val
  65.     if txt.Text == "Loading[100%]" then
  66.         loader:Destroy()
  67.         blur:Destroy()
  68.     end
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement