Messi33536086

Untitled

Mar 3rd, 2026
43
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.18 KB | None | 0 0
  1. local TweenService = game:GetService("TweenService")
  2. local UserInputService = game:GetService("UserInputService")
  3. local Players = game:GetService("Players")
  4. local CoreGui = game:GetService("CoreGui")
  5.  
  6. local Theme = {
  7. Background = Color3.fromRGB(15, 15, 18),
  8. Container = Color3.fromRGB(20, 20, 24),
  9. Sidebar = Color3.fromRGB(12, 12, 14),
  10. Stroke = Color3.fromRGB(35, 35, 42),
  11. Accent = Color3.fromRGB(114, 137, 218),
  12. Text = Color3.fromRGB(240, 240, 240),
  13. SubText = Color3.fromRGB(160, 160, 170)
  14. }
  15.  
  16. local function CreateTween(instance, info, properties)
  17. local tween = TweenService:Create(instance, TweenInfo.new(unpack(info)), properties)
  18. tween:Play()
  19. return tween
  20. end
  21.  
  22. local function MakeDraggable(topbar, object)
  23. local dragging = false
  24. local dragInput, dragStart, startPos
  25.  
  26. topbar.InputBegan:Connect(function(input)
  27. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  28. dragging = true
  29. dragStart = input.Position
  30. startPos = object.Position
  31. input.Changed:Connect(function()
  32. if input.UserInputState == Enum.UserInputState.End then
  33. dragging = false
  34. end
  35. end)
  36. end
  37. end)
  38.  
  39. topbar.InputChanged:Connect(function(input)
  40. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  41. dragInput = input
  42. end
  43. end)
  44.  
  45. UserInputService.InputChanged:Connect(function(input)
  46. if input == dragInput and dragging then
  47. local delta = input.Position - dragStart
  48. CreateTween(object, {0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out}, {
  49. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  50. })
  51. end
  52. end)
  53. end
  54.  
  55. local Library = {}
  56.  
  57. function Library:Create(config)
  58. config = config or {}
  59. local uiConfig = config.UI or {}
  60. local sysConfig = config.Config or {}
  61.  
  62. local screen = Instance.new("ScreenGui")
  63. screen.Name = "ModernUI_V2"
  64. screen.ResetOnSpawn = false
  65. screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  66.  
  67. local success = pcall(function()
  68. screen.Parent = CoreGui
  69. end)
  70. if not success then
  71. screen.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
  72. end
  73.  
  74. local mainFrame = Instance.new("Frame", screen)
  75. mainFrame.Name = "Main"
  76. mainFrame.Size = UDim2.new(0, 580, 0, 360)
  77. mainFrame.Position = UDim2.new(0.5, -290, 0.5, -180)
  78. mainFrame.BackgroundColor3 = Theme.Background
  79. mainFrame.BorderSizePixel = 0
  80. mainFrame.ClipsDescendants = true
  81.  
  82. local mainCorner = Instance.new("UICorner", mainFrame)
  83. mainCorner.CornerRadius = UDim.new(0, 8)
  84.  
  85. local mainStroke = Instance.new("UIStroke", mainFrame)
  86. mainStroke.Color = Theme.Stroke
  87. mainStroke.Thickness = 1
  88.  
  89. local topbar = Instance.new("Frame", mainFrame)
  90. topbar.Size = UDim2.new(1, 0, 0, 35)
  91. topbar.BackgroundTransparency = 1
  92. topbar.ZIndex = 10
  93.  
  94. local titleLabel = Instance.new("TextLabel", topbar)
  95. titleLabel.Size = UDim2.new(1, -100, 1, 0)
  96. titleLabel.Position = UDim2.new(0, 15, 0, 0)
  97. titleLabel.BackgroundTransparency = 1
  98. titleLabel.Text = string.format("<b>%s</b> | %s | <font color='#a0a0aa'>%s</font>", uiConfig.Title or "UI", uiConfig.SubTitle or "Hub", uiConfig.Version or "v1")
  99. titleLabel.RichText = true
  100. titleLabel.TextColor3 = Theme.Text
  101. titleLabel.TextSize = 13
  102. titleLabel.Font = Enum.Font.GothamMedium
  103. titleLabel.TextXAlignment = Enum.TextXAlignment.Left
  104.  
  105. local function CreateTopButton(text, offset, callback)
  106. local btn = Instance.new("TextButton", topbar)
  107. btn.Size = UDim2.new(0, 24, 0, 24)
  108. btn.Position = UDim2.new(1, offset, 0, 5)
  109. btn.BackgroundTransparency = 1
  110. btn.Text = text
  111. btn.TextColor3 = Theme.SubText
  112. btn.TextSize = 14
  113. btn.Font = Enum.Font.GothamBold
  114.  
  115. btn.MouseEnter:Connect(function()
  116. CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {TextColor3 = Theme.Text})
  117. end)
  118. btn.MouseLeave:Connect(function()
  119. CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {TextColor3 = Theme.SubText})
  120. end)
  121. btn.MouseButton1Click:Connect(callback)
  122. return btn
  123. end
  124.  
  125. CreateTopButton("X", -34, function()
  126. CreateTween(mainFrame, {0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In}, {Size = UDim2.new(0, 0, 0, 0)})
  127. task.wait(0.3)
  128. screen:Destroy()
  129. end)
  130.  
  131. local minimized = false
  132. CreateTopButton("-", -64, function()
  133. minimized = not minimized
  134. if minimized then
  135. CreateTween(mainFrame, {0.4, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 580, 0, 35)})
  136. else
  137. CreateTween(mainFrame, {0.4, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 580, 0, 360)})
  138. end
  139. end)
  140.  
  141. local divider = Instance.new("Frame", mainFrame)
  142. divider.Size = UDim2.new(1, 0, 0, 1)
  143. divider.Position = UDim2.new(0, 0, 0, 35)
  144. divider.BackgroundColor3 = Theme.Stroke
  145. divider.BorderSizePixel = 0
  146. divider.ZIndex = 5
  147.  
  148. local sidebar = Instance.new("Frame", mainFrame)
  149. sidebar.Size = UDim2.new(0, 140, 1, -36)
  150. sidebar.Position = UDim2.new(0, 0, 0, 36)
  151. sidebar.BackgroundColor3 = Theme.Sidebar
  152. sidebar.BorderSizePixel = 0
  153.  
  154. local sidebarDivider = Instance.new("Frame", sidebar)
  155. sidebarDivider.Size = UDim2.new(0, 1, 1, 0)
  156. sidebarDivider.Position = UDim2.new(1, 0, 0, 0)
  157. sidebarDivider.BackgroundColor3 = Theme.Stroke
  158. sidebarDivider.BorderSizePixel = 0
  159.  
  160. local tabContainer = Instance.new("ScrollingFrame", sidebar)
  161. tabContainer.Size = UDim2.new(1, -16, 1, -16)
  162. tabContainer.Position = UDim2.new(0, 8, 0, 8)
  163. tabContainer.BackgroundTransparency = 1
  164. tabContainer.ScrollBarThickness = 0
  165.  
  166. local tabLayout = Instance.new("UIListLayout", tabContainer)
  167. tabLayout.Padding = UDim.new(0, 6)
  168. tabLayout.SortOrder = Enum.SortOrder.LayoutOrder
  169.  
  170. local contentContainer = Instance.new("Frame", mainFrame)
  171. contentContainer.Size = UDim2.new(1, -141, 1, -36)
  172. contentContainer.Position = UDim2.new(0, 141, 0, 36)
  173. contentContainer.BackgroundTransparency = 1
  174.  
  175. MakeDraggable(topbar, mainFrame)
  176.  
  177. local window = {
  178. ActiveTab = nil,
  179. Tabs = {}
  180. }
  181.  
  182. local function BuildElements(obj, container)
  183. function obj:Button(name, callback)
  184. local btnFrame = Instance.new("Frame", container)
  185. btnFrame.Size = UDim2.new(1, -4, 0, 38)
  186. btnFrame.BackgroundColor3 = Theme.Container
  187. Instance.new("UICorner", btnFrame).CornerRadius = UDim.new(0, 6)
  188. Instance.new("UIStroke", btnFrame).Color = Theme.Stroke
  189.  
  190. local btn = Instance.new("TextButton", btnFrame)
  191. btn.Size = UDim2.new(1, 0, 1, 0)
  192. btn.BackgroundTransparency = 1
  193. btn.Text = name
  194. btn.TextColor3 = Theme.Text
  195. btn.Font = Enum.Font.GothamMedium
  196. btn.TextSize = 13
  197.  
  198. btn.MouseEnter:Connect(function()
  199. CreateTween(btnFrame, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(30, 30, 35)})
  200. end)
  201. btn.MouseLeave:Connect(function()
  202. CreateTween(btnFrame, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.Container})
  203. end)
  204. btn.MouseButton1Click:Connect(function()
  205. pcall(callback)
  206. local ripple = Instance.new("Frame", btnFrame)
  207. ripple.BackgroundColor3 = Theme.Accent
  208. ripple.BackgroundTransparency = 0.6
  209. ripple.Size = UDim2.new(1, 0, 1, 0)
  210. Instance.new("UICorner", ripple).CornerRadius = UDim.new(0, 6)
  211. local t = CreateTween(ripple, {0.4, Enum.EasingStyle.Quad}, {BackgroundTransparency = 1})
  212. t.Completed:Connect(function() ripple:Destroy() end)
  213. end)
  214. end
  215.  
  216. function obj:Toggle(name, default, callback)
  217. local togFrame = Instance.new("Frame", container)
  218. togFrame.Size = UDim2.new(1, -4, 0, 38)
  219. togFrame.BackgroundColor3 = Theme.Container
  220. Instance.new("UICorner", togFrame).CornerRadius = UDim.new(0, 6)
  221. Instance.new("UIStroke", togFrame).Color = Theme.Stroke
  222.  
  223. local label = Instance.new("TextLabel", togFrame)
  224. label.Size = UDim2.new(1, -60, 1, 0)
  225. label.Position = UDim2.new(0, 12, 0, 0)
  226. label.BackgroundTransparency = 1
  227. label.Text = name
  228. label.TextColor3 = Theme.Text
  229. label.Font = Enum.Font.GothamMedium
  230. label.TextSize = 13
  231. label.TextXAlignment = Enum.TextXAlignment.Left
  232.  
  233. local btn = Instance.new("TextButton", togFrame)
  234. btn.Size = UDim2.new(1, 0, 1, 0)
  235. btn.BackgroundTransparency = 1
  236. btn.Text = ""
  237.  
  238. local track = Instance.new("Frame", togFrame)
  239. track.Size = UDim2.new(0, 36, 0, 18)
  240. track.Position = UDim2.new(1, -48, 0.5, -9)
  241. track.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
  242. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  243.  
  244. local circle = Instance.new("Frame", track)
  245. circle.Size = UDim2.new(0, 14, 0, 14)
  246. circle.Position = UDim2.new(0, 2, 0.5, -7)
  247. circle.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
  248. Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0)
  249.  
  250. local state = default
  251. local function fire(fireCallback)
  252. if state then
  253. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.Accent})
  254. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(1, -16, 0.5, -7), BackgroundColor3 = Color3.fromRGB(255, 255, 255)})
  255. else
  256. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(40, 40, 45)})
  257. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(0, 2, 0.5, -7), BackgroundColor3 = Color3.fromRGB(200, 200, 200)})
  258. end
  259. if fireCallback then pcall(callback, state) end
  260. end
  261.  
  262. btn.MouseButton1Click:Connect(function()
  263. state = not state
  264. fire(true)
  265. end)
  266. fire(false)
  267. end
  268.  
  269. function obj:Slider(name, min, max, callback)
  270. local sliderFrame = Instance.new("Frame", container)
  271. sliderFrame.Size = UDim2.new(1, -4, 0, 55)
  272. sliderFrame.BackgroundColor3 = Theme.Container
  273. Instance.new("UICorner", sliderFrame).CornerRadius = UDim.new(0, 6)
  274. Instance.new("UIStroke", sliderFrame).Color = Theme.Stroke
  275.  
  276. local label = Instance.new("TextLabel", sliderFrame)
  277. label.Size = UDim2.new(1, -24, 0, 20)
  278. label.Position = UDim2.new(0, 12, 0, 8)
  279. label.BackgroundTransparency = 1
  280. label.Text = name
  281. label.TextColor3 = Theme.Text
  282. label.Font = Enum.Font.GothamMedium
  283. label.TextSize = 13
  284. label.TextXAlignment = Enum.TextXAlignment.Left
  285.  
  286. local valLabel = Instance.new("TextLabel", sliderFrame)
  287. valLabel.Size = UDim2.new(0, 50, 0, 20)
  288. valLabel.Position = UDim2.new(1, -62, 0, 8)
  289. valLabel.BackgroundTransparency = 1
  290. valLabel.Text = tostring(min)
  291. valLabel.TextColor3 = Theme.SubText
  292. valLabel.Font = Enum.Font.Gotham
  293. valLabel.TextSize = 12
  294. valLabel.TextXAlignment = Enum.TextXAlignment.Right
  295.  
  296. local trackBox = Instance.new("TextButton", sliderFrame)
  297. trackBox.Size = UDim2.new(1, -24, 0, 20)
  298. trackBox.Position = UDim2.new(0, 12, 0, 28)
  299. trackBox.BackgroundTransparency = 1
  300. trackBox.Text = ""
  301.  
  302. local track = Instance.new("Frame", trackBox)
  303. track.Size = UDim2.new(1, 0, 0, 4)
  304. track.Position = UDim2.new(0, 0, 0.5, -2)
  305. track.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
  306. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  307.  
  308. local fill = Instance.new("Frame", track)
  309. fill.Size = UDim2.new(0, 0, 1, 0)
  310. fill.BackgroundColor3 = Theme.Accent
  311. Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0)
  312.  
  313. local grabber = Instance.new("Frame", fill)
  314. grabber.Size = UDim2.new(0, 10, 0, 10)
  315. grabber.Position = UDim2.new(1, -5, 0.5, -5)
  316. grabber.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  317. Instance.new("UICorner", grabber).CornerRadius = UDim.new(1, 0)
  318.  
  319. local dragging = false
  320. local function updateSlider(input)
  321. local percent = math.clamp((input.Position.X - track.AbsolutePosition.X) / track.AbsoluteSize.X, 0, 1)
  322. local value = math.floor(min + ((max - min) * percent))
  323. CreateTween(fill, {0.1, Enum.EasingStyle.Sine}, {Size = UDim2.new(percent, 0, 1, 0)})
  324. valLabel.Text = tostring(value)
  325. pcall(callback, value)
  326. end
  327.  
  328. trackBox.InputBegan:Connect(function(input)
  329. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  330. dragging = true
  331. updateSlider(input)
  332. end
  333. end)
  334. UserInputService.InputEnded:Connect(function(input)
  335. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  336. dragging = false
  337. end
  338. end)
  339. UserInputService.InputChanged:Connect(function(input)
  340. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  341. updateSlider(input)
  342. end
  343. end)
  344. end
  345.  
  346. function obj:Dropdown(name, list, callback)
  347. local dropFrame = Instance.new("Frame", container)
  348. dropFrame.Size = UDim2.new(1, -4, 0, 38)
  349. dropFrame.BackgroundColor3 = Theme.Container
  350. dropFrame.ClipsDescendants = true
  351. Instance.new("UICorner", dropFrame).CornerRadius = UDim.new(0, 6)
  352. Instance.new("UIStroke", dropFrame).Color = Theme.Stroke
  353.  
  354. local dropBtn = Instance.new("TextButton", dropFrame)
  355. dropBtn.Size = UDim2.new(1, 0, 0, 38)
  356. dropBtn.BackgroundTransparency = 1
  357. dropBtn.Text = " " .. name
  358. dropBtn.TextColor3 = Theme.Text
  359. dropBtn.Font = Enum.Font.GothamMedium
  360. dropBtn.TextSize = 13
  361. dropBtn.TextXAlignment = Enum.TextXAlignment.Left
  362.  
  363. local icon = Instance.new("TextLabel", dropBtn)
  364. icon.Size = UDim2.new(0, 20, 1, 0)
  365. icon.Position = UDim2.new(1, -30, 0, 0)
  366. icon.BackgroundTransparency = 1
  367. icon.Text = "+"
  368. icon.TextColor3 = Theme.SubText
  369. icon.Font = Enum.Font.GothamBold
  370. icon.TextSize = 14
  371.  
  372. local dropLayout = Instance.new("UIListLayout", dropFrame)
  373. dropLayout.Padding = UDim.new(0, 2)
  374. dropLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  375. dropLayout.SortOrder = Enum.SortOrder.LayoutOrder
  376.  
  377. local expanded = false
  378. dropBtn.MouseButton1Click:Connect(function()
  379. expanded = not expanded
  380. local targetY = expanded and (38 + (#list * 32) + 6) or 38
  381. icon.Text = expanded and "-" or "+"
  382. CreateTween(dropFrame, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(1, -4, 0, targetY)})
  383. end)
  384.  
  385. for _, item in ipairs(list) do
  386. local itemBtn = Instance.new("TextButton", dropFrame)
  387. itemBtn.Size = UDim2.new(1, -12, 0, 30)
  388. itemBtn.BackgroundColor3 = Theme.Background
  389. itemBtn.Text = item
  390. itemBtn.TextColor3 = Theme.SubText
  391. itemBtn.Font = Enum.Font.Gotham
  392. itemBtn.TextSize = 12
  393. Instance.new("UICorner", itemBtn).CornerRadius = UDim.new(0, 4)
  394.  
  395. itemBtn.MouseButton1Click:Connect(function()
  396. dropBtn.Text = " " .. name .. " : " .. item
  397. expanded = false
  398. icon.Text = "+"
  399. CreateTween(dropFrame, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(1, -4, 0, 38)})
  400. pcall(callback, item)
  401. end)
  402. end
  403. end
  404.  
  405. function obj:Input(name, callback)
  406. local inFrame = Instance.new("Frame", container)
  407. inFrame.Size = UDim2.new(1, -4, 0, 38)
  408. inFrame.BackgroundColor3 = Theme.Container
  409. Instance.new("UICorner", inFrame).CornerRadius = UDim.new(0, 6)
  410. Instance.new("UIStroke", inFrame).Color = Theme.Stroke
  411.  
  412. local label = Instance.new("TextLabel", inFrame)
  413. label.Size = UDim2.new(0.5, -12, 1, 0)
  414. label.Position = UDim2.new(0, 12, 0, 0)
  415. label.BackgroundTransparency = 1
  416. label.Text = name
  417. label.TextColor3 = Theme.Text
  418. label.Font = Enum.Font.GothamMedium
  419. label.TextSize = 13
  420. label.TextXAlignment = Enum.TextXAlignment.Left
  421.  
  422. local box = Instance.new("TextBox", inFrame)
  423. box.Size = UDim2.new(0.5, -12, 0, 26)
  424. box.Position = UDim2.new(0.5, 0, 0, 6)
  425. box.BackgroundColor3 = Theme.Background
  426. box.Text = ""
  427. box.PlaceholderText = "..."
  428. box.TextColor3 = Theme.Text
  429. box.PlaceholderColor3 = Theme.SubText
  430. box.Font = Enum.Font.Gotham
  431. box.TextSize = 12
  432. box.ClearTextOnFocus = false
  433. Instance.new("UICorner", box).CornerRadius = UDim.new(0, 4)
  434. Instance.new("UIStroke", box).Color = Theme.Stroke
  435.  
  436. box.FocusLost:Connect(function(enter)
  437. if enter then pcall(callback, box.Text) end
  438. end)
  439. end
  440. end
  441.  
  442. function window:Tab(name)
  443. local tabBtn = Instance.new("TextButton", tabContainer)
  444. tabBtn.Size = UDim2.new(1, 0, 0, 32)
  445. tabBtn.BackgroundColor3 = Theme.Background
  446. tabBtn.BackgroundTransparency = 1
  447. tabBtn.Text = name
  448. tabBtn.TextColor3 = Theme.SubText
  449. tabBtn.Font = Enum.Font.GothamMedium
  450. tabBtn.TextSize = 13
  451. Instance.new("UICorner", tabBtn).CornerRadius = UDim.new(0, 6)
  452.  
  453. local indicator = Instance.new("Frame", tabBtn)
  454. indicator.Size = UDim2.new(0, 3, 0, 0)
  455. indicator.Position = UDim2.new(0, 0, 0.5, 0)
  456. indicator.BackgroundColor3 = Theme.Accent
  457. indicator.BorderSizePixel = 0
  458. Instance.new("UICorner", indicator).CornerRadius = UDim.new(1, 0)
  459.  
  460. local tabContent = Instance.new("ScrollingFrame", contentContainer)
  461. tabContent.Size = UDim2.new(1, -16, 1, -16)
  462. tabContent.Position = UDim2.new(0, 8, 0, 8)
  463. tabContent.BackgroundTransparency = 1
  464. tabContent.Visible = false
  465. tabContent.ScrollBarThickness = 2
  466. tabContent.ScrollBarImageColor3 = Theme.Stroke
  467.  
  468. local layout = Instance.new("UIListLayout", tabContent)
  469. layout.Padding = UDim.new(0, 8)
  470. layout.SortOrder = Enum.SortOrder.LayoutOrder
  471.  
  472. local tabObj = {}
  473. table.insert(window.Tabs, {Btn = tabBtn, Content = tabContent, Ind = indicator})
  474.  
  475. tabBtn.MouseButton1Click:Connect(function()
  476. for _, t in ipairs(window.Tabs) do
  477. t.Content.Visible = false
  478. CreateTween(t.Btn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 1, TextColor3 = Theme.SubText})
  479. CreateTween(t.Ind, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 0), Position = UDim2.new(0, 0, 0.5, 0)})
  480. end
  481. tabContent.Visible = true
  482. CreateTween(tabBtn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 0, TextColor3 = Theme.Text})
  483. CreateTween(indicator, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 16), Position = UDim2.new(0, 0, 0.5, -8)})
  484. end)
  485.  
  486. if not self.ActiveTab then
  487. self.ActiveTab = tabContent
  488. tabContent.Visible = true
  489. tabBtn.BackgroundTransparency = 0
  490. tabBtn.TextColor3 = Theme.Text
  491. indicator.Size = UDim2.new(0, 3, 0, 16)
  492. indicator.Position = UDim2.new(0, 0, 0.5, -8)
  493. end
  494.  
  495. function tabObj:Section(secName)
  496. local secTitle = Instance.new("TextLabel", tabContent)
  497. secTitle.Size = UDim2.new(1, -4, 0, 24)
  498. secTitle.BackgroundTransparency = 1
  499. secTitle.Text = secName
  500. secTitle.TextColor3 = Theme.Accent
  501. secTitle.Font = Enum.Font.GothamBold
  502. secTitle.TextSize = 12
  503. secTitle.TextXAlignment = Enum.TextXAlignment.Left
  504.  
  505. local secObj = {}
  506. BuildElements(secObj, tabContent)
  507. return secObj
  508. end
  509.  
  510. BuildElements(tabObj, tabContent)
  511. return tabObj
  512. end
  513.  
  514. local loaderObj = {}
  515. if sysConfig.Loader then
  516. local loaderContainer = Instance.new("Frame", mainFrame)
  517. loaderContainer.Size = UDim2.new(1, 0, 1, 0)
  518. loaderContainer.BackgroundTransparency = 1
  519. loaderContainer.ZIndex = 100
  520.  
  521. local leftHalf = Instance.new("Frame", loaderContainer)
  522. leftHalf.Size = UDim2.new(0.5, 0, 1, 0)
  523. leftHalf.Position = UDim2.new(0, 0, 0, 0)
  524. leftHalf.BackgroundColor3 = Theme.Background
  525. leftHalf.BorderSizePixel = 0
  526. leftHalf.ZIndex = 101
  527.  
  528. local rightHalf = Instance.new("Frame", loaderContainer)
  529. rightHalf.Size = UDim2.new(0.5, 0, 1, 0)
  530. rightHalf.Position = UDim2.new(0.5, 0, 0, 0)
  531. rightHalf.BackgroundColor3 = Theme.Background
  532. rightHalf.BorderSizePixel = 0
  533. rightHalf.ZIndex = 101
  534.  
  535. local centerLine = Instance.new("Frame", loaderContainer)
  536. centerLine.Size = UDim2.new(0, 2, 1, 0)
  537. centerLine.Position = UDim2.new(0.5, -1, 0, 0)
  538. centerLine.BackgroundColor3 = Theme.Accent
  539. centerLine.BorderSizePixel = 0
  540. centerLine.ZIndex = 102
  541.  
  542. local loaderText = Instance.new("TextLabel", loaderContainer)
  543. loaderText.Size = UDim2.new(1, 0, 1, 0)
  544. loaderText.BackgroundTransparency = 1
  545. loaderText.Text = "Initializing..."
  546. loaderText.TextColor3 = Theme.Text
  547. loaderText.Font = Enum.Font.GothamMedium
  548. loaderText.TextSize = 16
  549. loaderText.ZIndex = 105
  550.  
  551. local isStarted = false
  552. local isEnded = false
  553.  
  554. function loaderObj:Start()
  555. isStarted = true
  556. loaderContainer.Visible = true
  557.  
  558. task.spawn(function()
  559. while not isEnded do
  560. CreateTween(centerLine, {0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0.8})
  561. task.wait(0.6)
  562. CreateTween(centerLine, {0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0})
  563. task.wait(0.6)
  564. end
  565. end)
  566. end
  567.  
  568. function loaderObj:SetText(txt)
  569. if isStarted and not isEnded then
  570. CreateTween(loaderText, {0.2, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  571. task.wait(0.2)
  572. loaderText.Text = txt
  573. CreateTween(loaderText, {0.2, Enum.EasingStyle.Quad}, {TextTransparency = 0})
  574. end
  575. end
  576.  
  577. function loaderObj:End()
  578. if isStarted and not isEnded then
  579. isEnded = true
  580. CreateTween(loaderText, {0.3, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  581. CreateTween(centerLine, {0.4, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 2, 0, 0), Position = UDim2.new(0.5, -1, 0.5, 0)})
  582. task.wait(0.4)
  583.  
  584. CreateTween(leftHalf, {0.7, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(-0.5, 0, 0, 0)})
  585. CreateTween(rightHalf, {0.7, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(1, 0, 0, 0)})
  586.  
  587. task.delay(0.7, function()
  588. loaderContainer:Destroy()
  589. end)
  590. end
  591. end
  592.  
  593. loaderObj:Start()
  594. else
  595. loaderObj = nil
  596. end
  597.  
  598. return window, loaderObj
  599. end
  600.  
  601. return Library
  602.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Quotadux
    17 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=hzxgdlaolt
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment