Advertisement
ZELOYT

Fabel hub old src

Apr 10th, 2020
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.68 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local GUI = Instance.new("ScreenGui")
  7. local GUI_2 = Instance.new("ImageLabel")
  8. local Icon = Instance.new("ImageButton")
  9. local Label = Instance.new("TextLabel")
  10. local Game_Identifyer = Instance.new("TextLabel")
  11. local chevron_right = Instance.new("ImageButton")
  12. local chevron_left = Instance.new("ImageButton")
  13. local close = Instance.new("ImageButton")
  14.  
  15. --Properties:
  16.  
  17. GUI.Name = "GUI"
  18. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19.  
  20. GUI_2.Name = "GUI"
  21. GUI_2.Parent = GUI
  22. GUI_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  23. GUI_2.BackgroundTransparency = 1.000
  24. GUI_2.Position = UDim2.new(0.39501515, 0, 0.382566601, 0)
  25. GUI_2.Size = UDim2.new(0, 406, 0, 257)
  26. GUI_2.Image = "rbxassetid://3570695787"
  27. GUI_2.ImageColor3 = Color3.fromRGB(30, 30, 30)
  28. GUI_2.ScaleType = Enum.ScaleType.Slice
  29. GUI_2.SliceCenter = Rect.new(100, 100, 100, 100)
  30. GUI_2.SliceScale = 0.050
  31.  
  32. Icon.Name = "Icon"
  33. Icon.Parent = GUI_2
  34. Icon.BackgroundTransparency = 1.000
  35. Icon.Position = UDim2.new(0.0157717373, 0, 0.0281324051, 0)
  36. Icon.Size = UDim2.new(0, 25, 0, 25)
  37. Icon.ZIndex = 2
  38. Icon.Image = "rbxassetid://3926307971"
  39. Icon.ImageRectOffset = Vector2.new(284, 244)
  40. Icon.ImageRectSize = Vector2.new(36, 36)
  41.  
  42. Label.Name = "Label"
  43. Label.Parent = GUI_2
  44. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  45. Label.BackgroundTransparency = 1.000
  46. Label.BorderSizePixel = 0
  47. Label.Position = UDim2.new(0.0960591137, 0, 0.0272373538, 0)
  48. Label.Size = UDim2.new(0, 90, 0, 25)
  49. Label.Font = Enum.Font.GothamBold
  50. Label.Text = "Fabel Hub v.1"
  51. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. Label.TextSize = 14.000
  53.  
  54. Game_Identifyer.Name = "Game_Identifyer"
  55. Game_Identifyer.Parent = GUI_2
  56. Game_Identifyer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  57. Game_Identifyer.BackgroundTransparency = 1.000
  58. Game_Identifyer.BorderSizePixel = 0
  59. Game_Identifyer.Position = UDim2.new(0.706896365, 0, 0.914396882, 0)
  60. Game_Identifyer.Size = UDim2.new(0, 110, 0, 22)
  61. Game_Identifyer.Font = Enum.Font.GothamBold
  62. Game_Identifyer.Text = "Phantom Forces"
  63. Game_Identifyer.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. Game_Identifyer.TextSize = 14.000
  65.  
  66. chevron_right.Name = "chevron_right"
  67. chevron_right.Parent = GUI_2
  68. chevron_right.BackgroundTransparency = 1.000
  69. chevron_right.LayoutOrder = 3
  70. chevron_right.Position = UDim2.new(0.914012611, 0, 0.123938933, 0)
  71. chevron_right.Size = UDim2.new(0, 25, 0, 25)
  72. chevron_right.ZIndex = 2
  73. chevron_right.Image = "rbxassetid://3926305904"
  74. chevron_right.ImageRectOffset = Vector2.new(924, 884)
  75. chevron_right.ImageRectSize = Vector2.new(36, 36)
  76.  
  77. chevron_left.Name = "chevron_left"
  78. chevron_left.Parent = GUI_2
  79. chevron_left.BackgroundTransparency = 1.000
  80. chevron_left.LayoutOrder = 10
  81. chevron_left.Position = UDim2.new(0.0155410562, 0, 0.123938903, 0)
  82. chevron_left.Size = UDim2.new(0, 25, 0, 25)
  83. chevron_left.ZIndex = 2
  84. chevron_left.Image = "rbxassetid://3926305904"
  85. chevron_left.ImageRectOffset = Vector2.new(124, 924)
  86. chevron_left.ImageRectSize = Vector2.new(36, 36)
  87.  
  88. close.Name = "close"
  89. close.Parent = GUI_2
  90. close.BackgroundTransparency = 1.000
  91. close.Position = UDim2.new(0.936180055, 0, 0.0272373538, 0)
  92. close.Size = UDim2.new(0, 16, 0, 17)
  93. close.ZIndex = 2
  94. close.Image = "rbxassetid://3926305904"
  95. close.ImageRectOffset = Vector2.new(284, 4)
  96. close.ImageRectSize = Vector2.new(24, 24)
  97. close.MouseButton1Click:connect(function()
  98. local close = script.Parent
  99.     local GUI = script.Parent.Parent
  100.    
  101.     close.MouseButton1Up:Connect(function()
  102.         GUI:TweenSize(
  103.             UDim2.new(0, 406,0, 0),
  104.             "In",
  105.             "Quint",
  106.             0.50
  107.         )
  108.     end)
  109. end)
  110. -- Scripts:
  111.  
  112. local function PYRHWLM_fake_script() -- Icon.Rgb - ico
  113.     local script = Instance.new('LocalScript', Icon)
  114.  
  115.     local t = 10;
  116.     local fromHSV = Color3.fromHSV
  117.     local RunService = game:GetService("RunService")
  118.     local access_alarm = script.Parent
  119.     RunService:BindToRenderStep("Rainbow", 1000, function()
  120.         local hue = tick() % t / t
  121.         local color = fromHSV(hue, 1, 1)
  122.         access_alarm.ImageColor3 = color
  123.     end)
  124. end
  125. coroutine.wrap(PYRHWLM_fake_script)()
  126. local function YHAEJIU_fake_script() -- close.Close
  127.     local script = Instance.new('LocalScript', close)
  128.  
  129.     local close = script.Parent
  130.     local GUI = script.Parent.Parent
  131.    
  132.     close.MouseButton1Up:Connect(function()
  133.         GUI:TweenSize(
  134.             UDim2.new(0, 406,0, 0),
  135.             "In",
  136.             "Quint",
  137.             0.50
  138.         )
  139.     end)
  140. end
  141. coroutine.wrap(YHAEJIU_fake_script)()
  142. local function YKJCR_fake_script() -- GUI_2.LocalScript
  143.     local script = Instance.new('LocalScript', GUI_2)
  144.  
  145.     local Game_Identifyer = script.Parent.Game_Identifyer
  146.    
  147.     if game.placeId == 286090429 then
  148.         Game_Identifyer.Text = "Arsenal"
  149.     end
  150.        
  151.    
  152.    
  153. end
  154. coroutine.wrap(YKJCR_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement