Messi33536086

Untitled

Mar 3rd, 2026
45
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.71 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. MainBg = Color3.fromRGB(12, 12, 12),
  8. SidebarBg = Color3.fromRGB(16, 16, 16),
  9. SectionBg = Color3.fromRGB(22, 22, 22),
  10. ItemBg = Color3.fromRGB(30, 30, 30),
  11. Accent = Color3.fromRGB(152, 226, 204),
  12. Text = Color3.fromRGB(245, 245, 245),
  13. SubText = Color3.fromRGB(140, 140, 140),
  14. DarkText = Color3.fromRGB(20, 20, 20)
  15. }
  16.  
  17. local function CreateTween(instance, info, properties)
  18. local tween = TweenService:Create(instance, TweenInfo.new(unpack(info)), properties)
  19. tween:Play()
  20. return tween
  21. end
  22.  
  23. local function MakeDraggable(topbar, object)
  24. local dragging, 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.08, 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 = "StellarUI"
  64. screen.ResetOnSpawn = false
  65. screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  66.  
  67. local success = pcall(function() screen.Parent = CoreGui end)
  68. if not success then screen.Parent = Players.LocalPlayer:WaitForChild("PlayerGui") end
  69.  
  70. local mainFrame = Instance.new("Frame", screen)
  71. mainFrame.Size = UDim2.new(0, 700, 0, 450)
  72. mainFrame.Position = UDim2.new(0.5, -350, 0.5, -225)
  73. mainFrame.BackgroundColor3 = Theme.MainBg
  74. mainFrame.BorderSizePixel = 0
  75. mainFrame.ClipsDescendants = true
  76. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8)
  77.  
  78. local dragArea = Instance.new("Frame", mainFrame)
  79. dragArea.Size = UDim2.new(1, 0, 0, 40)
  80. dragArea.BackgroundTransparency = 1
  81. dragArea.ZIndex = 100
  82. MakeDraggable(dragArea, mainFrame)
  83.  
  84. local closeBtn = Instance.new("TextButton", dragArea)
  85. closeBtn.Size = UDim2.new(0, 30, 0, 30)
  86. closeBtn.Position = UDim2.new(1, -35, 0, 5)
  87. closeBtn.BackgroundTransparency = 1
  88. closeBtn.Text = "X"
  89. closeBtn.TextColor3 = Theme.SubText
  90. closeBtn.Font = Enum.Font.GothamBold
  91. closeBtn.TextSize = 14
  92. closeBtn.MouseButton1Click:Connect(function()
  93. CreateTween(mainFrame, {0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In}, {Size = UDim2.new(0, 0, 0, 0), Position = UDim2.new(0.5, 0, 0.5, 0)})
  94. task.wait(0.3)
  95. screen:Destroy()
  96. end)
  97.  
  98. local minBtn = Instance.new("TextButton", dragArea)
  99. minBtn.Size = UDim2.new(0, 30, 0, 30)
  100. minBtn.Position = UDim2.new(1, -70, 0, 5)
  101. minBtn.BackgroundTransparency = 1
  102. minBtn.Text = "-"
  103. minBtn.TextColor3 = Theme.SubText
  104. minBtn.Font = Enum.Font.GothamBold
  105. minBtn.TextSize = 20
  106. local minimized = false
  107. minBtn.MouseButton1Click:Connect(function()
  108. minimized = not minimized
  109. CreateTween(mainFrame, {0.4, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out}, {Size = minimized and UDim2.new(0, 700, 0, 40) or UDim2.new(0, 700, 0, 450)})
  110. end)
  111.  
  112. local sidebar = Instance.new("Frame", mainFrame)
  113. sidebar.Size = UDim2.new(0, 200, 1, 0)
  114. sidebar.BackgroundColor3 = Theme.SidebarBg
  115. sidebar.BorderSizePixel = 0
  116.  
  117. local header = Instance.new("Frame", sidebar)
  118. header.Size = UDim2.new(1, 0, 0, 60)
  119. header.BackgroundTransparency = 1
  120.  
  121. local logo = Instance.new("ImageLabel", header)
  122. logo.Size = UDim2.new(0, 24, 0, 24)
  123. logo.Position = UDim2.new(0, 15, 0.5, -12)
  124. logo.BackgroundTransparency = 1
  125. logo.Image = uiConfig.Icon or "rbxassetid://0"
  126.  
  127. local titleLabel = Instance.new("TextLabel", header)
  128. titleLabel.Size = UDim2.new(1, -55, 0, 20)
  129. titleLabel.Position = UDim2.new(0, 45, 0, 12)
  130. titleLabel.BackgroundTransparency = 1
  131. titleLabel.Text = uiConfig.Title or "Library"
  132. titleLabel.TextColor3 = Theme.Text
  133. titleLabel.Font = Enum.Font.GothamBold
  134. titleLabel.TextSize = 13
  135. titleLabel.TextXAlignment = Enum.TextXAlignment.Left
  136.  
  137. local subTitleLabel = Instance.new("TextLabel", header)
  138. subTitleLabel.Size = UDim2.new(1, -55, 0, 15)
  139. subTitleLabel.Position = UDim2.new(0, 45, 0, 32)
  140. subTitleLabel.BackgroundTransparency = 1
  141. subTitleLabel.Text = uiConfig.SubTitle or "Version"
  142. subTitleLabel.TextColor3 = Theme.SubText
  143. subTitleLabel.Font = Enum.Font.Gotham
  144. subTitleLabel.TextSize = 11
  145. subTitleLabel.TextXAlignment = Enum.TextXAlignment.Left
  146.  
  147. local tabContainer = Instance.new("ScrollingFrame", sidebar)
  148. tabContainer.Size = UDim2.new(1, 0, 1, -130)
  149. tabContainer.Position = UDim2.new(0, 0, 0, 60)
  150. tabContainer.BackgroundTransparency = 1
  151. tabContainer.ScrollBarThickness = 0
  152. local tabLayout = Instance.new("UIListLayout", tabContainer)
  153. tabLayout.Padding = UDim.new(0, 2)
  154. tabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  155.  
  156. local profileFrame = Instance.new("Frame", sidebar)
  157. profileFrame.Size = UDim2.new(1, 0, 0, 70)
  158. profileFrame.Position = UDim2.new(0, 0, 1, -70)
  159. profileFrame.BackgroundColor3 = Theme.MainBg
  160. profileFrame.BorderSizePixel = 0
  161.  
  162. local avatar = Instance.new("ImageLabel", profileFrame)
  163. avatar.Size = UDim2.new(0, 36, 0, 36)
  164. avatar.Position = UDim2.new(0, 15, 0.5, -18)
  165. avatar.BackgroundColor3 = Theme.ItemBg
  166. Instance.new("UICorner", avatar).CornerRadius = UDim.new(1, 0)
  167. pcall(function()
  168. avatar.Image = Players:GetUserThumbnailAsync(Players.LocalPlayer.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size48x48)
  169. end)
  170.  
  171. local pName = Instance.new("TextLabel", profileFrame)
  172. pName.Size = UDim2.new(1, -65, 0, 20)
  173. pName.Position = UDim2.new(0, 60, 0, 15)
  174. pName.BackgroundTransparency = 1
  175. pName.Text = Players.LocalPlayer and Players.LocalPlayer.Name or "User"
  176. pName.TextColor3 = Theme.Text
  177. pName.Font = Enum.Font.GothamMedium
  178. pName.TextSize = 13
  179. pName.TextXAlignment = Enum.TextXAlignment.Left
  180.  
  181. local pExp = Instance.new("TextLabel", profileFrame)
  182. pExp.Size = UDim2.new(1, -65, 0, 15)
  183. pExp.Position = UDim2.new(0, 60, 0, 35)
  184. pExp.BackgroundTransparency = 1
  185. pExp.Text = "Expires: <font color='#98E2CC'>Never</font>"
  186. pExp.RichText = true
  187. pExp.TextColor3 = Theme.SubText
  188. pExp.Font = Enum.Font.Gotham
  189. pExp.TextSize = 11
  190. pExp.TextXAlignment = Enum.TextXAlignment.Left
  191.  
  192. local contentContainer = Instance.new("Frame", mainFrame)
  193. contentContainer.Size = UDim2.new(1, -200, 1, 0)
  194. contentContainer.Position = UDim2.new(0, 200, 0, 0)
  195. contentContainer.BackgroundTransparency = 1
  196.  
  197. local window = {Tabs = {}, ActiveTab = nil}
  198.  
  199. local function BuildElements(obj, container)
  200. function obj:Button(name, callback)
  201. local btn = Instance.new("TextButton", container)
  202. btn.Size = UDim2.new(1, 0, 0, 35)
  203. btn.BackgroundColor3 = Theme.ItemBg
  204. btn.Text = name
  205. btn.TextColor3 = Theme.Text
  206. btn.Font = Enum.Font.GothamMedium
  207. btn.TextSize = 13
  208. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
  209.  
  210. btn.MouseEnter:Connect(function() CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}) end)
  211. btn.MouseLeave:Connect(function() CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg}) end)
  212. btn.MouseButton1Click:Connect(function() pcall(callback) end)
  213. end
  214.  
  215. function obj:Toggle(name, default, callback)
  216. local togFrame = Instance.new("Frame", container)
  217. togFrame.Size = UDim2.new(1, 0, 0, 35)
  218. togFrame.BackgroundTransparency = 1
  219.  
  220. local label = Instance.new("TextLabel", togFrame)
  221. label.Size = UDim2.new(1, -60, 1, 0)
  222. label.BackgroundTransparency = 1
  223. label.Text = name
  224. label.TextColor3 = Theme.Text
  225. label.Font = Enum.Font.GothamMedium
  226. label.TextSize = 13
  227. label.TextXAlignment = Enum.TextXAlignment.Left
  228.  
  229. local btn = Instance.new("TextButton", togFrame)
  230. btn.Size = UDim2.new(1, 0, 1, 0)
  231. btn.BackgroundTransparency = 1
  232. btn.Text = ""
  233.  
  234. local track = Instance.new("Frame", togFrame)
  235. track.Size = UDim2.new(0, 36, 0, 20)
  236. track.Position = UDim2.new(1, -36, 0.5, -10)
  237. track.BackgroundColor3 = Theme.ItemBg
  238. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  239.  
  240. local circle = Instance.new("Frame", track)
  241. circle.Size = UDim2.new(0, 14, 0, 14)
  242. circle.Position = UDim2.new(0, 3, 0.5, -7)
  243. circle.BackgroundColor3 = Theme.SubText
  244. Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0)
  245.  
  246. local state = default
  247. local function fire(cb)
  248. if state then
  249. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  250. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(1, -17, 0.5, -7), BackgroundColor3 = Theme.Accent})
  251. else
  252. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  253. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(0, 3, 0.5, -7), BackgroundColor3 = Theme.SubText})
  254. end
  255. if cb then pcall(callback, state) end
  256. end
  257.  
  258. btn.MouseButton1Click:Connect(function()
  259. state = not state
  260. fire(true)
  261. end)
  262. fire(false)
  263. end
  264.  
  265. function obj:Slider(name, min, max, callback)
  266. local sliderFrame = Instance.new("Frame", container)
  267. sliderFrame.Size = UDim2.new(1, 0, 0, 45)
  268. sliderFrame.BackgroundTransparency = 1
  269.  
  270. local label = Instance.new("TextLabel", sliderFrame)
  271. label.Size = UDim2.new(1, -50, 0, 20)
  272. label.BackgroundTransparency = 1
  273. label.Text = name
  274. label.TextColor3 = Theme.Text
  275. label.Font = Enum.Font.GothamMedium
  276. label.TextSize = 13
  277. label.TextXAlignment = Enum.TextXAlignment.Left
  278.  
  279. local valLabel = Instance.new("TextLabel", sliderFrame)
  280. valLabel.Size = UDim2.new(0, 40, 0, 20)
  281. valLabel.Position = UDim2.new(1, -40, 0, 0)
  282. valLabel.BackgroundTransparency = 1
  283. valLabel.Text = tostring(min)
  284. valLabel.TextColor3 = Theme.SubText
  285. valLabel.Font = Enum.Font.Gotham
  286. valLabel.TextSize = 12
  287. valLabel.TextXAlignment = Enum.TextXAlignment.Right
  288.  
  289. local trackBox = Instance.new("TextButton", sliderFrame)
  290. trackBox.Size = UDim2.new(1, -40, 0, 20)
  291. trackBox.Position = UDim2.new(0, 0, 0, 20)
  292. trackBox.BackgroundTransparency = 1
  293. trackBox.Text = ""
  294.  
  295. local track = Instance.new("Frame", trackBox)
  296. track.Size = UDim2.new(1, 0, 0, 6)
  297. track.Position = UDim2.new(0, 0, 0.5, -3)
  298. track.BackgroundColor3 = Theme.ItemBg
  299. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  300.  
  301. local fill = Instance.new("Frame", track)
  302. fill.Size = UDim2.new(0, 0, 1, 0)
  303. fill.BackgroundColor3 = Theme.Accent
  304. Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0)
  305.  
  306. local grabber = Instance.new("Frame", fill)
  307. grabber.Size = UDim2.new(0, 12, 0, 12)
  308. grabber.Position = UDim2.new(1, -6, 0.5, -6)
  309. grabber.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  310. Instance.new("UICorner", grabber).CornerRadius = UDim.new(1, 0)
  311.  
  312. local dragging = false
  313. local function update(input)
  314. local pct = math.clamp((input.Position.X - track.AbsolutePosition.X) / track.AbsoluteSize.X, 0, 1)
  315. local val = math.floor(min + ((max - min) * pct))
  316. CreateTween(fill, {0.1, Enum.EasingStyle.Sine}, {Size = UDim2.new(pct, 0, 1, 0)})
  317. valLabel.Text = tostring(val)
  318. pcall(callback, val)
  319. end
  320.  
  321. trackBox.InputBegan:Connect(function(input)
  322. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  323. dragging = true
  324. update(input)
  325. end
  326. end)
  327. UserInputService.InputEnded:Connect(function(input)
  328. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end
  329. end)
  330. UserInputService.InputChanged:Connect(function(input)
  331. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input) end
  332. end)
  333. end
  334.  
  335. function obj:Dropdown(name, list, callback)
  336. local dropFrame = Instance.new("Frame", container)
  337. dropFrame.Size = UDim2.new(1, 0, 0, 35)
  338. dropFrame.BackgroundColor3 = Theme.ItemBg
  339. dropFrame.ClipsDescendants = true
  340. Instance.new("UICorner", dropFrame).CornerRadius = UDim.new(0, 6)
  341.  
  342. local btn = Instance.new("TextButton", dropFrame)
  343. btn.Size = UDim2.new(1, 0, 0, 35)
  344. btn.BackgroundTransparency = 1
  345. btn.Text = " " .. name
  346. btn.TextColor3 = Theme.Text
  347. btn.Font = Enum.Font.GothamMedium
  348. btn.TextSize = 13
  349. btn.TextXAlignment = Enum.TextXAlignment.Left
  350.  
  351. local icon = Instance.new("TextLabel", btn)
  352. icon.Size = UDim2.new(0, 20, 1, 0)
  353. icon.Position = UDim2.new(1, -25, 0, 0)
  354. icon.BackgroundTransparency = 1
  355. icon.Text = "v"
  356. icon.TextColor3 = Theme.SubText
  357. icon.Font = Enum.Font.GothamBold
  358.  
  359. local layout = Instance.new("UIListLayout", dropFrame)
  360. layout.Padding = UDim.new(0, 2)
  361. layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  362.  
  363. local expanded = false
  364. btn.MouseButton1Click:Connect(function()
  365. expanded = not expanded
  366. CreateTween(dropFrame, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(1, 0, 0, expanded and (35 + (#list * 30) + 4) or 35)})
  367. icon.Text = expanded and "^" or "v"
  368. end)
  369.  
  370. for _, item in ipairs(list) do
  371. local iBtn = Instance.new("TextButton", dropFrame)
  372. iBtn.Size = UDim2.new(1, -8, 0, 28)
  373. iBtn.BackgroundColor3 = Theme.SectionBg
  374. iBtn.Text = item
  375. iBtn.TextColor3 = Theme.SubText
  376. iBtn.Font = Enum.Font.Gotham
  377. iBtn.TextSize = 12
  378. Instance.new("UICorner", iBtn).CornerRadius = UDim.new(0, 4)
  379.  
  380. iBtn.MouseButton1Click:Connect(function()
  381. btn.Text = " " .. name .. " : " .. item
  382. expanded = false
  383. icon.Text = "v"
  384. CreateTween(dropFrame, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(1, 0, 0, 35)})
  385. pcall(callback, item)
  386. end)
  387. end
  388. end
  389.  
  390. function obj:Input(name, callback)
  391. local inFrame = Instance.new("Frame", container)
  392. inFrame.Size = UDim2.new(1, 0, 0, 40)
  393. inFrame.BackgroundTransparency = 1
  394.  
  395. local label = Instance.new("TextLabel", inFrame)
  396. label.Size = UDim2.new(0.5, 0, 1, 0)
  397. label.BackgroundTransparency = 1
  398. label.Text = name
  399. label.TextColor3 = Theme.Text
  400. label.Font = Enum.Font.GothamMedium
  401. label.TextSize = 13
  402. label.TextXAlignment = Enum.TextXAlignment.Left
  403.  
  404. local box = Instance.new("TextBox", inFrame)
  405. box.Size = UDim2.new(0.5, 0, 0, 30)
  406. box.Position = UDim2.new(0.5, 0, 0, 5)
  407. box.BackgroundColor3 = Theme.ItemBg
  408. box.Text = ""
  409. box.PlaceholderText = "..."
  410. box.TextColor3 = Theme.Text
  411. box.PlaceholderColor3 = Theme.SubText
  412. box.Font = Enum.Font.Gotham
  413. box.TextSize = 12
  414. box.ClearTextOnFocus = false
  415. Instance.new("UICorner", box).CornerRadius = UDim.new(0, 6)
  416.  
  417. box.FocusLost:Connect(function(e) if e then pcall(callback, box.Text) end end)
  418. end
  419.  
  420. function obj:Paragraph(title, text)
  421. local pFrame = Instance.new("Frame", container)
  422. pFrame.Size = UDim2.new(1, 0, 0, 60)
  423. pFrame.BackgroundColor3 = Theme.ItemBg
  424. Instance.new("UICorner", pFrame).CornerRadius = UDim.new(0, 6)
  425.  
  426. local pTitle = Instance.new("TextLabel", pFrame)
  427. pTitle.Size = UDim2.new(1, -20, 0, 20)
  428. pTitle.Position = UDim2.new(0, 10, 0, 5)
  429. pTitle.BackgroundTransparency = 1
  430. pTitle.Text = title
  431. pTitle.TextColor3 = Theme.Accent
  432. pTitle.Font = Enum.Font.GothamMedium
  433. pTitle.TextSize = 13
  434. pTitle.TextXAlignment = Enum.TextXAlignment.Left
  435.  
  436. local pText = Instance.new("TextLabel", pFrame)
  437. pText.Size = UDim2.new(1, -20, 1, -30)
  438. pText.Position = UDim2.new(0, 10, 0, 25)
  439. pText.BackgroundTransparency = 1
  440. pText.Text = text
  441. pText.TextColor3 = Theme.SubText
  442. pText.Font = Enum.Font.Gotham
  443. pText.TextSize = 12
  444. pText.TextXAlignment = Enum.TextXAlignment.Left
  445. pText.TextYAlignment = Enum.TextYAlignment.Top
  446. pText.TextWrapped = true
  447. end
  448. end
  449.  
  450. function window:Tab(name)
  451. local tabBtn = Instance.new("TextButton", tabContainer)
  452. tabBtn.Size = UDim2.new(1, -24, 0, 36)
  453. tabBtn.BackgroundColor3 = Theme.Accent
  454. tabBtn.BackgroundTransparency = 1
  455. tabBtn.Text = " " .. name
  456. tabBtn.TextColor3 = Theme.SubText
  457. tabBtn.Font = Enum.Font.GothamMedium
  458. tabBtn.TextSize = 13
  459. tabBtn.TextXAlignment = Enum.TextXAlignment.Left
  460. Instance.new("UICorner", tabBtn).CornerRadius = UDim.new(0, 6)
  461.  
  462. local line = Instance.new("Frame", tabBtn)
  463. line.Size = UDim2.new(0, 3, 0, 0)
  464. line.Position = UDim2.new(1, 10, 0.5, 0)
  465. line.BackgroundColor3 = Theme.Accent
  466. line.BorderSizePixel = 0
  467. Instance.new("UICorner", line).CornerRadius = UDim.new(1, 0)
  468.  
  469. local tabContent = Instance.new("ScrollingFrame", contentContainer)
  470. tabContent.Size = UDim2.new(1, -40, 1, -60)
  471. tabContent.Position = UDim2.new(0, 20, 0, 45)
  472. tabContent.BackgroundTransparency = 1
  473. tabContent.Visible = false
  474. tabContent.ScrollBarThickness = 2
  475. tabContent.ScrollBarImageColor3 = Theme.ItemBg
  476.  
  477. local layout = Instance.new("UIListLayout", tabContent)
  478. layout.Padding = UDim.new(0, 12)
  479.  
  480. local tabObj = {}
  481. table.insert(window.Tabs, {Btn = tabBtn, Content = tabContent, Line = line})
  482.  
  483. tabBtn.MouseButton1Click:Connect(function()
  484. for _, t in ipairs(window.Tabs) do
  485. t.Content.Visible = false
  486. CreateTween(t.Btn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 1, TextColor3 = Theme.SubText})
  487. CreateTween(t.Line, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 0), Position = UDim2.new(1, 10, 0.5, 0)})
  488. end
  489. tabContent.Visible = true
  490. CreateTween(tabBtn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 0, TextColor3 = Theme.DarkText})
  491. CreateTween(line, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 18), Position = UDim2.new(1, 10, 0.5, -9)})
  492. end)
  493.  
  494. if not self.ActiveTab then
  495. self.ActiveTab = tabContent
  496. tabContent.Visible = true
  497. tabBtn.BackgroundTransparency = 0
  498. tabBtn.TextColor3 = Theme.DarkText
  499. line.Size = UDim2.new(0, 3, 0, 18)
  500. line.Position = UDim2.new(1, 10, 0.5, -9)
  501. end
  502.  
  503. function tabObj:Section(secName)
  504. local secFrame = Instance.new("Frame", tabContent)
  505. secFrame.Size = UDim2.new(1, 0, 0, 45)
  506. secFrame.BackgroundColor3 = Theme.SectionBg
  507. Instance.new("UICorner", secFrame).CornerRadius = UDim.new(0, 8)
  508.  
  509. local secTitle = Instance.new("TextLabel", secFrame)
  510. secTitle.Size = UDim2.new(1, -30, 0, 25)
  511. secTitle.Position = UDim2.new(0, 15, 0, 10)
  512. secTitle.BackgroundTransparency = 1
  513. secTitle.Text = secName
  514. secTitle.TextColor3 = Theme.Text
  515. secTitle.Font = Enum.Font.GothamBold
  516. secTitle.TextSize = 13
  517. secTitle.TextXAlignment = Enum.TextXAlignment.Left
  518.  
  519. local secDivider = Instance.new("Frame", secFrame)
  520. secDivider.Size = UDim2.new(1, -30, 0, 1)
  521. secDivider.Position = UDim2.new(0, 15, 0, 35)
  522. secDivider.BackgroundColor3 = Theme.ItemBg
  523. secDivider.BorderSizePixel = 0
  524.  
  525. local secItems = Instance.new("Frame", secFrame)
  526. secItems.Size = UDim2.new(1, -30, 1, -45)
  527. secItems.Position = UDim2.new(0, 15, 0, 45)
  528. secItems.BackgroundTransparency = 1
  529.  
  530. local secLayout = Instance.new("UIListLayout", secItems)
  531. secLayout.Padding = UDim.new(0, 8)
  532. secLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
  533. secFrame.Size = UDim2.new(1, 0, 0, secLayout.AbsoluteContentSize.Y + 55)
  534. end)
  535.  
  536. local secObj = {}
  537. BuildElements(secObj, secItems)
  538. return secObj
  539. end
  540.  
  541. BuildElements(tabObj, tabContent)
  542. return tabObj
  543. end
  544.  
  545. local loaderObj = {}
  546. if sysConfig.Loader then
  547. local loaderContainer = Instance.new("Frame", mainFrame)
  548. loaderContainer.Size = UDim2.new(1, 0, 1, 0)
  549. loaderContainer.BackgroundTransparency = 1
  550. loaderContainer.ZIndex = 200
  551.  
  552. local leftPanel = Instance.new("Frame", loaderContainer)
  553. leftPanel.Size = UDim2.new(0.5, 0, 1, 0)
  554. leftPanel.Position = UDim2.new(0, 0, 0, 0)
  555. leftPanel.BackgroundColor3 = Theme.MainBg
  556. leftPanel.BorderSizePixel = 0
  557. leftPanel.ZIndex = 201
  558.  
  559. local rightPanel = Instance.new("Frame", loaderContainer)
  560. rightPanel.Size = UDim2.new(0.5, 0, 1, 0)
  561. rightPanel.Position = UDim2.new(0.5, 0, 0, 0)
  562. rightPanel.BackgroundColor3 = Theme.MainBg
  563. rightPanel.BorderSizePixel = 0
  564. rightPanel.ZIndex = 201
  565.  
  566. local centerLine = Instance.new("Frame", loaderContainer)
  567. centerLine.Size = UDim2.new(0, 2, 1, 0)
  568. centerLine.Position = UDim2.new(0.5, -1, 0, 0)
  569. centerLine.BackgroundColor3 = Theme.Accent
  570. centerLine.BorderSizePixel = 0
  571. centerLine.ZIndex = 202
  572.  
  573. local loaderText = Instance.new("TextLabel", loaderContainer)
  574. loaderText.Size = UDim2.new(1, 0, 1, 0)
  575. loaderText.BackgroundTransparency = 1
  576. loaderText.Text = "Loading Engine..."
  577. loaderText.TextColor3 = Theme.Text
  578. loaderText.Font = Enum.Font.GothamMedium
  579. loaderText.TextSize = 16
  580. loaderText.ZIndex = 205
  581.  
  582. local isStarted = false
  583. local isEnded = false
  584.  
  585. function loaderObj:Start()
  586. isStarted = true
  587. loaderContainer.Visible = true
  588. task.spawn(function()
  589. while not isEnded do
  590. CreateTween(centerLine, {0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0.8})
  591. task.wait(0.5)
  592. CreateTween(centerLine, {0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0})
  593. task.wait(0.5)
  594. end
  595. end)
  596. end
  597.  
  598. function loaderObj:SetText(txt)
  599. if isStarted and not isEnded then
  600. CreateTween(loaderText, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  601. task.wait(0.15)
  602. loaderText.Text = txt
  603. CreateTween(loaderText, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 0})
  604. end
  605. end
  606.  
  607. function loaderObj:End()
  608. if isStarted and not isEnded then
  609. isEnded = true
  610. CreateTween(loaderText, {0.2, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  611. CreateTween(centerLine, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 2, 0, 0), Position = UDim2.new(0.5, -1, 0.5, 0)})
  612. task.wait(0.3)
  613.  
  614. CreateTween(leftPanel, {0.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(-0.5, 0, 0, 0)})
  615. CreateTween(rightPanel, {0.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(1, 0, 0, 0)})
  616.  
  617. task.delay(0.6, function()
  618. loaderContainer:Destroy()
  619. end)
  620. end
  621. end
  622. loaderObj:Start()
  623. else
  624. loaderObj = nil
  625. end
  626.  
  627. return window, loaderObj
  628. end
  629.  
  630. return Library
  631.  
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=fybhrcnwpc
    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