BaconhairGamer

Bolts Hub V5

Oct 8th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. -- Function/Variable Defining
  2.  
  3. local darkCore = {}
  4. darkCore.makeDraggable = function(gui)
  5. local UserInputService = game:GetService("UserInputService")
  6. local dragging;
  7. local dragInput;
  8. local dragStart;
  9. local startPos;
  10. local function update(input)
  11. local delta = input.Position - dragStart
  12. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  13. end
  14. gui.InputBegan:Connect(function(input)
  15. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  16. dragging = true
  17. dragStart = input.Position
  18. startPos = gui.Position
  19.  
  20. input.Changed:Connect(function()
  21. if input.UserInputState == Enum.UserInputState.End then
  22. dragging = false
  23. end
  24. end)
  25. end
  26. end)
  27. gui.InputChanged:Connect(function(input)
  28. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  29. dragInput = input
  30. end
  31. end)
  32. UserInputService.InputChanged:Connect(function(input)
  33. if input == dragInput and dragging then
  34. update(input)
  35. end
  36. end)
  37. end
  38.  
  39. -- Check for Other Instances
  40.  
  41. for i,v in next, game:GetService("CoreGui"):GetChildren() do
  42. if v.Name == "DarkHub" then
  43. v:Destroy()
  44. end
  45. end
  46.  
  47. -- Main Interfacing
  48.  
  49. local DarkHub = Instance.new("ScreenGui")
  50. local Background = Instance.new("Frame")
  51. local TopBar = Instance.new("Frame")
  52. local TitleText = Instance.new("TextLabel")
  53. local ThemesList = Instance.new("Frame")
  54. local UIListLayout = Instance.new("UIListLayout")
  55. local ThemeButtonBack = Instance.new("ImageLabel")
  56. local ThemeIcon = Instance.new("ImageLabel")
  57. local ThemeButton = Instance.new("TextButton")
  58. local StartButtonBack = Instance.new("ImageLabel")
  59. local StartIcon = Instance.new("ImageLabel")
  60. local StartButton = Instance.new("TextButton")
  61. local PatchNotesBox = Instance.new("ImageLabel")
  62. local PatchNotesLabel = Instance.new("TextLabel")
  63. local PatchNotesValue = Instance.new("TextLabel")
  64. local CreditsBox = Instance.new("ImageLabel")
  65. local CreditsLabel = Instance.new("TextLabel")
  66. local CreditsValue = Instance.new("TextLabel")
  67. local BackButtonBack = Instance.new("ImageLabel")
  68. local BackIcon = Instance.new("ImageLabel")
  69. local BackButton = Instance.new("TextButton")
  70. DarkHub.Name = "DarkHub"
  71. DarkHub.Parent = game:GetService("CoreGui")
  72.  
  73. Background.Name = "Background"
  74. Background.Parent = DarkHub
  75. Background.Active = true
  76. Background.ClipsDescendants = true
  77. Background.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  78. Background.BorderColor3 = Color3.fromRGB(27, 42, 53)
  79. Background.BorderSizePixel = 0
  80. Background.Position = UDim2.new(0, -400, 0.5, -150)
  81. Background.Size = UDim2.new(0, 400, 0, 300)
  82.  
  83. TopBar.Name = "TopBar"
  84. TopBar.Parent = Background
  85. TopBar.BackgroundColor3 = Color3.fromRGB(52, 52, 52)
  86. TopBar.BorderColor3 = Color3.fromRGB(27, 42, 53)
  87. TopBar.BorderSizePixel = 0
  88. TopBar.Size = UDim2.new(0, 400, 0, 35)
  89.  
  90. TitleText.Name = "TitleText"
  91. TitleText.Parent = TopBar
  92. TitleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  93. TitleText.BackgroundTransparency = 1.000
  94. TitleText.Size = UDim2.new(0, 400, 0, 35)
  95. TitleText.Font = Enum.Font.GothamSemibold
  96. TitleText.Text = "Bolts Hub v6 - "..identifyexecutor()..""
  97.  
  98. TitleText.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. TitleText.TextSize = 20.000
  100.  
  101. ThemesList.Name = "ThemesList"
  102. ThemesList.Parent = Background
  103. ThemesList.Active = true
  104. ThemesList.BackgroundColor3 = Color3.fromRGB(72, 72, 72)
  105. ThemesList.BorderSizePixel = 0
  106. ThemesList.ClipsDescendants = true
  107. ThemesList.Position = UDim2.new(1, 0, 0.116666667, 0)
  108. ThemesList.Size = UDim2.new(0, 170, 0, 265)
  109. ThemesList.ZIndex = 2
  110. ThemesList.Visible = true
  111.  
  112. ThemeButtonBack.Name = "ThemeButtonBack"
  113. ThemeButtonBack.Parent = Background
  114. ThemeButtonBack.Active = true
  115. ThemeButtonBack.AnchorPoint = Vector2.new(0.5, 0.5)
  116. ThemeButtonBack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  117. ThemeButtonBack.BackgroundTransparency = 1.000
  118. ThemeButtonBack.Position = UDim2.new(0.78455019, 0, 0.230105013, 0)
  119. ThemeButtonBack.Selectable = true
  120. ThemeButtonBack.Size = UDim2.new(0.390381902, 0, 0.147133693, 0)
  121. ThemeButtonBack.Image = "rbxassetid://3570695787"
  122. ThemeButtonBack.ImageColor3 = Color3.fromRGB(57, 57, 57)
  123. ThemeButtonBack.ScaleType = Enum.ScaleType.Slice
  124. ThemeButtonBack.SliceCenter = Rect.new(100, 100, 100, 100)
  125. ThemeButtonBack.SliceScale = 0.100
  126.  
  127. ThemeIcon.Name = "ThemeIcon"
  128. ThemeIcon.Parent = ThemeButtonBack
  129. ThemeIcon.BackgroundTransparency = 1.000
  130. ThemeIcon.Position = UDim2.new(0.0786455646, 0, 0.0679654032, 0)
  131. ThemeIcon.Size = UDim2.new(0.189273, 0, 0.90937984, 0)
  132. ThemeIcon.Image = "rbxassetid://4335489011"
  133. ThemeIcon.ScaleType = Enum.ScaleType.Fit
  134.  
  135. ThemeButton.Name = "ThemeButton"
  136. ThemeButton.Parent = ThemeButtonBack
  137. ThemeButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  138. ThemeButton.BackgroundTransparency = 1.000
  139. ThemeButton.BorderSizePixel = 0
  140. ThemeButton.Position = UDim2.new(0.180999994, 0, 0, 0)
  141. ThemeButton.Size = UDim2.new(0, 104, 1, 0)
  142. ThemeButton.Font = Enum.Font.GothamSemibold
  143. ThemeButton.Text = "Sexy Bolts"
  144. ThemeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  145. ThemeButton.TextSize = 15.000
  146.  
  147. StartButtonBack.Name = "StartButtonBack"
  148. StartButtonBack.Parent = Background
  149. StartButtonBack.Active = true
  150. StartButtonBack.AnchorPoint = Vector2.new(0.5, 0.5)
  151. StartButtonBack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  152. StartButtonBack.BackgroundTransparency = 1.000
  153. StartButtonBack.Position = UDim2.new(0.78455019, 0, 0.406771868, 0)
  154. StartButtonBack.Selectable = true
  155. StartButtonBack.Size = UDim2.new(0.390381902, 0, 0.147133693, 0)
  156. StartButtonBack.Image = "rbxassetid://3570695787"
  157. StartButtonBack.ImageColor3 = Color3.fromRGB(57, 57, 57)
  158. StartButtonBack.ScaleType = Enum.ScaleType.Slice
  159. StartButtonBack.SliceCenter = Rect.new(100, 100, 100, 100)
  160. StartButtonBack.SliceScale = 0.100
  161.  
  162. StartIcon.Name = "StartIcon"
  163. StartIcon.Parent = StartButtonBack
  164. StartIcon.BackgroundTransparency = 1.000
  165. StartIcon.Position = UDim2.new(0.0786455646, 0, 0.0679654032, 0)
  166. StartIcon.Size = UDim2.new(0.189273, 0, 0.90937984, 0)
  167. StartIcon.Image = "rbxassetid://3944690667"
  168. StartIcon.ScaleType = Enum.ScaleType.Fit
  169.  
  170. StartButton.Name = "StartButton"
  171. StartButton.Parent = StartButtonBack
  172. StartButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  173. StartButton.BackgroundTransparency = 1.000
  174. StartButton.BorderSizePixel = 0
  175. StartButton.Position = UDim2.new(0.180999994, 0, 0, 0)
  176. StartButton.Size = UDim2.new(0, 104, 1, 0)
  177. StartButton.Font = Enum.Font.GothamSemibold
  178. StartButton.Text = "Load"
  179. StartButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  180. StartButton.TextSize = 15.000
  181.  
  182. BackButton.Name = "BackButton"
  183. BackButton.Parent = BackButtonBack
  184. BackButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  185. BackButton.BackgroundTransparency = 1.000
  186. BackButton.BorderSizePixel = 0
  187. BackButton.Position = UDim2.new(0.180999994, 0, 0, 0)
  188. BackButton.Size = UDim2.new(0, 104, 1, 0)
  189. BackButton.Font = Enum.Font.GothamSemibold
  190. BackButton.Text = "Back"
  191. BackButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  192. BackButton.TextSize = 15.000
  193. BackButton.ZIndex = 2
  194.  
  195. BackButtonBack.Name = "BackButtonBack"
  196. BackButtonBack.Parent = ThemesList
  197. BackButtonBack.Active = true
  198. BackButtonBack.AnchorPoint = Vector2.new(0.5, 0.5)
  199. BackButtonBack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  200. BackButtonBack.BackgroundTransparency = 1.000
  201. BackButtonBack.Position = UDim2.new(0, 85, 0, 35)
  202. BackButtonBack.Selectable = true
  203. BackButtonBack.Size = UDim2.new(0, 150, 0, 50)
  204. BackButtonBack.Image = "rbxassetid://3570695787"
  205. BackButtonBack.ImageColor3 = Color3.fromRGB(57, 57, 57)
  206. BackButtonBack.ScaleType = Enum.ScaleType.Slice
  207. BackButtonBack.SliceCenter = Rect.new(100, 100, 100, 100)
  208. BackButtonBack.SliceScale = 0.100
  209. BackButtonBack.ZIndex = 2
  210.  
  211. BackIcon.Name = "StartIcon"
  212. BackIcon.Parent = BackButtonBack
  213. BackIcon.Rotation = 180
  214. BackIcon.BackgroundTransparency = 1.000
  215. BackIcon.Position = UDim2.new(0.0786455646, 0, 0.0679654032, 0)
  216. BackIcon.Size = UDim2.new(0.189273, 0, 0.90937984, 0)
  217. BackIcon.Image = "rbxassetid://3944690667"
  218. BackIcon.ScaleType = Enum.ScaleType.Fit
  219. BackIcon.ZIndex = 2
  220.  
  221. PatchNotesBox.Name = "PatchNotesBox"
  222. PatchNotesBox.Parent = Background
  223. PatchNotesBox.Active = true
  224. PatchNotesBox.AnchorPoint = Vector2.new(0.5, 0.5)
  225. PatchNotesBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. PatchNotesBox.BackgroundTransparency = 1.000
  227. PatchNotesBox.Position = UDim2.new(0, 115, 0, 179)
  228. PatchNotesBox.Selectable = true
  229. PatchNotesBox.Size = UDim2.new(0.537881911, 0, 0.750571966, 0)
  230. PatchNotesBox.Image = "rbxassetid://3570695787"
  231. PatchNotesBox.ImageColor3 = Color3.fromRGB(57, 57, 57)
  232. PatchNotesBox.ScaleType = Enum.ScaleType.Slice
  233. PatchNotesBox.SliceCenter = Rect.new(100, 100, 100, 100)
  234. PatchNotesBox.SliceScale = 0.100
  235.  
  236. PatchNotesLabel.Name = "PatchNotesLabel"
  237. PatchNotesLabel.Parent = PatchNotesBox
  238. PatchNotesLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  239. PatchNotesLabel.BackgroundTransparency = 1.000
  240. PatchNotesLabel.BorderSizePixel = 0
  241. PatchNotesLabel.Position = UDim2.new(0, 0, -0.0863908902, 0)
  242. PatchNotesLabel.Size = UDim2.new(0.999999881, 0, 0.0863909051, 0)
  243. PatchNotesLabel.Font = Enum.Font.GothamSemibold
  244. PatchNotesLabel.Text = "Information & Patch Notes"
  245. PatchNotesLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  246. PatchNotesLabel.TextSize = 14.000
  247.  
  248. PatchNotesValue.Name = "PathNotesValue"
  249. PatchNotesValue.Parent = PatchNotesBox
  250. PatchNotesValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  251. PatchNotesValue.BackgroundTransparency = 1.000
  252. PatchNotesValue.BorderSizePixel = 0
  253. PatchNotesValue.Size = UDim2.new(1, 0, 1, 0)
  254. PatchNotesValue.Font = Enum.Font.GothamSemibold
  255. PatchNotesValue.Text = "Updates Posted In Discord Server"
  256. PatchNotesValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  257. PatchNotesValue.TextSize = 14.000
  258.  
  259.  
  260.  
  261. CreditsLabel.Name = "CreditsLabel"
  262. CreditsLabel.Parent = CreditsBox
  263. CreditsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  264. CreditsLabel.BackgroundTransparency = 1.000
  265. CreditsLabel.BorderSizePixel = 0
  266. CreditsLabel.Position = UDim2.new(0.00642135181, 0, -0.156518772, 0)
  267. CreditsLabel.Size = UDim2.new(1, 0, 0.156518787, 0)
  268. CreditsLabel.Font = Enum.Font.GothamSemibold
  269. CreditsLabel.Text = "DarkHub Credits"
  270. CreditsLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  271. CreditsLabel.TextSize = 14.000
  272.  
  273. CreditsValue.Name = "CreditsValue"
  274. CreditsValue.Parent = CreditsBox
  275. CreditsValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  276. CreditsValue.BackgroundTransparency = 1.000
  277. CreditsValue.BorderSizePixel = 0
  278. CreditsValue.Size = UDim2.new(1, 0, 1, 0)
  279. CreditsValue.Font = Enum.Font.GothamSemibold
  280. CreditsValue.Text = "test"
  281. CreditsValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  282. CreditsValue.TextSize = 14.000
  283.  
  284. local ClickSound = Instance.new("Sound")
  285. ClickSound.Volume = 1
  286. ClickSound.Parent = DarkHub
  287. ClickSound.SoundId = "rbxassetid://1238528678"
  288.  
  289.  
  290.  
  291. BackButton.MouseButton1Click:Connect(function()
  292. ThemesList:TweenPosition(UDim2.new(1, 0, 0.116666667, 0), "Out","Sine", .2)
  293. end)
  294.  
  295. ThemeButton.MouseButton1Click:Connect(function()
  296. ClickSound:Play()
  297. ThemesList:TweenPosition(UDim2.new(1, -170, 0.116666667, 0), "In","Sine", .2)
  298. end)
  299.  
  300. StartButton.MouseButton1Click:Connect(function()
  301. ClickSound:Play()
  302. Background:TweenPosition(UDim2.new(0, -400, 0.5, -150), "In","Sine", .2)
  303. loadstring(game:HttpGet("https://raw.githubusercontent.com/fusiongreg/BoltsHubV5/main/testidk"))()
  304. end)
  305.  
  306. -- Slide in UI when everything's done
  307. Background:TweenPosition(UDim2.new(0, 0, 0.5, -150), "Out","Sine", .5)
Add Comment
Please, Sign In to add comment