Messi33536086

Untitled

Mar 4th, 2026
49
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.15 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 isMobile = UserInputService.TouchEnabled
  7. local uiWidth = isMobile and 500 or 700
  8. local uiHeight = isMobile and 320 or 450
  9. local sideWidth = isMobile and 150 or 200
  10.  
  11. local Theme = {
  12. MainBg = Color3.fromRGB(12, 12, 12),
  13. SidebarBg = Color3.fromRGB(16, 16, 16),
  14. SectionBg = Color3.fromRGB(22, 22, 22),
  15. ItemBg = Color3.fromRGB(30, 30, 30),
  16. Accent = Color3.fromRGB(170, 130, 255),
  17. Text = Color3.fromRGB(245, 245, 245),
  18. SubText = Color3.fromRGB(140, 140, 140),
  19. DarkText = Color3.fromRGB(20, 20, 20)
  20. }
  21.  
  22. local function CreateTween(instance, info, properties)
  23. local tween = TweenService:Create(instance, TweenInfo.new(unpack(info)), properties)
  24. tween:Play()
  25. return tween
  26. end
  27.  
  28. local function MakeDraggable(topbar, object)
  29. local dragging, dragInput, dragStart, startPos
  30.  
  31. topbar.InputBegan:Connect(function(input)
  32. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  33. dragging = true
  34. dragStart = input.Position
  35. startPos = object.Position
  36. input.Changed:Connect(function()
  37. if input.UserInputState == Enum.UserInputState.End then
  38. dragging = false
  39. end
  40. end)
  41. end
  42. end)
  43.  
  44. topbar.InputChanged:Connect(function(input)
  45. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  46. dragInput = input
  47. end
  48. end)
  49.  
  50. UserInputService.InputChanged:Connect(function(input)
  51. if input == dragInput and dragging then
  52. local delta = input.Position - dragStart
  53. CreateTween(object, {0.08, Enum.EasingStyle.Sine, Enum.EasingDirection.Out}, {
  54. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  55. })
  56. end
  57. end)
  58. end
  59.  
  60. local Library = {}
  61.  
  62. function Library:Create(config)
  63. config = config or {}
  64. local uiConfig = config.UI or {}
  65. local sysConfig = config.Config or {}
  66.  
  67. local screen = Instance.new("ScreenGui")
  68. screen.Name = "Rosava_Ui_Library"
  69. screen.ResetOnSpawn = false
  70. screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  71.  
  72. local success = pcall(function() screen.Parent = gethui() end)
  73. if not success then screen.Parent = CoreGui end
  74.  
  75. local mainFrame = Instance.new("Frame", screen)
  76. mainFrame.Size = UDim2.new(0, uiWidth, 0, uiHeight)
  77. mainFrame.Position = UDim2.new(0.5, -uiWidth/2, 0.5, -uiHeight/2)
  78. mainFrame.BackgroundColor3 = Theme.MainBg
  79. mainFrame.BorderSizePixel = 0
  80. mainFrame.ClipsDescendants = true
  81. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8)
  82.  
  83. local dragArea = Instance.new("Frame", mainFrame)
  84. dragArea.Size = UDim2.new(1, 0, 0, 40)
  85. dragArea.BackgroundTransparency = 1
  86. dragArea.ZIndex = 100
  87. MakeDraggable(dragArea, mainFrame)
  88.  
  89. local closeBtn = Instance.new("TextButton", dragArea)
  90. closeBtn.Size = UDim2.new(0, 30, 0, 30)
  91. closeBtn.Position = UDim2.new(1, -35, 0, 5)
  92. closeBtn.BackgroundTransparency = 1
  93. closeBtn.Text = "X"
  94. closeBtn.TextColor3 = Theme.SubText
  95. closeBtn.Font = Enum.Font.GothamBold
  96. closeBtn.TextSize = 14
  97. closeBtn.MouseButton1Click:Connect(function()
  98. 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)})
  99. task.wait(0.3)
  100. screen:Destroy()
  101. end)
  102.  
  103. local minBtn = Instance.new("TextButton", dragArea)
  104. minBtn.Size = UDim2.new(0, 30, 0, 30)
  105. minBtn.Position = UDim2.new(1, -70, 0, 5)
  106. minBtn.BackgroundTransparency = 1
  107. minBtn.Text = "-"
  108. minBtn.TextColor3 = Theme.SubText
  109. minBtn.Font = Enum.Font.GothamBold
  110. minBtn.TextSize = 20
  111. local minimized = false
  112. minBtn.MouseButton1Click:Connect(function()
  113. minimized = not minimized
  114. CreateTween(mainFrame, {0.4, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out}, {Size = minimized and UDim2.new(0, uiWidth, 0, 40) or UDim2.new(0, uiWidth, 0, uiHeight)})
  115. end)
  116.  
  117. local sidebar = Instance.new("Frame", mainFrame)
  118. sidebar.Size = UDim2.new(0, sideWidth, 1, 0)
  119. sidebar.BackgroundColor3 = Theme.SidebarBg
  120. sidebar.BorderSizePixel = 0
  121.  
  122. local header = Instance.new("Frame", sidebar)
  123. header.Size = UDim2.new(1, 0, 0, 60)
  124. header.BackgroundTransparency = 1
  125.  
  126. local logo = Instance.new("ImageLabel", header)
  127. logo.Size = UDim2.new(0, 24, 0, 24)
  128. logo.Position = UDim2.new(0, 15, 0.5, -12)
  129. logo.BackgroundTransparency = 1
  130. logo.Image = uiConfig.Icon or "rbxassetid://0"
  131.  
  132. local titleLabel = Instance.new("TextLabel", header)
  133. titleLabel.Size = UDim2.new(1, -55, 0, 20)
  134. titleLabel.Position = UDim2.new(0, 45, 0, 12)
  135. titleLabel.BackgroundTransparency = 1
  136. titleLabel.Text = uiConfig.Title or "Library"
  137. titleLabel.TextColor3 = Theme.Text
  138. titleLabel.Font = Enum.Font.GothamBold
  139. titleLabel.TextSize = 13
  140. titleLabel.TextXAlignment = Enum.TextXAlignment.Left
  141.  
  142. local subTitleLabel = Instance.new("TextLabel", header)
  143. subTitleLabel.Size = UDim2.new(1, -55, 0, 15)
  144. subTitleLabel.Position = UDim2.new(0, 45, 0, 32)
  145. subTitleLabel.BackgroundTransparency = 1
  146. subTitleLabel.Text = uiConfig.SubTitle or "Version"
  147. subTitleLabel.TextColor3 = Theme.SubText
  148. subTitleLabel.Font = Enum.Font.Gotham
  149. subTitleLabel.TextSize = 11
  150. subTitleLabel.TextXAlignment = Enum.TextXAlignment.Left
  151.  
  152. local tabContainer = Instance.new("ScrollingFrame", sidebar)
  153. tabContainer.Size = UDim2.new(1, 0, 1, -130)
  154. tabContainer.Position = UDim2.new(0, 0, 0, 60)
  155. tabContainer.BackgroundTransparency = 1
  156. tabContainer.ScrollBarThickness = 0
  157. tabContainer.AutomaticCanvasSize = Enum.AutomaticSize.Y
  158. tabContainer.CanvasSize = UDim2.new(0, 0, 0, 0)
  159.  
  160. local tabLayout = Instance.new("UIListLayout", tabContainer)
  161. tabLayout.Padding = UDim.new(0, 2)
  162. tabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  163.  
  164. local profileFrame = Instance.new("Frame", sidebar)
  165. profileFrame.Size = UDim2.new(1, 0, 0, 70)
  166. profileFrame.Position = UDim2.new(0, 0, 1, -70)
  167. profileFrame.BackgroundColor3 = Theme.MainBg
  168. profileFrame.BorderSizePixel = 0
  169.  
  170. local avatar = Instance.new("ImageLabel", profileFrame)
  171. avatar.Size = UDim2.new(0, 36, 0, 36)
  172. avatar.Position = UDim2.new(0, 15, 0.5, -18)
  173. avatar.BackgroundColor3 = Theme.ItemBg
  174. Instance.new("UICorner", avatar).CornerRadius = UDim.new(1, 0)
  175. pcall(function()
  176. avatar.Image = Players:GetUserThumbnailAsync(Players.LocalPlayer.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size48x48)
  177. end)
  178.  
  179. local pName = Instance.new("TextLabel", profileFrame)
  180. pName.Size = UDim2.new(1, -65, 0, 20)
  181. pName.Position = UDim2.new(0, 60, 0, 15)
  182. pName.BackgroundTransparency = 1
  183. pName.Text = Players.LocalPlayer and Players.LocalPlayer.Name or "User"
  184. pName.TextColor3 = Theme.Text
  185. pName.Font = Enum.Font.GothamMedium
  186. pName.TextSize = 13
  187. pName.TextXAlignment = Enum.TextXAlignment.Left
  188.  
  189. local pExp = Instance.new("TextLabel", profileFrame)
  190. pExp.Size = UDim2.new(1, -65, 0, 15)
  191. pExp.Position = UDim2.new(0, 60, 0, 35)
  192. pExp.BackgroundTransparency = 1
  193. pExp.Text = "Expires: <font color='#AA82FF'>Never</font>"
  194. pExp.RichText = true
  195. pExp.TextColor3 = Theme.SubText
  196. pExp.Font = Enum.Font.Gotham
  197. pExp.TextSize = 11
  198. pExp.TextXAlignment = Enum.TextXAlignment.Left
  199.  
  200. local contentContainer = Instance.new("Frame", mainFrame)
  201. contentContainer.Size = UDim2.new(1, -sideWidth, 1, 0)
  202. contentContainer.Position = UDim2.new(0, sideWidth, 0, 0)
  203. contentContainer.BackgroundTransparency = 1
  204.  
  205. local window = {Tabs = {}, ActiveTab = nil}
  206.  
  207. local function BuildElements(obj, container)
  208. function obj:Button(name, callback)
  209. local btn = Instance.new("TextButton", container)
  210. btn.Size = UDim2.new(1, 0, 0, 35)
  211. btn.BackgroundColor3 = Theme.ItemBg
  212. btn.Text = name
  213. btn.TextColor3 = Theme.Text
  214. btn.Font = Enum.Font.GothamMedium
  215. btn.TextSize = 13
  216. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
  217.  
  218. btn.MouseEnter:Connect(function() CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}) end)
  219. btn.MouseLeave:Connect(function() CreateTween(btn, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg}) end)
  220. btn.MouseButton1Click:Connect(function() pcall(callback) end)
  221. end
  222.  
  223. function obj:Toggle(name, default, callback)
  224. local togFrame = Instance.new("Frame", container)
  225. togFrame.Size = UDim2.new(1, 0, 0, 35)
  226. togFrame.BackgroundTransparency = 1
  227.  
  228. local label = Instance.new("TextLabel", togFrame)
  229. label.Size = UDim2.new(1, -60, 1, 0)
  230. label.BackgroundTransparency = 1
  231. label.Text = name
  232. label.TextColor3 = Theme.Text
  233. label.Font = Enum.Font.GothamMedium
  234. label.TextSize = 13
  235. label.TextXAlignment = Enum.TextXAlignment.Left
  236.  
  237. local btn = Instance.new("TextButton", togFrame)
  238. btn.Size = UDim2.new(1, 0, 1, 0)
  239. btn.BackgroundTransparency = 1
  240. btn.Text = ""
  241.  
  242. local track = Instance.new("Frame", togFrame)
  243. track.Size = UDim2.new(0, 36, 0, 20)
  244. track.Position = UDim2.new(1, -36, 0.5, -10)
  245. track.BackgroundColor3 = Theme.ItemBg
  246. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  247.  
  248. local circle = Instance.new("Frame", track)
  249. circle.Size = UDim2.new(0, 14, 0, 14)
  250. circle.Position = UDim2.new(0, 3, 0.5, -7)
  251. circle.BackgroundColor3 = Theme.SubText
  252. Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0)
  253.  
  254. local state = default
  255. local function fire(cb)
  256. if state then
  257. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  258. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(1, -17, 0.5, -7), BackgroundColor3 = Theme.Accent})
  259. else
  260. CreateTween(track, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  261. CreateTween(circle, {0.2, Enum.EasingStyle.Quad}, {Position = UDim2.new(0, 3, 0.5, -7), BackgroundColor3 = Theme.SubText})
  262. end
  263. if cb then pcall(callback, state) end
  264. end
  265.  
  266. btn.MouseButton1Click:Connect(function()
  267. state = not state
  268. fire(true)
  269. end)
  270. fire(false)
  271. end
  272.  
  273. function obj:Slider(name, min, max, callback)
  274. local sliderFrame = Instance.new("Frame", container)
  275. sliderFrame.Size = UDim2.new(1, 0, 0, 45)
  276. sliderFrame.BackgroundTransparency = 1
  277.  
  278. local label = Instance.new("TextLabel", sliderFrame)
  279. label.Size = UDim2.new(1, -50, 0, 20)
  280. label.BackgroundTransparency = 1
  281. label.Text = name
  282. label.TextColor3 = Theme.Text
  283. label.Font = Enum.Font.GothamMedium
  284. label.TextSize = 13
  285. label.TextXAlignment = Enum.TextXAlignment.Left
  286.  
  287. local valLabel = Instance.new("TextLabel", sliderFrame)
  288. valLabel.Size = UDim2.new(0, 40, 0, 20)
  289. valLabel.Position = UDim2.new(1, -40, 0, 0)
  290. valLabel.BackgroundTransparency = 1
  291. valLabel.Text = tostring(min)
  292. valLabel.TextColor3 = Theme.SubText
  293. valLabel.Font = Enum.Font.Gotham
  294. valLabel.TextSize = 12
  295. valLabel.TextXAlignment = Enum.TextXAlignment.Right
  296.  
  297. local trackBox = Instance.new("TextButton", sliderFrame)
  298. trackBox.Size = UDim2.new(1, -40, 0, 20)
  299. trackBox.Position = UDim2.new(0, 0, 0, 20)
  300. trackBox.BackgroundTransparency = 1
  301. trackBox.Text = ""
  302.  
  303. local track = Instance.new("Frame", trackBox)
  304. track.Size = UDim2.new(1, 0, 0, 6)
  305. track.Position = UDim2.new(0, 0, 0.5, -3)
  306. track.BackgroundColor3 = Theme.ItemBg
  307. Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0)
  308.  
  309. local fill = Instance.new("Frame", track)
  310. fill.Size = UDim2.new(0, 0, 1, 0)
  311. fill.BackgroundColor3 = Theme.Accent
  312. Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0)
  313.  
  314. local grabber = Instance.new("Frame", fill)
  315. grabber.Size = UDim2.new(0, 12, 0, 12)
  316. grabber.Position = UDim2.new(1, -6, 0.5, -6)
  317. grabber.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  318. Instance.new("UICorner", grabber).CornerRadius = UDim.new(1, 0)
  319.  
  320. local dragging = false
  321. local function update(input)
  322. local pct = math.clamp((input.Position.X - track.AbsolutePosition.X) / track.AbsoluteSize.X, 0, 1)
  323. local val = math.floor(min + ((max - min) * pct))
  324. CreateTween(fill, {0.1, Enum.EasingStyle.Sine}, {Size = UDim2.new(pct, 0, 1, 0)})
  325. valLabel.Text = tostring(val)
  326. pcall(callback, val)
  327. end
  328.  
  329. trackBox.InputBegan:Connect(function(input)
  330. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  331. dragging = true
  332. update(input)
  333. end
  334. end)
  335. UserInputService.InputEnded:Connect(function(input)
  336. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end
  337. end)
  338. UserInputService.InputChanged:Connect(function(input)
  339. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input) end
  340. end)
  341. end
  342.  
  343. function obj:Dropdown(name, list, callback)
  344. local HEADER_H = 38
  345. local ITEM_H = 32
  346. local ITEM_GAP = 3
  347. local PADDING_V = 6
  348. local expandedHeight = HEADER_H + PADDING_V + (#list * (ITEM_H + ITEM_GAP))
  349.  
  350. local wrapper = Instance.new("Frame", container)
  351. wrapper.Size = UDim2.new(1, 0, 0, HEADER_H)
  352. wrapper.BackgroundTransparency = 1
  353. wrapper.ClipsDescendants = false
  354.  
  355. local dropFrame = Instance.new("Frame", wrapper)
  356. dropFrame.Size = UDim2.new(1, 0, 0, HEADER_H)
  357. dropFrame.BackgroundColor3 = Theme.ItemBg
  358. dropFrame.BorderSizePixel = 0
  359. dropFrame.ClipsDescendants = true
  360. dropFrame.ZIndex = 10
  361. local dropCorner = Instance.new("UICorner", dropFrame)
  362. dropCorner.CornerRadius = UDim.new(0, 8)
  363.  
  364. local dropStroke = Instance.new("UIStroke", dropFrame)
  365. dropStroke.Color = Color3.fromRGB(45, 45, 45)
  366. dropStroke.Thickness = 1
  367. dropStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  368.  
  369. local headerBtn = Instance.new("TextButton", dropFrame)
  370. headerBtn.Size = UDim2.new(1, 0, 0, HEADER_H)
  371. headerBtn.BackgroundTransparency = 1
  372. headerBtn.Text = ""
  373. headerBtn.ZIndex = 12
  374.  
  375. local selectedLabel = Instance.new("TextLabel", headerBtn)
  376. selectedLabel.Size = UDim2.new(1, -48, 1, 0)
  377. selectedLabel.Position = UDim2.new(0, 14, 0, 0)
  378. selectedLabel.BackgroundTransparency = 1
  379. selectedLabel.Text = name
  380. selectedLabel.TextColor3 = Theme.SubText
  381. selectedLabel.Font = Enum.Font.GothamMedium
  382. selectedLabel.TextSize = 13
  383. selectedLabel.TextXAlignment = Enum.TextXAlignment.Left
  384. selectedLabel.ZIndex = 13
  385.  
  386. local iconContainer = Instance.new("Frame", headerBtn)
  387. iconContainer.Size = UDim2.new(0, 20, 0, 20)
  388. iconContainer.Position = UDim2.new(1, -32, 0.5, -10)
  389. iconContainer.BackgroundTransparency = 1
  390. iconContainer.ZIndex = 13
  391.  
  392. local chevronIcon = Instance.new("ImageLabel", iconContainer)
  393. chevronIcon.Size = UDim2.new(1, 0, 1, 0)
  394. chevronIcon.BackgroundTransparency = 1
  395. chevronIcon.Image = "rbxassetid://7072717851"
  396. chevronIcon.ImageColor3 = Theme.SubText
  397. chevronIcon.ZIndex = 14
  398.  
  399. pcall(function()
  400. local HttpService = game:GetService("HttpService")
  401. local svgUrl = "https://api.iconify.design/lucide/chevron-down.svg?color=%23888888&width=20&height=20"
  402. local imgLabel = Instance.new("ImageLabel", iconContainer)
  403. imgLabel.Size = UDim2.new(1, 0, 1, 0)
  404. imgLabel.BackgroundTransparency = 1
  405. imgLabel.ZIndex = 15
  406. local contentId = game:GetService("ContentProvider")
  407. imgLabel.Image = svgUrl
  408. chevronIcon.Visible = false
  409. end)
  410.  
  411. local divider = Instance.new("Frame", dropFrame)
  412. divider.Size = UDim2.new(1, -28, 0, 1)
  413. divider.Position = UDim2.new(0, 14, 0, HEADER_H)
  414. divider.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  415. divider.BorderSizePixel = 0
  416. divider.BackgroundTransparency = 1
  417. divider.ZIndex = 11
  418.  
  419. local itemsFrame = Instance.new("Frame", dropFrame)
  420. itemsFrame.Size = UDim2.new(1, 0, 1, -HEADER_H - PADDING_V)
  421. itemsFrame.Position = UDim2.new(0, 0, 0, HEADER_H + PADDING_V)
  422. itemsFrame.BackgroundTransparency = 1
  423. itemsFrame.ZIndex = 11
  424.  
  425. local itemLayout = Instance.new("UIListLayout", itemsFrame)
  426. itemLayout.Padding = UDim.new(0, ITEM_GAP)
  427. itemLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  428.  
  429. local itemsPadding = Instance.new("UIPadding", itemsFrame)
  430. itemsPadding.PaddingLeft = UDim.new(0, 8)
  431. itemsPadding.PaddingRight = UDim.new(0, 8)
  432.  
  433. local selectedItem = nil
  434. local expanded = false
  435.  
  436. local function setExpanded(state)
  437. expanded = state
  438. wrapper.Size = UDim2.new(1, 0, 0, state and expandedHeight or HEADER_H)
  439. CreateTween(dropFrame, {0.35, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out}, {
  440. Size = UDim2.new(1, 0, 0, state and expandedHeight or HEADER_H)
  441. })
  442. CreateTween(dropStroke, {0.2, Enum.EasingStyle.Quad}, {
  443. Color = state and Theme.Accent or Color3.fromRGB(45, 45, 45)
  444. })
  445. CreateTween(divider, {0.2, Enum.EasingStyle.Quad}, {
  446. BackgroundTransparency = state and 0 or 1
  447. })
  448. CreateTween(chevronIcon, {0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out}, {
  449. Rotation = state and 180 or 0,
  450. ImageColor3 = state and Theme.Accent or Theme.SubText
  451. })
  452. if state then
  453. CreateTween(dropFrame, {0.1, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(34, 34, 34)})
  454. else
  455. CreateTween(dropFrame, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  456. end
  457. end
  458.  
  459. headerBtn.MouseButton1Click:Connect(function()
  460. setExpanded(not expanded)
  461. end)
  462.  
  463. headerBtn.MouseEnter:Connect(function()
  464. if not expanded then
  465. CreateTween(dropFrame, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(36, 36, 36)})
  466. end
  467. end)
  468. headerBtn.MouseLeave:Connect(function()
  469. if not expanded then
  470. CreateTween(dropFrame, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.ItemBg})
  471. end
  472. end)
  473.  
  474. for i, item in ipairs(list) do
  475. local iFrame = Instance.new("Frame", itemsFrame)
  476. iFrame.Size = UDim2.new(1, 0, 0, ITEM_H)
  477. iFrame.BackgroundColor3 = Theme.SectionBg
  478. iFrame.BorderSizePixel = 0
  479. iFrame.ZIndex = 12
  480. local iCorner = Instance.new("UICorner", iFrame)
  481. iCorner.CornerRadius = UDim.new(0, 6)
  482.  
  483. local iDot = Instance.new("Frame", iFrame)
  484. iDot.Size = UDim2.new(0, 4, 0, 4)
  485. iDot.Position = UDim2.new(0, 10, 0.5, -2)
  486. iDot.BackgroundColor3 = Theme.SubText
  487. iDot.BorderSizePixel = 0
  488. iDot.ZIndex = 13
  489. Instance.new("UICorner", iDot).CornerRadius = UDim.new(1, 0)
  490.  
  491. local iLabel = Instance.new("TextLabel", iFrame)
  492. iLabel.Size = UDim2.new(1, -40, 1, 0)
  493. iLabel.Position = UDim2.new(0, 22, 0, 0)
  494. iLabel.BackgroundTransparency = 1
  495. iLabel.Text = item
  496. iLabel.TextColor3 = Theme.SubText
  497. iLabel.Font = Enum.Font.Gotham
  498. iLabel.TextSize = 12
  499. iLabel.TextXAlignment = Enum.TextXAlignment.Left
  500. iLabel.ZIndex = 13
  501.  
  502. local iCheck = Instance.new("Frame", iFrame)
  503. iCheck.Size = UDim2.new(0, 6, 0, 6)
  504. iCheck.Position = UDim2.new(1, -16, 0.5, -3)
  505. iCheck.BackgroundColor3 = Theme.Accent
  506. iCheck.BackgroundTransparency = 1
  507. iCheck.BorderSizePixel = 0
  508. iCheck.ZIndex = 13
  509. Instance.new("UICorner", iCheck).CornerRadius = UDim.new(1, 0)
  510.  
  511. local iBtn = Instance.new("TextButton", iFrame)
  512. iBtn.Size = UDim2.new(1, 0, 1, 0)
  513. iBtn.BackgroundTransparency = 1
  514. iBtn.Text = ""
  515. iBtn.ZIndex = 14
  516.  
  517. iBtn.MouseEnter:Connect(function()
  518. CreateTween(iFrame, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(35, 35, 35)})
  519. CreateTween(iLabel, {0.15, Enum.EasingStyle.Quad}, {TextColor3 = Theme.Text})
  520. CreateTween(iDot, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.Accent})
  521. end)
  522. iBtn.MouseLeave:Connect(function()
  523. if selectedItem ~= item then
  524. CreateTween(iFrame, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.SectionBg})
  525. CreateTween(iLabel, {0.15, Enum.EasingStyle.Quad}, {TextColor3 = Theme.SubText})
  526. CreateTween(iDot, {0.15, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.SubText})
  527. end
  528. end)
  529.  
  530. iBtn.MouseButton1Click:Connect(function()
  531. if selectedItem then
  532. for _, child in ipairs(itemsFrame:GetChildren()) do
  533. if child:IsA("Frame") then
  534. local lbl = child:FindFirstChildOfClass("TextLabel")
  535. local dot = child:FindFirstChildWhichIsA("Frame")
  536. local chk = child:FindFirstChild("Frame")
  537. CreateTween(child, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.SectionBg})
  538. if lbl then CreateTween(lbl, {0.2, Enum.EasingStyle.Quad}, {TextColor3 = Theme.SubText}) end
  539. end
  540. end
  541. end
  542.  
  543. selectedItem = item
  544. CreateTween(iFrame, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Color3.fromRGB(38, 28, 55)})
  545. CreateTween(iLabel, {0.2, Enum.EasingStyle.Quad}, {TextColor3 = Theme.Accent})
  546. CreateTween(iDot, {0.2, Enum.EasingStyle.Quad}, {BackgroundColor3 = Theme.Accent})
  547. CreateTween(iCheck, {0.2, Enum.EasingStyle.Back}, {BackgroundTransparency = 0})
  548.  
  549. CreateTween(selectedLabel, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  550. task.wait(0.12)
  551. selectedLabel.Text = item
  552. selectedLabel.TextColor3 = Theme.Text
  553. CreateTween(selectedLabel, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 0})
  554.  
  555. task.wait(0.1)
  556. setExpanded(false)
  557. pcall(callback, item)
  558. end)
  559. end
  560.  
  561. setExpanded(false)
  562. end
  563.  
  564. function obj:Input(name, callback)
  565. local inFrame = Instance.new("Frame", container)
  566. inFrame.Size = UDim2.new(1, 0, 0, 40)
  567. inFrame.BackgroundTransparency = 1
  568.  
  569. local label = Instance.new("TextLabel", inFrame)
  570. label.Size = UDim2.new(0.5, 0, 1, 0)
  571. label.BackgroundTransparency = 1
  572. label.Text = name
  573. label.TextColor3 = Theme.Text
  574. label.Font = Enum.Font.GothamMedium
  575. label.TextSize = 13
  576. label.TextXAlignment = Enum.TextXAlignment.Left
  577.  
  578. local box = Instance.new("TextBox", inFrame)
  579. box.Size = UDim2.new(0.5, 0, 0, 30)
  580. box.Position = UDim2.new(0.5, 0, 0, 5)
  581. box.BackgroundColor3 = Theme.ItemBg
  582. box.Text = ""
  583. box.PlaceholderText = "..."
  584. box.TextColor3 = Theme.Text
  585. box.PlaceholderColor3 = Theme.SubText
  586. box.Font = Enum.Font.Gotham
  587. box.TextSize = 12
  588. box.ClearTextOnFocus = false
  589. Instance.new("UICorner", box).CornerRadius = UDim.new(0, 6)
  590.  
  591. box.FocusLost:Connect(function(e) if e then pcall(callback, box.Text) end end)
  592. end
  593. end
  594.  
  595. function window:Tab(name)
  596. local tabBtn = Instance.new("TextButton", tabContainer)
  597. tabBtn.Size = UDim2.new(1, -24, 0, 36)
  598. tabBtn.BackgroundColor3 = Theme.Accent
  599. tabBtn.BackgroundTransparency = 1
  600. tabBtn.Text = " " .. name
  601. tabBtn.TextColor3 = Theme.SubText
  602. tabBtn.Font = Enum.Font.GothamMedium
  603. tabBtn.TextSize = 13
  604. tabBtn.TextXAlignment = Enum.TextXAlignment.Left
  605. Instance.new("UICorner", tabBtn).CornerRadius = UDim.new(0, 6)
  606.  
  607. local line = Instance.new("Frame", tabBtn)
  608. line.Size = UDim2.new(0, 3, 0, 0)
  609. line.Position = UDim2.new(1, 10, 0.5, 0)
  610. line.BackgroundColor3 = Theme.Accent
  611. line.BorderSizePixel = 0
  612. Instance.new("UICorner", line).CornerRadius = UDim.new(1, 0)
  613.  
  614. local tabContent = Instance.new("ScrollingFrame", contentContainer)
  615. tabContent.Size = UDim2.new(1, -40, 1, -60)
  616. tabContent.Position = UDim2.new(0, 20, 0, 45)
  617. tabContent.BackgroundTransparency = 1
  618. tabContent.Visible = false
  619. tabContent.ScrollBarThickness = 2
  620. tabContent.ScrollBarImageColor3 = Theme.ItemBg
  621. tabContent.AutomaticCanvasSize = Enum.AutomaticSize.Y
  622. tabContent.CanvasSize = UDim2.new(0, 0, 0, 0)
  623.  
  624. local layout = Instance.new("UIListLayout", tabContent)
  625. layout.Padding = UDim.new(0, 12)
  626.  
  627. local tabObj = {}
  628. table.insert(window.Tabs, {Btn = tabBtn, Content = tabContent, Line = line})
  629.  
  630. tabBtn.MouseButton1Click:Connect(function()
  631. for _, t in ipairs(window.Tabs) do
  632. t.Content.Visible = false
  633. CreateTween(t.Btn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 1, TextColor3 = Theme.SubText})
  634. CreateTween(t.Line, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 0), Position = UDim2.new(1, 10, 0.5, 0)})
  635. end
  636. tabContent.Visible = true
  637. CreateTween(tabBtn, {0.3, Enum.EasingStyle.Quad}, {BackgroundTransparency = 0, TextColor3 = Theme.DarkText})
  638. CreateTween(line, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 3, 0, 18), Position = UDim2.new(1, 10, 0.5, -9)})
  639. end)
  640.  
  641. if not self.ActiveTab then
  642. self.ActiveTab = tabContent
  643. tabContent.Visible = true
  644. tabBtn.BackgroundTransparency = 0
  645. tabBtn.TextColor3 = Theme.DarkText
  646. line.Size = UDim2.new(0, 3, 0, 18)
  647. line.Position = UDim2.new(1, 10, 0.5, -9)
  648. end
  649.  
  650. function tabObj:Section(secName)
  651. local secFrame = Instance.new("Frame", tabContent)
  652. secFrame.Size = UDim2.new(1, 0, 0, 45)
  653. secFrame.BackgroundColor3 = Theme.SectionBg
  654. Instance.new("UICorner", secFrame).CornerRadius = UDim.new(0, 8)
  655.  
  656. local secTitle = Instance.new("TextLabel", secFrame)
  657. secTitle.Size = UDim2.new(1, -30, 0, 25)
  658. secTitle.Position = UDim2.new(0, 15, 0, 10)
  659. secTitle.BackgroundTransparency = 1
  660. secTitle.Text = secName
  661. secTitle.TextColor3 = Theme.Text
  662. secTitle.Font = Enum.Font.GothamBold
  663. secTitle.TextSize = 13
  664. secTitle.TextXAlignment = Enum.TextXAlignment.Left
  665.  
  666. local secDivider = Instance.new("Frame", secFrame)
  667. secDivider.Size = UDim2.new(1, -30, 0, 1)
  668. secDivider.Position = UDim2.new(0, 15, 0, 35)
  669. secDivider.BackgroundColor3 = Theme.ItemBg
  670. secDivider.BorderSizePixel = 0
  671.  
  672. local secItems = Instance.new("Frame", secFrame)
  673. secItems.Size = UDim2.new(1, -30, 1, -45)
  674. secItems.Position = UDim2.new(0, 15, 0, 45)
  675. secItems.BackgroundTransparency = 1
  676.  
  677. local secLayout = Instance.new("UIListLayout", secItems)
  678. secLayout.Padding = UDim.new(0, 8)
  679. secLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
  680. secFrame.Size = UDim2.new(1, 0, 0, secLayout.AbsoluteContentSize.Y + 55)
  681. end)
  682.  
  683. local secObj = {}
  684. BuildElements(secObj, secItems)
  685. return secObj
  686. end
  687.  
  688. BuildElements(tabObj, tabContent)
  689. return tabObj
  690. end
  691.  
  692. local loaderObj = {}
  693. if sysConfig.Loader then
  694. local loaderContainer = Instance.new("Frame", mainFrame)
  695. loaderContainer.Size = UDim2.new(1, 0, 1, 0)
  696. loaderContainer.BackgroundTransparency = 1
  697. loaderContainer.ZIndex = 200
  698.  
  699. local leftPanel = Instance.new("Frame", loaderContainer)
  700. leftPanel.Size = UDim2.new(0.5, 0, 1, 0)
  701. leftPanel.Position = UDim2.new(0, 0, 0, 0)
  702. leftPanel.BackgroundColor3 = Theme.MainBg
  703. leftPanel.BorderSizePixel = 0
  704. leftPanel.ZIndex = 201
  705.  
  706. local rightPanel = Instance.new("Frame", loaderContainer)
  707. rightPanel.Size = UDim2.new(0.5, 0, 1, 0)
  708. rightPanel.Position = UDim2.new(0.5, 0, 0, 0)
  709. rightPanel.BackgroundColor3 = Theme.MainBg
  710. rightPanel.BorderSizePixel = 0
  711. rightPanel.ZIndex = 201
  712.  
  713. local centerLine = Instance.new("Frame", loaderContainer)
  714. centerLine.Size = UDim2.new(0, 2, 1, 0)
  715. centerLine.Position = UDim2.new(0.5, -1, 0, 0)
  716. centerLine.BackgroundColor3 = Theme.Accent
  717. centerLine.BorderSizePixel = 0
  718. centerLine.ZIndex = 202
  719.  
  720. local loaderText = Instance.new("TextLabel", loaderContainer)
  721. loaderText.Size = UDim2.new(1, 0, 1, 0)
  722. loaderText.BackgroundTransparency = 1
  723. loaderText.Text = "Loading Engine..."
  724. loaderText.TextColor3 = Theme.Text
  725. loaderText.Font = Enum.Font.GothamMedium
  726. loaderText.TextSize = 16
  727. loaderText.ZIndex = 205
  728.  
  729. local isStarted = false
  730. local isEnded = false
  731.  
  732. function loaderObj:Start()
  733. isStarted = true
  734. loaderContainer.Visible = true
  735. task.spawn(function()
  736. while not isEnded do
  737. CreateTween(centerLine, {0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0.8})
  738. task.wait(0.5)
  739. CreateTween(centerLine, {0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut}, {BackgroundTransparency = 0})
  740. task.wait(0.5)
  741. end
  742. end)
  743. end
  744.  
  745. function loaderObj:SetText(txt)
  746. if isStarted and not isEnded then
  747. CreateTween(loaderText, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  748. task.wait(0.15)
  749. loaderText.Text = txt
  750. CreateTween(loaderText, {0.15, Enum.EasingStyle.Quad}, {TextTransparency = 0})
  751. end
  752. end
  753.  
  754. function loaderObj:End()
  755. if isStarted and not isEnded then
  756. isEnded = true
  757. CreateTween(loaderText, {0.2, Enum.EasingStyle.Quad}, {TextTransparency = 1})
  758. CreateTween(centerLine, {0.3, Enum.EasingStyle.Exponential}, {Size = UDim2.new(0, 2, 0, 0), Position = UDim2.new(0.5, -1, 0.5, 0)})
  759. task.wait(0.3)
  760.  
  761. CreateTween(leftPanel, {0.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(-0.5, 0, 0, 0)})
  762. CreateTween(rightPanel, {0.6, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut}, {Position = UDim2.new(1, 0, 0, 0)})
  763.  
  764. task.delay(0.6, function()
  765. loaderContainer:Destroy()
  766. end)
  767. end
  768. end
  769. loaderObj:Start()
  770. else
  771. loaderObj = nil
  772. end
  773.  
  774. return window, loaderObj
  775. end
  776.  
  777. return Library
  778.  
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=hpysnbzpbm
    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