NiceBBMBThai

Atlas UI LIBRARY

Oct 12th, 2022 (edited)
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 320.04 KB | None | 0 0
  1. local VERSION = "1.1"
  2.  
  3. -- LURAPH (if i left it enabled)
  4. if not LPH_OBFUSCATED then
  5. local function r(...)
  6. return ...
  7. end
  8. LPH_JIT_MAX = r
  9. LPH_NO_VIRTUALIZE = r
  10. LPH_JIT = r
  11. end
  12.  
  13. -- SERVICES
  14. local Players = game:GetService("Players")
  15. local TS = game:GetService("TweenService")
  16. local Run = game:GetService("RunService")
  17. local UIS = game:GetService("UserInputService")
  18. local Core = game:GetService("CoreGui")
  19. local MP = game:GetService("MarketplaceService")
  20.  
  21. -- VARIABLES
  22. local player = Players.LocalPlayer
  23. local mouse = player:GetMouse()
  24.  
  25. -- CLASSES
  26. local Library = {}
  27. local Page = {}
  28. local Section = {}
  29. local Element = {}
  30.  
  31. Library.__index = Library
  32. Page.__index = Page
  33. Section.__index = Section
  34. Element.__index = Element
  35.  
  36. -- CONSTANTS
  37. local GameName = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
  38.  
  39. -- ICONS
  40. Library.Icons = {
  41. ["Warning"] = 11110093949;
  42. ["Info"] = 11109991278;
  43. ["Error"] = 11109992284
  44. }
  45.  
  46. local old_warn = warn
  47. local warn = function(...)
  48. old_warn("[ATLAS]",...)
  49. end
  50.  
  51. -- UTILITY
  52. local utility = {}
  53.  
  54. do
  55. function utility.BlankFunction()
  56. end
  57.  
  58. function utility:Lerp(start,goal,alpha)
  59. return start+(goal-start)*alpha
  60. end
  61.  
  62. function utility:Warn(...)
  63. warn("ARTEMIS:", ...)
  64. end
  65.  
  66. function utility:Wait()
  67. return Run.RenderStepped:Wait()
  68. end
  69.  
  70. function utility:Disconnect(connection)
  71. pcall(function()
  72. connection:Disconnect()
  73. end)
  74. end
  75.  
  76. function utility:HandleGradientButton(element,callback)
  77. element.Active = true
  78. local button = element
  79. local gradient = element:FindFirstChildOfClass("UIGradient")
  80.  
  81. button.InputBegan:Connect(function(input)
  82. if input.UserInputType==Enum.UserInputType.MouseButton1 then
  83. gradient.Rotation = 90
  84. end
  85. end)
  86.  
  87. button.MouseLeave:Connect(function()
  88. gradient.Rotation = -90
  89. end)
  90.  
  91. local con = UIS.InputEnded:Connect(function(input)
  92. if input.UserInputType==Enum.UserInputType.MouseButton1 then
  93. if gradient.Rotation == 90 then
  94. coroutine.wrap(callback)()
  95. end
  96. gradient.Rotation = -90
  97. end
  98. end)
  99.  
  100. return con -- for proper destroying and to prevent memory leaks
  101. end
  102.  
  103. function utility:FormatNumber(number,decimalPlaces)
  104. if not typeof(number)=="number" then
  105. error("Arg 1 must be a number")
  106. end
  107. decimalPlaces = math.clamp(decimalPlaces,0,math.huge)
  108. local exp = 10^decimalPlaces
  109. number = math.round(number*exp)/exp
  110. local formatted = number
  111. LPH_JIT_MAX(function()
  112. while true do
  113. local k
  114. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  115. if (k==0) then
  116. break
  117. end
  118. end
  119. end)()
  120. return formatted
  121. end
  122.  
  123. function utility:IsPadding(element)
  124. return element:IsA("Frame") and string.lower(element.Name):find("padding")
  125. end
  126.  
  127. function utility:DoClickEffect(element)
  128. local function makeEffect()
  129. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  130. local Converted = {
  131. ["__buttonEffect"] = Instance.new("Frame");
  132. ["_ImageLabel"] = Instance.new("ImageLabel");
  133. }
  134.  
  135. --Properties
  136.  
  137. Converted["__buttonEffect"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  138. Converted["__buttonEffect"].BackgroundTransparency = 1
  139. Converted["__buttonEffect"].ClipsDescendants = true
  140. Converted["__buttonEffect"].Size = UDim2.new(1, 0, 1, 0)
  141. Converted["__buttonEffect"].ZIndex = 0
  142. Converted["__buttonEffect"].Name = "_buttonEffect"
  143.  
  144. Converted["_ImageLabel"].Image = "http://www.roblox.com/asset/?id=10261338527"
  145. Converted["_ImageLabel"].ImageRectSize = Vector2.new(200, 200)
  146. Converted["_ImageLabel"].ImageTransparency = 0.8999999761581421
  147. Converted["_ImageLabel"].ScaleType = Enum.ScaleType.Crop
  148. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  149. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  150. Converted["_ImageLabel"].BackgroundTransparency = 1
  151. Converted["_ImageLabel"].Position = UDim2.new(0, 0, 0, 0)
  152. Converted["_ImageLabel"].Size = UDim2.new(0, 0, 1, 0)
  153. Converted["_ImageLabel"].Parent = Converted["__buttonEffect"]
  154.  
  155. return Converted["__buttonEffect"]
  156. end
  157.  
  158. local effect = makeEffect()
  159. effect.Parent = element
  160.  
  161. local corner = element:FindFirstChildOfClass("UICorner")
  162. if corner then
  163. corner:Clone().Parent = effect
  164. end
  165.  
  166. local tweenInfo = TweenInfo.new(0.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  167.  
  168. local realAbsPosition = Vector2.new(element.AbsolutePosition.X-(element.AbsoluteSize.X*element.AnchorPoint.X),element.AbsolutePosition.Y-(element.AbsoluteSize.Y*element.AnchorPoint.Y))
  169. local relative = Vector2.new(mouse.X,mouse.Y)-realAbsPosition
  170.  
  171. effect.ImageLabel.Position = UDim2.new(0,relative.X,0.5,0)
  172. effect.ImageLabel.ImageRectOffset = Vector2.new(0,-relative.Y)
  173.  
  174. local tween = TS:Create(effect.ImageLabel,tweenInfo,{
  175. ["Size"] = UDim2.new(0,375,1,0);
  176. ["ImageTransparency"] = 1;
  177. })
  178.  
  179. tween:Play()
  180.  
  181. tween.Completed:Connect(function()
  182. effect:Destroy()
  183. end)
  184.  
  185. return tween
  186. end
  187.  
  188. function utility:GetColor(percentage, ColorKeyPoints)
  189. if (percentage < 0) or (percentage>1) then
  190. utility:Warn('getColor got out of bounds percentage (less than 0 or greater than 1')
  191. end
  192.  
  193. local closestToLeft = ColorKeyPoints[1]
  194. local closestToRight = ColorKeyPoints[#ColorKeyPoints]
  195. local LocalPercentage = .5
  196. local color = closestToLeft.Value
  197.  
  198. -- This loop can probably be improved by doing something like a Binary search instead
  199. -- This should work fine though
  200. for i=1,#ColorKeyPoints-1 do
  201. if (ColorKeyPoints[i].Time <= percentage) and (ColorKeyPoints[i+1].Time >= percentage) then
  202. closestToLeft = ColorKeyPoints[i]
  203. closestToRight = ColorKeyPoints[i+1]
  204. LocalPercentage = (percentage-closestToLeft.Time)/(closestToRight.Time-closestToLeft.Time)
  205. color = closestToLeft.Value:lerp(closestToRight.Value,LocalPercentage)
  206. return color
  207. end
  208. end
  209. utility:Warn('Color not found!')
  210. return color
  211. end
  212.  
  213. function utility:CreateButtonObject(obj)
  214. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  215. local Converted = {
  216. ["_Button"] = Instance.new("TextButton");
  217. }
  218.  
  219. --Properties
  220.  
  221. Converted["_Button"].Font = Enum.Font.SourceSans
  222. Converted["_Button"].Text = ""
  223. Converted["_Button"].TextColor3 = Color3.fromRGB(0, 0, 0)
  224. Converted["_Button"].TextSize = 14
  225. Converted["_Button"].AnchorPoint = Vector2.new(0.5, 0.5)
  226. Converted["_Button"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  227. Converted["_Button"].BackgroundTransparency = 1
  228. Converted["_Button"].Position = UDim2.new(0.5, 0, 0.5, 0)
  229. Converted["_Button"].Size = UDim2.new(1, 0, 1, 0)
  230. Converted["_Button"].Name = "Button"
  231. Converted["_Button"].Parent = obj -- modified
  232.  
  233. return Converted["_Button"]
  234. end
  235.  
  236. function utility:CreateHint()
  237. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  238. local Converted = {
  239. ["_Hint"] = Instance.new("StringValue");
  240. }
  241.  
  242. --Properties
  243.  
  244. Converted["_Hint"].Value = "Hint"
  245. Converted["_Hint"].Name = "Hint"
  246.  
  247. return Converted["_Hint"]
  248. end
  249.  
  250. function utility:GetPlayerThumbnail(UserId)
  251. return "rbxthumb://type=AvatarHeadShot&id="..UserId.."&w=420&h=420"
  252. end
  253.  
  254. function utility:GetGameThumbnail(placeId) -- use in studio
  255. local thumbnailId = MP:GetProductInfo(placeId).IconImageAssetId
  256. return "rbxassetid://"..thumbnailId
  257. end
  258.  
  259. function utility:SetModal(obj)
  260. local m = Instance.new("TextButton")
  261. m.Text = ""
  262. m.BackgroundTransparency = 1
  263. m.Modal = true
  264. m.TextTransparency = 1
  265. m.Size = UDim2.fromOffset(1,1)
  266. m.ZIndex = -25
  267. m.Visible = true
  268. m.Active = true
  269. m.AutoButtonColor = false
  270. m.Name = "__modal"
  271. m.Parent = obj
  272. return obj
  273. end
  274.  
  275. function utility:Tween(object,properties,duration,...)
  276. assert(object and properties and duration,"Missing arguments for utility::Tween")
  277. local tween = TS:Create(object,TweenInfo.new(duration,...),properties)
  278. tween:Play()
  279. return tween
  280. end
  281.  
  282. function utility:GetTextContrast(color)
  283. local r,g,b = color.R*255,color.G*255,color.B*255
  284. return (((r * 0.299) + (g * 0.587) + (b * 0.114)) > 150) and Color3.new(0,0,0) or Color3.new(1,1,1)
  285. end
  286.  
  287. function utility:InitDragging(frame,button)
  288. button = button or frame
  289.  
  290. assert(button and frame,"Need a frame in order to start dragging")
  291.  
  292. -- dragging
  293. local _dragging = false
  294. local _dragging_offset
  295.  
  296. local inputBegan = button.MouseButton1Down:Connect(function()
  297. _dragging = true
  298. _dragging_offset = Vector2.new(mouse.X,mouse.Y)-frame.AbsolutePosition
  299. end)
  300.  
  301. local inputEnded = mouse.Button1Up:Connect(function()
  302. _dragging = false
  303. _dragging_offset = nil
  304. end)
  305.  
  306. local updateEvent
  307. LPH_JIT_MAX(function()
  308. updateEvent = Run.RenderStepped:Connect(function()
  309. if frame.Visible == false or not UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  310. _dragging = false
  311. _dragging_offset = nil
  312. end
  313. if _dragging and _dragging_offset then
  314. frame.Position = UDim2.fromOffset(mouse.X-_dragging_offset.X+(frame.AbsoluteSize.X*frame.AnchorPoint.X),mouse.Y-_dragging_offset.Y+36+(frame.AbsoluteSize.Y*frame.AnchorPoint.Y))
  315. end
  316. end)
  317. end)()
  318.  
  319. return {inputBegan,inputEnded,updateEvent}
  320. end
  321.  
  322. function utility:HandleButton(button,callback)
  323.  
  324. end
  325.  
  326. function utility:Requirement(arg,errorResponse)
  327. if not arg then
  328. error(errorResponse)
  329. end
  330. end
  331. end
  332.  
  333. -- LIBRARY
  334. do
  335. function Library.new(info)
  336. -- Requirements
  337. utility:Requirement(type(info)=="table","Info must be a table!")
  338. utility:Requirement(info.Name,"Missing config folder argument")
  339. if info.Color==nil then
  340. info.Color = Color3.fromRGB(164, 53, 90)
  341. end
  342. if info.Credit==nil then
  343. info.Credit = "Made with love <3"
  344. end
  345. info.FullName = info.FullName or info.Name
  346.  
  347. local function makeLoader()
  348. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  349. local Converted = {
  350. ["_Loader"] = Instance.new("Frame");
  351. ["_UICorner"] = Instance.new("UICorner");
  352. ["_Theme"] = Instance.new("StringValue");
  353. ["_Category"] = Instance.new("StringValue");
  354. ["_Ignore"] = Instance.new("BoolValue");
  355. ["_GameThumbnail"] = Instance.new("ImageLabel");
  356. ["_UICorner1"] = Instance.new("UICorner");
  357. ["_UIGradient"] = Instance.new("UIGradient");
  358. ["_Main"] = Instance.new("Frame");
  359. ["_No"] = Instance.new("Frame");
  360. ["_UICorner2"] = Instance.new("UICorner");
  361. ["_UIStroke"] = Instance.new("UIStroke");
  362. ["_UIGradient1"] = Instance.new("UIGradient");
  363. ["_TextLabel"] = Instance.new("TextLabel");
  364. ["_Yes"] = Instance.new("Frame");
  365. ["_UICorner3"] = Instance.new("UICorner");
  366. ["_UIStroke1"] = Instance.new("UIStroke");
  367. ["_TextLabel1"] = Instance.new("TextLabel");
  368. ["_UIGradient2"] = Instance.new("UIGradient");
  369. ["_GameName"] = Instance.new("TextLabel");
  370. ["_Theme1"] = Instance.new("StringValue");
  371. ["_Category1"] = Instance.new("StringValue");
  372. ["_Ignore1"] = Instance.new("BoolValue");
  373. ["_Message"] = Instance.new("TextLabel");
  374. ["_Theme2"] = Instance.new("StringValue");
  375. ["_Category2"] = Instance.new("StringValue");
  376. ["_Ignore2"] = Instance.new("BoolValue");
  377. ["_Title"] = Instance.new("TextLabel");
  378. ["_Theme3"] = Instance.new("StringValue");
  379. ["_Category3"] = Instance.new("StringValue");
  380. ["_Ignore3"] = Instance.new("BoolValue");
  381. ["_ImageLabel"] = Instance.new("ImageLabel");
  382. ["_Shadow"] = Instance.new("Frame");
  383. ["_ImageLabel1"] = Instance.new("ImageLabel");
  384. ["_Theme4"] = Instance.new("StringValue");
  385. ["_Category4"] = Instance.new("StringValue");
  386. ["_Ignore4"] = Instance.new("BoolValue");
  387. ["_Key"] = Instance.new("Frame");
  388. ["_Input"] = Instance.new("Frame");
  389. ["_UICorner4"] = Instance.new("UICorner");
  390. ["_UIStroke2"] = Instance.new("UIStroke");
  391. ["_TextBox"] = Instance.new("TextBox");
  392. ["_ImageLabel2"] = Instance.new("ImageLabel");
  393. ["_Message1"] = Instance.new("TextLabel");
  394. ["_Theme5"] = Instance.new("StringValue");
  395. ["_Category5"] = Instance.new("StringValue");
  396. ["_Ignore5"] = Instance.new("BoolValue");
  397. ["_Title1"] = Instance.new("TextLabel");
  398. ["_Theme6"] = Instance.new("StringValue");
  399. ["_Category6"] = Instance.new("StringValue");
  400. ["_Ignore6"] = Instance.new("BoolValue");
  401. ["_Directions"] = Instance.new("TextLabel");
  402. ["_Theme7"] = Instance.new("StringValue");
  403. ["_Category7"] = Instance.new("StringValue");
  404. ["_Ignore7"] = Instance.new("BoolValue");
  405. ["_Interact"] = Instance.new("Frame");
  406. ["_Button"] = Instance.new("Frame");
  407. ["_UICorner5"] = Instance.new("UICorner");
  408. ["_UIStroke3"] = Instance.new("UIStroke");
  409. ["_UIGradient3"] = Instance.new("UIGradient");
  410. ["_TextLabel2"] = Instance.new("TextLabel");
  411. ["_UISizeConstraint"] = Instance.new("UISizeConstraint");
  412. ["_UIListLayout"] = Instance.new("UIListLayout");
  413. ["_0_padding"] = Instance.new("Frame");
  414. ["_padding"] = Instance.new("Frame");
  415. ["_ImageLabel3"] = Instance.new("ImageLabel");
  416. ["_Profile"] = Instance.new("Frame");
  417. ["_Title2"] = Instance.new("TextLabel");
  418. ["_Theme8"] = Instance.new("StringValue");
  419. ["_Category8"] = Instance.new("StringValue");
  420. ["_Ignore8"] = Instance.new("BoolValue");
  421. ["_Player"] = Instance.new("Frame");
  422. ["_Gradient"] = Instance.new("Frame");
  423. ["_UICorner6"] = Instance.new("UICorner");
  424. ["_UIGradient4"] = Instance.new("UIGradient");
  425. ["_UIStroke4"] = Instance.new("UIStroke");
  426. ["_UICorner7"] = Instance.new("UICorner");
  427. ["_Thumbnail"] = Instance.new("ImageLabel");
  428. ["_UICorner8"] = Instance.new("UICorner");
  429. ["_PlayerName"] = Instance.new("Frame");
  430. ["_TextLabel3"] = Instance.new("TextLabel");
  431. ["_UIListLayout1"] = Instance.new("UIListLayout");
  432. ["_ImageLabel4"] = Instance.new("ImageLabel");
  433. ["_Rank"] = Instance.new("Frame");
  434. ["_TextLabel4"] = Instance.new("TextLabel");
  435. ["_UIListLayout2"] = Instance.new("UIListLayout");
  436. ["_Close"] = Instance.new("ImageLabel");
  437. ["_Theme9"] = Instance.new("StringValue");
  438. ["_Category9"] = Instance.new("StringValue");
  439. ["_Ignore9"] = Instance.new("BoolValue");
  440. }
  441.  
  442. --Properties
  443.  
  444. Converted["_Loader"].AnchorPoint = Vector2.new(1, 1)
  445. Converted["_Loader"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  446. Converted["_Loader"].Position = UDim2.new(1, -20, 1, -20)
  447. Converted["_Loader"].Size = UDim2.new(0, 280, 0, 127)
  448. Converted["_Loader"].Name = "Loader"
  449. Converted["_Loader"].Parent = game:GetService("CoreGui")
  450.  
  451. Converted["_UICorner"].CornerRadius = UDim.new(0, 6)
  452. Converted["_UICorner"].Parent = Converted["_Loader"]
  453.  
  454. Converted["_Theme"].Value = "BackgroundColor3"
  455. Converted["_Theme"].Name = "Theme"
  456. Converted["_Theme"].Parent = Converted["_Loader"]
  457.  
  458. Converted["_Category"].Value = "Notification"
  459. Converted["_Category"].Name = "Category"
  460. Converted["_Category"].Parent = Converted["_Theme"]
  461.  
  462. Converted["_Ignore"].Name = "Ignore"
  463. Converted["_Ignore"].Parent = Converted["_Theme"]
  464.  
  465. Converted["_GameThumbnail"].Image = "https://www.roblox.com/asset-thumbnail/image?assetId=5670218884&width=768&height=432&format=png"
  466. Converted["_GameThumbnail"].ImageTransparency = 0.8
  467. Converted["_GameThumbnail"].ScaleType = Enum.ScaleType.Crop
  468. Converted["_GameThumbnail"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  469. Converted["_GameThumbnail"].BackgroundTransparency = 1
  470. Converted["_GameThumbnail"].Size = UDim2.new(1, 0, 1, 0)
  471. Converted["_GameThumbnail"].Name = "GameThumbnail"
  472. Converted["_GameThumbnail"].Parent = Converted["_Loader"]
  473.  
  474. Converted["_UICorner1"].CornerRadius = UDim.new(0, 6)
  475. Converted["_UICorner1"].Parent = Converted["_GameThumbnail"]
  476.  
  477. Converted["_UIGradient"].Transparency = NumberSequence.new{
  478. NumberSequenceKeypoint.new(0, 0),
  479. NumberSequenceKeypoint.new(1, 0.543749988079071)
  480. }
  481. Converted["_UIGradient"].Parent = Converted["_GameThumbnail"]
  482.  
  483. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  484. Converted["_Main"].BackgroundTransparency = 1
  485. Converted["_Main"].ClipsDescendants = true
  486. Converted["_Main"].Size = UDim2.new(1, 0, 1, 0)
  487. Converted["_Main"].Name = "Main"
  488. Converted["_Main"].Parent = Converted["_Loader"]
  489.  
  490. Converted["_No"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  491. Converted["_No"].Position = UDim2.new(0, 154, 0, 92)
  492. Converted["_No"].Size = UDim2.new(0, 85, 0, 24)
  493. Converted["_No"].Name = "No"
  494. Converted["_No"].Parent = Converted["_Main"]
  495.  
  496. Converted["_UICorner2"].CornerRadius = UDim.new(0, 5)
  497. Converted["_UICorner2"].Parent = Converted["_No"]
  498.  
  499. Converted["_UIStroke"].Color = Color3.fromRGB(255, 43.00000123679638, 43.00000123679638)
  500. Converted["_UIStroke"].Parent = Converted["_No"]
  501.  
  502. Converted["_UIGradient1"].Color = ColorSequence.new{
  503. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 73.00000324845314, 73.00000324845314)),
  504. ColorSequenceKeypoint.new(1, Color3.fromRGB(144.00000661611557, 47.0000009983778, 47.0000009983778))
  505. }
  506. Converted["_UIGradient1"].Rotation = -90
  507. Converted["_UIGradient1"].Parent = Converted["_No"]
  508.  
  509. Converted["_TextLabel"].Font = Enum.Font.GothamMedium
  510. Converted["_TextLabel"].Text = "Don't Load"
  511. Converted["_TextLabel"].TextColor3 = Color3.fromRGB(225.00001698732376, 225.00001698732376, 225.00001698732376)
  512. Converted["_TextLabel"].TextSize = 14
  513. Converted["_TextLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  514. Converted["_TextLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  515. Converted["_TextLabel"].BackgroundTransparency = 1
  516. Converted["_TextLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  517. Converted["_TextLabel"].Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  518. Converted["_TextLabel"].Parent = Converted["_No"]
  519.  
  520. Converted["_Yes"].AnchorPoint = Vector2.new(1, 0)
  521. Converted["_Yes"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  522. Converted["_Yes"].Position = UDim2.new(0, 125, 0, 92)
  523. Converted["_Yes"].Size = UDim2.new(0, 85, 0, 24)
  524. Converted["_Yes"].Name = "Yes"
  525. Converted["_Yes"].Parent = Converted["_Main"]
  526.  
  527. Converted["_UICorner3"].CornerRadius = UDim.new(0, 5)
  528. Converted["_UICorner3"].Parent = Converted["_Yes"]
  529.  
  530. Converted["_UIStroke1"].Color = Color3.fromRGB(12.000000234693289, 129.00000751018524, 255)
  531. Converted["_UIStroke1"].Parent = Converted["_Yes"]
  532.  
  533. Converted["_TextLabel1"].Font = Enum.Font.GothamMedium
  534. Converted["_TextLabel1"].Text = "Load"
  535. Converted["_TextLabel1"].TextColor3 = Color3.fromRGB(225.00001698732376, 225.00001698732376, 225.00001698732376)
  536. Converted["_TextLabel1"].TextSize = 14
  537. Converted["_TextLabel1"].AnchorPoint = Vector2.new(0.5, 0.5)
  538. Converted["_TextLabel1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  539. Converted["_TextLabel1"].BackgroundTransparency = 1
  540. Converted["_TextLabel1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  541. Converted["_TextLabel1"].Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  542. Converted["_TextLabel1"].Parent = Converted["_Yes"]
  543.  
  544. Converted["_UIGradient2"].Color = ColorSequence.new{
  545. ColorSequenceKeypoint.new(0, Color3.fromRGB(12.000000234693289, 129.00000751018524, 255)),
  546. ColorSequenceKeypoint.new(1, Color3.fromRGB(21.000000648200512, 72.00000330805779, 116.00000068545341))
  547. }
  548. Converted["_UIGradient2"].Rotation = -90
  549. Converted["_UIGradient2"].Parent = Converted["_Yes"]
  550.  
  551. Converted["_GameName"].Font = Enum.Font.Gotham
  552. Converted["_GameName"].Text = "[โš”] item asylum"
  553. Converted["_GameName"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  554. Converted["_GameName"].TextSize = 13
  555. Converted["_GameName"].TextTruncate = Enum.TextTruncate.AtEnd
  556. Converted["_GameName"].TextWrapped = true
  557. Converted["_GameName"].TextXAlignment = Enum.TextXAlignment.Left
  558. Converted["_GameName"].TextYAlignment = Enum.TextYAlignment.Top
  559. Converted["_GameName"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  560. Converted["_GameName"].BackgroundTransparency = 1
  561. Converted["_GameName"].Position = UDim2.new(0, 12, 0, 44)
  562. Converted["_GameName"].Size = UDim2.new(0, 257, 0, 13)
  563. Converted["_GameName"].Name = "GameName"
  564. Converted["_GameName"].Parent = Converted["_Main"]
  565.  
  566. Converted["_Theme1"].Value = "TextColor3"
  567. Converted["_Theme1"].Name = "Theme"
  568. Converted["_Theme1"].Parent = Converted["_GameName"]
  569.  
  570. Converted["_Category1"].Value = "Symbols"
  571. Converted["_Category1"].Name = "Category"
  572. Converted["_Category1"].Parent = Converted["_Theme1"]
  573.  
  574. Converted["_Ignore1"].Name = "Ignore"
  575. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  576.  
  577. Converted["_Message"].Font = Enum.Font.GothamMedium
  578. Converted["_Message"].Text = "Script: AWP Script Hub"
  579. Converted["_Message"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  580. Converted["_Message"].TextSize = 13
  581. Converted["_Message"].TextTruncate = Enum.TextTruncate.AtEnd
  582. Converted["_Message"].TextWrapped = true
  583. Converted["_Message"].TextXAlignment = Enum.TextXAlignment.Left
  584. Converted["_Message"].TextYAlignment = Enum.TextYAlignment.Top
  585. Converted["_Message"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  586. Converted["_Message"].BackgroundTransparency = 1
  587. Converted["_Message"].Position = UDim2.new(0, 12, 0, 68)
  588. Converted["_Message"].Size = UDim2.new(0, 257, 0, 13)
  589. Converted["_Message"].Name = "Message"
  590. Converted["_Message"].Parent = Converted["_Main"]
  591.  
  592. Converted["_Theme2"].Value = "TextColor3"
  593. Converted["_Theme2"].Name = "Theme"
  594. Converted["_Theme2"].Parent = Converted["_Message"]
  595.  
  596. Converted["_Category2"].Value = "Symbols"
  597. Converted["_Category2"].Name = "Category"
  598. Converted["_Category2"].Parent = Converted["_Theme2"]
  599.  
  600. Converted["_Ignore2"].Name = "Ignore"
  601. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  602.  
  603. Converted["_Title"].Font = Enum.Font.GothamBold
  604. Converted["_Title"].Text = "Game Detected"
  605. Converted["_Title"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  606. Converted["_Title"].TextSize = 18
  607. Converted["_Title"].TextTruncate = Enum.TextTruncate.AtEnd
  608. Converted["_Title"].TextWrapped = true
  609. Converted["_Title"].TextXAlignment = Enum.TextXAlignment.Left
  610. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  611. Converted["_Title"].BackgroundTransparency = 1
  612. Converted["_Title"].Position = UDim2.new(0, 44, 0, 8)
  613. Converted["_Title"].Size = UDim2.new(0, 224, 0, 31)
  614. Converted["_Title"].Name = "Title"
  615. Converted["_Title"].Parent = Converted["_Main"]
  616.  
  617. Converted["_Theme3"].Value = "TextColor3"
  618. Converted["_Theme3"].Name = "Theme"
  619. Converted["_Theme3"].Parent = Converted["_Title"]
  620.  
  621. Converted["_Category3"].Value = "Symbols"
  622. Converted["_Category3"].Name = "Category"
  623. Converted["_Category3"].Parent = Converted["_Theme3"]
  624.  
  625. Converted["_Ignore3"].Name = "Ignore"
  626. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  627.  
  628. Converted["_ImageLabel"].Image = "rbxassetid://11117108054"
  629. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0, 0.5)
  630. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  631. Converted["_ImageLabel"].BackgroundTransparency = 1
  632. Converted["_ImageLabel"].Position = UDim2.new(0, 12, 0, 23)
  633. Converted["_ImageLabel"].Size = UDim2.new(0, 24, 0, 24)
  634. Converted["_ImageLabel"].Parent = Converted["_Main"]
  635.  
  636. Converted["_Shadow"].AnchorPoint = Vector2.new(0.5, 0.5)
  637. Converted["_Shadow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  638. Converted["_Shadow"].BackgroundTransparency = 1
  639. Converted["_Shadow"].Position = UDim2.new(0.5, 0, 0.5, 0)
  640. Converted["_Shadow"].Size = UDim2.new(1, 55, 1, 55)
  641. Converted["_Shadow"].ZIndex = 0
  642. Converted["_Shadow"].Name = "Shadow"
  643. Converted["_Shadow"].Parent = Converted["_Loader"]
  644.  
  645. Converted["_ImageLabel1"].Image = "rbxassetid://10955010523"
  646. Converted["_ImageLabel1"].ImageColor3 = Color3.fromRGB(0, 0, 0)
  647. Converted["_ImageLabel1"].ImageTransparency = 0.550000011920929
  648. Converted["_ImageLabel1"].ScaleType = Enum.ScaleType.Slice
  649. Converted["_ImageLabel1"].SliceCenter = Rect.new(60, 60, 360, 360)
  650. Converted["_ImageLabel1"].AnchorPoint = Vector2.new(0.5, 0.5)
  651. Converted["_ImageLabel1"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  652. Converted["_ImageLabel1"].BackgroundTransparency = 1
  653. Converted["_ImageLabel1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  654. Converted["_ImageLabel1"].Size = UDim2.new(1, 0, 1, 0)
  655. Converted["_ImageLabel1"].ZIndex = 0
  656. Converted["_ImageLabel1"].Parent = Converted["_Shadow"]
  657.  
  658. Converted["_Theme4"].Value = "ImageColor3"
  659. Converted["_Theme4"].Name = "Theme"
  660. Converted["_Theme4"].Parent = Converted["_ImageLabel1"]
  661.  
  662. Converted["_Category4"].Value = "Shadow"
  663. Converted["_Category4"].Name = "Category"
  664. Converted["_Category4"].Parent = Converted["_Theme4"]
  665.  
  666. Converted["_Ignore4"].Name = "Ignore"
  667. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  668.  
  669. Converted["_Key"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  670. Converted["_Key"].BackgroundTransparency = 1
  671. Converted["_Key"].ClipsDescendants = true
  672. Converted["_Key"].Size = UDim2.new(1, 0, 1, 0)
  673. Converted["_Key"].Visible = false
  674. Converted["_Key"].Name = "Key"
  675. Converted["_Key"].Parent = Converted["_Loader"]
  676.  
  677. Converted["_Input"].AnchorPoint = Vector2.new(1, 0)
  678. Converted["_Input"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  679. Converted["_Input"].Position = UDim2.new(0, 269, 0, 94)
  680. Converted["_Input"].Size = UDim2.new(0, 257, 0, 24)
  681. Converted["_Input"].Name = "Input"
  682. Converted["_Input"].Parent = Converted["_Key"]
  683.  
  684. Converted["_UICorner4"].CornerRadius = UDim.new(0, 5)
  685. Converted["_UICorner4"].Parent = Converted["_Input"]
  686.  
  687. Converted["_UIStroke2"].Color = Color3.fromRGB(49.000004678964615, 49.000004678964615, 49.000004678964615)
  688. Converted["_UIStroke2"].Parent = Converted["_Input"]
  689.  
  690. Converted["_TextBox"].Font = Enum.Font.Gotham
  691. Converted["_TextBox"].Text = ""
  692. Converted["_TextBox"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  693. Converted["_TextBox"].TextSize = 14
  694. Converted["_TextBox"].TextTruncate = Enum.TextTruncate.AtEnd
  695. Converted["_TextBox"].TextXAlignment = Enum.TextXAlignment.Left
  696. Converted["_TextBox"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  697. Converted["_TextBox"].BackgroundTransparency = 1
  698. Converted["_TextBox"].Position = UDim2.new(0.0311284047, 0, 0, 0)
  699. Converted["_TextBox"].Size = UDim2.new(0.968871593, -24, 1, 0)
  700. Converted["_TextBox"].Parent = Converted["_Input"]
  701.  
  702. Converted["_ImageLabel2"].Image = "rbxassetid://11116814746"
  703. Converted["_ImageLabel2"].AnchorPoint = Vector2.new(0.5, 0.5)
  704. Converted["_ImageLabel2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  705. Converted["_ImageLabel2"].BackgroundTransparency = 1
  706. Converted["_ImageLabel2"].Position = UDim2.new(1, -12, 0.5, 0)
  707. Converted["_ImageLabel2"].Size = UDim2.new(0, 21, 0, 21)
  708. Converted["_ImageLabel2"].Parent = Converted["_Input"]
  709.  
  710. Converted["_Message1"].Font = Enum.Font.Gotham
  711. Converted["_Message1"].Text = "The key is in the discord server. Copy the invite by pressing the button above."
  712. Converted["_Message1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  713. Converted["_Message1"].TextScaled = true
  714. Converted["_Message1"].TextSize = 1
  715. Converted["_Message1"].TextTruncate = Enum.TextTruncate.AtEnd
  716. Converted["_Message1"].TextWrapped = true
  717. Converted["_Message1"].TextXAlignment = Enum.TextXAlignment.Left
  718. Converted["_Message1"].TextYAlignment = Enum.TextYAlignment.Top
  719. Converted["_Message1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  720. Converted["_Message1"].BackgroundTransparency = 1
  721. Converted["_Message1"].Position = UDim2.new(0, 12, 0, 40)
  722. Converted["_Message1"].Size = UDim2.new(0, 257, 0, 35)
  723. Converted["_Message1"].Name = "Message"
  724. Converted["_Message1"].Parent = Converted["_Key"]
  725.  
  726. Converted["_Theme5"].Value = "TextColor3"
  727. Converted["_Theme5"].Name = "Theme"
  728. Converted["_Theme5"].Parent = Converted["_Message1"]
  729.  
  730. Converted["_Category5"].Value = "Symbols"
  731. Converted["_Category5"].Name = "Category"
  732. Converted["_Category5"].Parent = Converted["_Theme5"]
  733.  
  734. Converted["_Ignore5"].Name = "Ignore"
  735. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  736.  
  737. Converted["_Title1"].Font = Enum.Font.GothamBold
  738. Converted["_Title1"].Text = "Key System"
  739. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  740. Converted["_Title1"].TextSize = 18
  741. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  742. Converted["_Title1"].TextWrapped = true
  743. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  744. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  745. Converted["_Title1"].BackgroundTransparency = 1
  746. Converted["_Title1"].Position = UDim2.new(0, 12, 0, 8)
  747. Converted["_Title1"].Size = UDim2.new(0, 102, 0, 31)
  748. Converted["_Title1"].Name = "Title"
  749. Converted["_Title1"].Parent = Converted["_Key"]
  750.  
  751. Converted["_Theme6"].Value = "TextColor3"
  752. Converted["_Theme6"].Name = "Theme"
  753. Converted["_Theme6"].Parent = Converted["_Title1"]
  754.  
  755. Converted["_Category6"].Value = "Symbols"
  756. Converted["_Category6"].Name = "Category"
  757. Converted["_Category6"].Parent = Converted["_Theme6"]
  758.  
  759. Converted["_Ignore6"].Name = "Ignore"
  760. Converted["_Ignore6"].Parent = Converted["_Theme6"]
  761.  
  762. Converted["_Directions"].Font = Enum.Font.GothamMedium
  763. Converted["_Directions"].Text = "Enter key below"
  764. Converted["_Directions"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  765. Converted["_Directions"].TextSize = 13
  766. Converted["_Directions"].TextTruncate = Enum.TextTruncate.AtEnd
  767. Converted["_Directions"].TextWrapped = true
  768. Converted["_Directions"].TextXAlignment = Enum.TextXAlignment.Left
  769. Converted["_Directions"].TextYAlignment = Enum.TextYAlignment.Top
  770. Converted["_Directions"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  771. Converted["_Directions"].BackgroundTransparency = 1
  772. Converted["_Directions"].Position = UDim2.new(0, 12, 0, 75)
  773. Converted["_Directions"].Size = UDim2.new(0, 257, 0, 15)
  774. Converted["_Directions"].Name = "Directions"
  775. Converted["_Directions"].Parent = Converted["_Key"]
  776.  
  777. Converted["_Theme7"].Value = "TextColor3"
  778. Converted["_Theme7"].Name = "Theme"
  779. Converted["_Theme7"].Parent = Converted["_Directions"]
  780.  
  781. Converted["_Category7"].Value = "Symbols"
  782. Converted["_Category7"].Name = "Category"
  783. Converted["_Category7"].Parent = Converted["_Theme7"]
  784.  
  785. Converted["_Ignore7"].Name = "Ignore"
  786. Converted["_Ignore7"].Parent = Converted["_Theme7"]
  787.  
  788. Converted["_Interact"].AnchorPoint = Vector2.new(1, 0)
  789. Converted["_Interact"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  790. Converted["_Interact"].BackgroundTransparency = 1
  791. Converted["_Interact"].Position = UDim2.new(0, 268, 0, 12)
  792. Converted["_Interact"].Size = UDim2.new(0, 147, 0, 21)
  793. Converted["_Interact"].Name = "Interact"
  794. Converted["_Interact"].Parent = Converted["_Key"]
  795.  
  796. Converted["_Button"].AnchorPoint = Vector2.new(1, 0)
  797. Converted["_Button"].AutomaticSize = Enum.AutomaticSize.X
  798. Converted["_Button"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  799. Converted["_Button"].ClipsDescendants = true
  800. Converted["_Button"].Position = UDim2.new(1, 0, 0, 0)
  801. Converted["_Button"].Size = UDim2.new(0, 1, 1, 0)
  802. Converted["_Button"].Name = "Button"
  803. Converted["_Button"].Parent = Converted["_Interact"]
  804.  
  805. Converted["_UICorner5"].CornerRadius = UDim.new(0, 5)
  806. Converted["_UICorner5"].Parent = Converted["_Button"]
  807.  
  808. Converted["_UIStroke3"].Color = Color3.fromRGB(12.000000234693289, 129.00000751018524, 255)
  809. Converted["_UIStroke3"].Parent = Converted["_Button"]
  810.  
  811. Converted["_UIGradient3"].Color = ColorSequence.new{
  812. ColorSequenceKeypoint.new(0, Color3.fromRGB(12.000000234693289, 129.00000751018524, 255)),
  813. ColorSequenceKeypoint.new(1, Color3.fromRGB(21.000000648200512, 72.00000330805779, 116.00000068545341))
  814. }
  815. Converted["_UIGradient3"].Rotation = -90
  816. Converted["_UIGradient3"].Parent = Converted["_Button"]
  817.  
  818. Converted["_TextLabel2"].Font = Enum.Font.Gotham
  819. Converted["_TextLabel2"].Text = "Copied"
  820. Converted["_TextLabel2"].TextColor3 = Color3.fromRGB(225.00001698732376, 225.00001698732376, 225.00001698732376)
  821. Converted["_TextLabel2"].TextSize = 13
  822. Converted["_TextLabel2"].AnchorPoint = Vector2.new(0.5, 0.5)
  823. Converted["_TextLabel2"].AutomaticSize = Enum.AutomaticSize.X
  824. Converted["_TextLabel2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  825. Converted["_TextLabel2"].BackgroundTransparency = 1
  826. Converted["_TextLabel2"].Position = UDim2.new(0.5, 0, 0.5, 0)
  827. Converted["_TextLabel2"].Size = UDim2.new(0, 1, 0.5, 0)
  828. Converted["_TextLabel2"].Parent = Converted["_Button"]
  829.  
  830. Converted["_UISizeConstraint"].MaxSize = Vector2.new(147, math.huge)
  831. Converted["_UISizeConstraint"].Parent = Converted["_TextLabel2"]
  832.  
  833. Converted["_UIListLayout"].Padding = UDim.new(0, 4)
  834. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  835. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  836. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Center
  837. Converted["_UIListLayout"].Parent = Converted["_Button"]
  838.  
  839. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  840. Converted["_0_padding"].BackgroundTransparency = 1
  841. Converted["_0_padding"].Name = "0_padding"
  842. Converted["_0_padding"].Parent = Converted["_Button"]
  843.  
  844. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  845. Converted["_padding"].BackgroundTransparency = 1
  846. Converted["_padding"].Name = "padding"
  847. Converted["_padding"].Parent = Converted["_Button"]
  848.  
  849. Converted["_ImageLabel3"].Image = "http://www.roblox.com/asset/?id=10954923256"
  850. Converted["_ImageLabel3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  851. Converted["_ImageLabel3"].BackgroundTransparency = 1
  852. Converted["_ImageLabel3"].Size = UDim2.new(0, 18, 0, 18)
  853. Converted["_ImageLabel3"].Parent = Converted["_Button"]
  854.  
  855. Converted["_Profile"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  856. Converted["_Profile"].BackgroundTransparency = 1
  857. Converted["_Profile"].ClipsDescendants = true
  858. Converted["_Profile"].Size = UDim2.new(1, 0, 1, 0)
  859. Converted["_Profile"].Visible = false
  860. Converted["_Profile"].Name = "Profile"
  861. Converted["_Profile"].Parent = Converted["_Loader"]
  862.  
  863. Converted["_Title2"].Font = Enum.Font.GothamBold
  864. Converted["_Title2"].Text = "Welcome back."
  865. Converted["_Title2"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  866. Converted["_Title2"].TextSize = 18
  867. Converted["_Title2"].TextTruncate = Enum.TextTruncate.AtEnd
  868. Converted["_Title2"].TextWrapped = true
  869. Converted["_Title2"].TextXAlignment = Enum.TextXAlignment.Left
  870. Converted["_Title2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  871. Converted["_Title2"].BackgroundTransparency = 1
  872. Converted["_Title2"].Position = UDim2.new(0, 12, 0, 8)
  873. Converted["_Title2"].Size = UDim2.new(0, 224, 0, 31)
  874. Converted["_Title2"].Name = "Title"
  875. Converted["_Title2"].Parent = Converted["_Profile"]
  876.  
  877. Converted["_Theme8"].Value = "TextColor3"
  878. Converted["_Theme8"].Name = "Theme"
  879. Converted["_Theme8"].Parent = Converted["_Title2"]
  880.  
  881. Converted["_Category8"].Value = "Symbols"
  882. Converted["_Category8"].Name = "Category"
  883. Converted["_Category8"].Parent = Converted["_Theme8"]
  884.  
  885. Converted["_Ignore8"].Name = "Ignore"
  886. Converted["_Ignore8"].Parent = Converted["_Theme8"]
  887.  
  888. Converted["_Player"].AnchorPoint = Vector2.new(0.5, 0.5)
  889. Converted["_Player"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  890. Converted["_Player"].BorderSizePixel = 0
  891. Converted["_Player"].Position = UDim2.new(0, 140, 0, 77)
  892. Converted["_Player"].Size = UDim2.new(0, 245, 0, 71)
  893. Converted["_Player"].Name = "Player"
  894. Converted["_Player"].Parent = Converted["_Profile"]
  895.  
  896. Converted["_Gradient"].BackgroundColor3 = Color3.fromRGB(0, 170.0000050663948, 255)
  897. Converted["_Gradient"].BorderSizePixel = 0
  898. Converted["_Gradient"].Size = UDim2.new(1, 0, 1, 0)
  899. Converted["_Gradient"].ZIndex = 0
  900. Converted["_Gradient"].Name = "Gradient"
  901. Converted["_Gradient"].Parent = Converted["_Player"]
  902.  
  903. Converted["_UICorner6"].CornerRadius = UDim.new(0, 7)
  904. Converted["_UICorner6"].Parent = Converted["_Gradient"]
  905.  
  906. Converted["_UIGradient4"].Offset = Vector2.new(-0.5, 0)
  907. Converted["_UIGradient4"].Rotation = 35
  908. Converted["_UIGradient4"].Transparency = NumberSequence.new{
  909. NumberSequenceKeypoint.new(0, 0.22499996423721313),
  910. NumberSequenceKeypoint.new(1, 1)
  911. }
  912. Converted["_UIGradient4"].Parent = Converted["_Gradient"]
  913.  
  914. Converted["_UIStroke4"].Color = Color3.fromRGB(48.00000473856926, 48.00000473856926, 48.00000473856926)
  915. Converted["_UIStroke4"].Parent = Converted["_Gradient"]
  916.  
  917. Converted["_UICorner7"].CornerRadius = UDim.new(0, 7)
  918. Converted["_UICorner7"].Parent = Converted["_Player"]
  919.  
  920. Converted["_Thumbnail"].Image = "rbxthumb://type=AvatarHeadShot&id=2755663001&w=420&h=420"
  921. Converted["_Thumbnail"].AnchorPoint = Vector2.new(0, 0.5)
  922. Converted["_Thumbnail"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  923. Converted["_Thumbnail"].BackgroundTransparency = 0.75
  924. Converted["_Thumbnail"].Position = UDim2.new(0, 7, 0.5, 0)
  925. Converted["_Thumbnail"].Size = UDim2.new(0, 57, 0, 57)
  926. Converted["_Thumbnail"].Name = "Thumbnail"
  927. Converted["_Thumbnail"].Parent = Converted["_Player"]
  928.  
  929. Converted["_UICorner8"].CornerRadius = UDim.new(1, 0)
  930. Converted["_UICorner8"].Parent = Converted["_Thumbnail"]
  931.  
  932. Converted["_PlayerName"].AnchorPoint = Vector2.new(0, 1)
  933. Converted["_PlayerName"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  934. Converted["_PlayerName"].BackgroundTransparency = 1
  935. Converted["_PlayerName"].Position = UDim2.new(0.298000008, 0, 0.550000012, 3)
  936. Converted["_PlayerName"].Size = UDim2.new(0, 159, 0, 30)
  937. Converted["_PlayerName"].Name = "PlayerName"
  938. Converted["_PlayerName"].Parent = Converted["_Player"]
  939.  
  940. Converted["_TextLabel3"].Font = Enum.Font.GothamBold
  941. Converted["_TextLabel3"].Text = "TrojanHorse57"
  942. Converted["_TextLabel3"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  943. Converted["_TextLabel3"].TextSize = 16
  944. Converted["_TextLabel3"].AutomaticSize = Enum.AutomaticSize.X
  945. Converted["_TextLabel3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  946. Converted["_TextLabel3"].BackgroundTransparency = 1
  947. Converted["_TextLabel3"].Size = UDim2.new(0, 1, 1, 0)
  948. Converted["_TextLabel3"].Parent = Converted["_PlayerName"]
  949.  
  950. Converted["_UIListLayout1"].Padding = UDim.new(0, 4)
  951. Converted["_UIListLayout1"].FillDirection = Enum.FillDirection.Horizontal
  952. Converted["_UIListLayout1"].VerticalAlignment = Enum.VerticalAlignment.Center
  953. Converted["_UIListLayout1"].Parent = Converted["_PlayerName"]
  954.  
  955. Converted["_ImageLabel4"].Image = "http://www.roblox.com/asset/?id=11117540300"
  956. Converted["_ImageLabel4"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  957. Converted["_ImageLabel4"].BackgroundTransparency = 1
  958. Converted["_ImageLabel4"].Size = UDim2.new(0, 16, 0, 16)
  959. Converted["_ImageLabel4"].Parent = Converted["_PlayerName"]
  960.  
  961. Converted["_Rank"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  962. Converted["_Rank"].BackgroundTransparency = 1
  963. Converted["_Rank"].Position = UDim2.new(0.298000008, 0, 0.524999976, 3)
  964. Converted["_Rank"].Size = UDim2.new(0, 159, 0, 30)
  965. Converted["_Rank"].Name = "Rank"
  966. Converted["_Rank"].Parent = Converted["_Player"]
  967.  
  968. Converted["_TextLabel4"].Font = Enum.Font.GothamMedium
  969. Converted["_TextLabel4"].Text = "Developer"
  970. Converted["_TextLabel4"].TextColor3 = Color3.fromRGB(164.00000542402267, 164.00000542402267, 164.00000542402267)
  971. Converted["_TextLabel4"].TextSize = 13
  972. Converted["_TextLabel4"].TextYAlignment = Enum.TextYAlignment.Top
  973. Converted["_TextLabel4"].AutomaticSize = Enum.AutomaticSize.X
  974. Converted["_TextLabel4"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  975. Converted["_TextLabel4"].BackgroundTransparency = 1
  976. Converted["_TextLabel4"].Size = UDim2.new(0, 1, 1, 0)
  977. Converted["_TextLabel4"].Parent = Converted["_Rank"]
  978.  
  979. Converted["_UIListLayout2"].Padding = UDim.new(0, 4)
  980. Converted["_UIListLayout2"].FillDirection = Enum.FillDirection.Horizontal
  981. Converted["_UIListLayout2"].VerticalAlignment = Enum.VerticalAlignment.Center
  982. Converted["_UIListLayout2"].Parent = Converted["_Rank"]
  983.  
  984. Converted["_Close"].Image = "http://www.roblox.com/asset/?id=10259890025"
  985. Converted["_Close"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  986. Converted["_Close"].AnchorPoint = Vector2.new(1, 0)
  987. Converted["_Close"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  988. Converted["_Close"].BackgroundTransparency = 1
  989. Converted["_Close"].Position = UDim2.new(0, 273, 0, 7)
  990. Converted["_Close"].Size = UDim2.new(0, 23, 0, 23)
  991. Converted["_Close"].Name = "Close"
  992. Converted["_Close"].Parent = Converted["_Profile"]
  993.  
  994. Converted["_Theme9"].Value = "ImageColor3"
  995. Converted["_Theme9"].Name = "Theme"
  996. Converted["_Theme9"].Parent = Converted["_Close"]
  997.  
  998. Converted["_Category9"].Value = "Symbols"
  999. Converted["_Category9"].Name = "Category"
  1000. Converted["_Category9"].Parent = Converted["_Theme9"]
  1001.  
  1002. Converted["_Ignore9"].Name = "Ignore"
  1003. Converted["_Ignore9"].Parent = Converted["_Theme9"]
  1004.  
  1005. return Converted["_Loader"]
  1006. end
  1007.  
  1008. if info.CheckKey then
  1009. info.UseLoader = true
  1010. end
  1011.  
  1012. info.Rank = info.Rank or "User"
  1013. info.RankColor = info.RankColor or Color3.new(0,1,0)
  1014.  
  1015. if info.CheckKey and not info.Discord then
  1016. warn("You must include a discord argument when using check key argument!")
  1017. wait(9e9)
  1018. error()
  1019. end
  1020.  
  1021. local function makeLibrary()
  1022. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  1023. local Converted = {
  1024. ["_Atlas"] = Instance.new("ScreenGui");
  1025. ["_UI_Library"] = Instance.new("Folder");
  1026. ["_Name"] = Instance.new("StringValue");
  1027. ["_Creator"] = Instance.new("StringValue");
  1028. ["_Discord"] = Instance.new("StringValue");
  1029. ["_Main"] = Instance.new("Frame");
  1030. ["_Contents"] = Instance.new("Frame");
  1031. ["_Appearance"] = Instance.new("Frame");
  1032. ["_Fade"] = Instance.new("Frame");
  1033. ["_UIGradient"] = Instance.new("UIGradient");
  1034. ["_Top"] = Instance.new("Frame");
  1035. ["_UICorner"] = Instance.new("UICorner");
  1036. ["_Theme"] = Instance.new("StringValue");
  1037. ["_Category"] = Instance.new("StringValue");
  1038. ["_Ignore"] = Instance.new("BoolValue");
  1039. ["_Line"] = Instance.new("Frame");
  1040. ["_Theme1"] = Instance.new("StringValue");
  1041. ["_Category1"] = Instance.new("StringValue");
  1042. ["_Ignore1"] = Instance.new("BoolValue");
  1043. ["_Top_fill"] = Instance.new("Frame");
  1044. ["_Theme2"] = Instance.new("StringValue");
  1045. ["_Category2"] = Instance.new("StringValue");
  1046. ["_Ignore2"] = Instance.new("BoolValue");
  1047. ["_Top1"] = Instance.new("Frame");
  1048. ["_Close"] = Instance.new("ImageLabel");
  1049. ["_UIAspectRatioConstraint"] = Instance.new("UIAspectRatioConstraint");
  1050. ["_Theme3"] = Instance.new("StringValue");
  1051. ["_Category3"] = Instance.new("StringValue");
  1052. ["_Ignore3"] = Instance.new("BoolValue");
  1053. ["_Menu"] = Instance.new("ImageLabel");
  1054. ["_UIAspectRatioConstraint1"] = Instance.new("UIAspectRatioConstraint");
  1055. ["_Theme4"] = Instance.new("StringValue");
  1056. ["_Category4"] = Instance.new("StringValue");
  1057. ["_Ignore4"] = Instance.new("BoolValue");
  1058. ["_Title"] = Instance.new("TextLabel");
  1059. ["_UISizeConstraint"] = Instance.new("UISizeConstraint");
  1060. ["_Theme5"] = Instance.new("StringValue");
  1061. ["_Category5"] = Instance.new("StringValue");
  1062. ["_Ignore5"] = Instance.new("BoolValue");
  1063. ["_Info"] = Instance.new("ImageLabel");
  1064. ["_UIAspectRatioConstraint2"] = Instance.new("UIAspectRatioConstraint");
  1065. ["_Credits"] = Instance.new("Frame");
  1066. ["_Main1"] = Instance.new("Frame");
  1067. ["_UICorner1"] = Instance.new("UICorner");
  1068. ["_UIListLayout"] = Instance.new("UIListLayout");
  1069. ["_Frame"] = Instance.new("Frame");
  1070. ["_B"] = Instance.new("TextLabel");
  1071. ["_A"] = Instance.new("TextLabel");
  1072. ["_UIListLayout1"] = Instance.new("UIListLayout");
  1073. ["_padding"] = Instance.new("Frame");
  1074. ["_0_padding"] = Instance.new("Frame");
  1075. ["_Arrow"] = Instance.new("ImageLabel");
  1076. ["_Theme6"] = Instance.new("StringValue");
  1077. ["_Category6"] = Instance.new("StringValue");
  1078. ["_Ignore6"] = Instance.new("BoolValue");
  1079. ["_Search"] = Instance.new("ImageLabel");
  1080. ["_UIAspectRatioConstraint3"] = Instance.new("UIAspectRatioConstraint");
  1081. ["_Theme7"] = Instance.new("StringValue");
  1082. ["_Category7"] = Instance.new("StringValue");
  1083. ["_Ignore7"] = Instance.new("BoolValue");
  1084. ["_SearchBar"] = Instance.new("Frame");
  1085. ["_UICorner2"] = Instance.new("UICorner");
  1086. ["_Icon"] = Instance.new("ImageLabel");
  1087. ["_Theme8"] = Instance.new("StringValue");
  1088. ["_Category8"] = Instance.new("StringValue");
  1089. ["_Ignore8"] = Instance.new("BoolValue");
  1090. ["_TextBox"] = Instance.new("TextBox");
  1091. ["_Theme9"] = Instance.new("StringValue");
  1092. ["_Category9"] = Instance.new("StringValue");
  1093. ["_Ignore9"] = Instance.new("BoolValue");
  1094. ["_Theme10"] = Instance.new("StringValue");
  1095. ["_Category10"] = Instance.new("StringValue");
  1096. ["_Ignore10"] = Instance.new("BoolValue");
  1097. ["_Theme11"] = Instance.new("StringValue");
  1098. ["_Category11"] = Instance.new("StringValue");
  1099. ["_Ignore11"] = Instance.new("BoolValue");
  1100. ["_Drag"] = Instance.new("TextButton");
  1101. ["_Theme12"] = Instance.new("ImageLabel");
  1102. ["_UIAspectRatioConstraint4"] = Instance.new("UIAspectRatioConstraint");
  1103. ["_Theme13"] = Instance.new("StringValue");
  1104. ["_Category12"] = Instance.new("StringValue");
  1105. ["_Ignore12"] = Instance.new("BoolValue");
  1106. ["_Background"] = Instance.new("Frame");
  1107. ["_UICorner3"] = Instance.new("UICorner");
  1108. ["_Theme14"] = Instance.new("StringValue");
  1109. ["_Category13"] = Instance.new("StringValue");
  1110. ["_Ignore13"] = Instance.new("BoolValue");
  1111. ["_Pages"] = Instance.new("Frame");
  1112. ["_UICorner4"] = Instance.new("UICorner");
  1113. ["_Close1"] = Instance.new("ImageLabel");
  1114. ["_UIAspectRatioConstraint5"] = Instance.new("UIAspectRatioConstraint");
  1115. ["_Theme15"] = Instance.new("StringValue");
  1116. ["_Category14"] = Instance.new("StringValue");
  1117. ["_Ignore14"] = Instance.new("BoolValue");
  1118. ["_Line1"] = Instance.new("Frame");
  1119. ["_Theme16"] = Instance.new("StringValue");
  1120. ["_Category15"] = Instance.new("StringValue");
  1121. ["_Ignore15"] = Instance.new("BoolValue");
  1122. ["_ScrollingFrame"] = Instance.new("ScrollingFrame");
  1123. ["_UIListLayout2"] = Instance.new("UIListLayout");
  1124. ["_Theme17"] = Instance.new("StringValue");
  1125. ["_Category16"] = Instance.new("StringValue");
  1126. ["_Ignore16"] = Instance.new("BoolValue");
  1127. ["_Contents1"] = Instance.new("Frame");
  1128. ["_Page"] = Instance.new("Frame");
  1129. ["_ScrollingFrame1"] = Instance.new("ScrollingFrame");
  1130. ["_UIListLayout3"] = Instance.new("UIListLayout");
  1131. ["_padding1"] = Instance.new("Frame");
  1132. ["_0_padding1"] = Instance.new("Frame");
  1133. ["_Theme18"] = Instance.new("StringValue");
  1134. ["_Category17"] = Instance.new("StringValue");
  1135. ["_Ignore17"] = Instance.new("BoolValue");
  1136. ["_Shadow"] = Instance.new("Frame");
  1137. ["_ImageLabel"] = Instance.new("ImageLabel");
  1138. ["_Theme19"] = Instance.new("StringValue");
  1139. ["_Category18"] = Instance.new("StringValue");
  1140. ["_Ignore18"] = Instance.new("BoolValue");
  1141. ["_Resize"] = Instance.new("Frame");
  1142. ["_Frame1"] = Instance.new("Frame");
  1143. ["_Frame2"] = Instance.new("Frame");
  1144. ["_ResizeArea"] = Instance.new("TextButton");
  1145. ["_Modal"] = Instance.new("TextButton");
  1146. ["_Notifications"] = Instance.new("Frame");
  1147. ["_UIListLayout4"] = Instance.new("UIListLayout");
  1148. ["_Hint"] = Instance.new("Frame");
  1149. ["_Arrow1"] = Instance.new("ImageLabel");
  1150. ["_Theme20"] = Instance.new("StringValue");
  1151. ["_Category19"] = Instance.new("StringValue");
  1152. ["_Ignore19"] = Instance.new("BoolValue");
  1153. ["_Main2"] = Instance.new("Frame");
  1154. ["_Main3"] = Instance.new("Frame");
  1155. ["_UICorner5"] = Instance.new("UICorner");
  1156. ["_UIListLayout5"] = Instance.new("UIListLayout");
  1157. ["_Frame3"] = Instance.new("Frame");
  1158. ["_UIListLayout6"] = Instance.new("UIListLayout");
  1159. ["_0_padding2"] = Instance.new("Frame");
  1160. ["_1_main"] = Instance.new("Frame");
  1161. ["_Text"] = Instance.new("TextLabel");
  1162. ["_0_padding3"] = Instance.new("Frame");
  1163. ["_padding2"] = Instance.new("Frame");
  1164. ["_UIListLayout7"] = Instance.new("UIListLayout");
  1165. ["_2_padding"] = Instance.new("Frame");
  1166. ["_padding3"] = Instance.new("Frame");
  1167. ["_0_padding4"] = Instance.new("Frame");
  1168. ["_UIStroke"] = Instance.new("UIStroke");
  1169. ["_Theme21"] = Instance.new("StringValue");
  1170. ["_Category20"] = Instance.new("StringValue");
  1171. ["_Ignore20"] = Instance.new("BoolValue");
  1172. ["_Theme22"] = Instance.new("StringValue");
  1173. ["_Category21"] = Instance.new("StringValue");
  1174. ["_Ignore21"] = Instance.new("BoolValue");
  1175. }
  1176.  
  1177. --Properties
  1178.  
  1179. Converted["_Atlas"].DisplayOrder = 99
  1180. Converted["_Atlas"].IgnoreGuiInset = true
  1181. Converted["_Atlas"].ResetOnSpawn = false
  1182. Converted["_Atlas"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  1183. Converted["_Atlas"].Name = "Atlas"
  1184. Converted["_Atlas"].Parent = game:GetService("CoreGui")
  1185.  
  1186. Converted["_UI_Library"].Name = "UI_Library"
  1187. Converted["_UI_Library"].Parent = Converted["_Atlas"]
  1188.  
  1189. Converted["_Name"].Value = "Atlas UI Library"
  1190. Converted["_Name"].Name = "Name"
  1191. Converted["_Name"].Parent = Converted["_UI_Library"]
  1192.  
  1193. Converted["_Creator"].Value = "RoadToGlory#9879"
  1194. Converted["_Creator"].Name = "Creator"
  1195. Converted["_Creator"].Parent = Converted["_UI_Library"]
  1196.  
  1197. Converted["_Discord"].Value = "https://discord.gg/xu5dDS3Pb9"
  1198. Converted["_Discord"].Name = "Discord"
  1199. Converted["_Discord"].Parent = Converted["_UI_Library"]
  1200.  
  1201. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  1202. Converted["_Main"].BackgroundTransparency = 1
  1203. Converted["_Main"].Position = UDim2.new(0.5, -320, 0.5, -219)
  1204. Converted["_Main"].Size = UDim2.new(0, 640, 0, 438)
  1205. Converted["_Main"].ZIndex = 100
  1206. Converted["_Main"].Name = "Main"
  1207. Converted["_Main"].Parent = Converted["_Atlas"]
  1208.  
  1209. Converted["_Contents"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1210. Converted["_Contents"].BackgroundTransparency = 1
  1211. Converted["_Contents"].Size = UDim2.new(1, 0, 1, 0)
  1212. Converted["_Contents"].ZIndex = 10
  1213. Converted["_Contents"].Name = "Contents"
  1214. Converted["_Contents"].Parent = Converted["_Main"]
  1215.  
  1216. Converted["_Appearance"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1217. Converted["_Appearance"].BackgroundTransparency = 1
  1218. Converted["_Appearance"].Size = UDim2.new(1, 0, 1, 0)
  1219. Converted["_Appearance"].ZIndex = 10
  1220. Converted["_Appearance"].Name = "Appearance"
  1221. Converted["_Appearance"].Parent = Converted["_Contents"]
  1222.  
  1223. Converted["_Fade"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  1224. Converted["_Fade"].BorderSizePixel = 0
  1225. Converted["_Fade"].Position = UDim2.new(0, 0, 0, 32)
  1226. Converted["_Fade"].Size = UDim2.new(1, 0, 0, 9)
  1227. Converted["_Fade"].ZIndex = 28
  1228. Converted["_Fade"].Name = "Fade"
  1229. Converted["_Fade"].Parent = Converted["_Appearance"]
  1230.  
  1231. Converted["_UIGradient"].Rotation = 90
  1232. Converted["_UIGradient"].Transparency = NumberSequence.new{
  1233. NumberSequenceKeypoint.new(0, 0.48750001192092896),
  1234. NumberSequenceKeypoint.new(1, 1)
  1235. }
  1236. Converted["_UIGradient"].Parent = Converted["_Fade"]
  1237.  
  1238. Converted["_Top"].BackgroundColor3 = Color3.fromRGB(30.00000011175871, 30.00000011175871, 30.00000011175871)
  1239. Converted["_Top"].Size = UDim2.new(1, 0, 0, 32)
  1240. Converted["_Top"].ZIndex = 30
  1241. Converted["_Top"].Name = "Top"
  1242. Converted["_Top"].Parent = Converted["_Appearance"]
  1243.  
  1244. Converted["_UICorner"].CornerRadius = UDim.new(0, 7)
  1245. Converted["_UICorner"].Parent = Converted["_Top"]
  1246.  
  1247. Converted["_Theme"].Value = "BackgroundColor3"
  1248. Converted["_Theme"].Name = "Theme"
  1249. Converted["_Theme"].Parent = Converted["_Top"]
  1250.  
  1251. Converted["_Category"].Value = "LightContrast"
  1252. Converted["_Category"].Name = "Category"
  1253. Converted["_Category"].Parent = Converted["_Theme"]
  1254.  
  1255. Converted["_Ignore"].Name = "Ignore"
  1256. Converted["_Ignore"].Parent = Converted["_Theme"]
  1257.  
  1258. Converted["_Line"].BackgroundColor3 = Color3.fromRGB(164.00000542402267, 53.00000064074993, 90.00000223517418)
  1259. Converted["_Line"].BorderSizePixel = 0
  1260. Converted["_Line"].Position = UDim2.new(0, 0, 0, 32)
  1261. Converted["_Line"].Size = UDim2.new(1, 0, 0, 2)
  1262. Converted["_Line"].ZIndex = 29
  1263. Converted["_Line"].Name = "Line"
  1264. Converted["_Line"].Parent = Converted["_Appearance"]
  1265.  
  1266. Converted["_Theme1"].Value = "BackgroundColor3"
  1267. Converted["_Theme1"].Name = "Theme"
  1268. Converted["_Theme1"].Parent = Converted["_Line"]
  1269.  
  1270. Converted["_Category1"].Value = "Main"
  1271. Converted["_Category1"].Name = "Category"
  1272. Converted["_Category1"].Parent = Converted["_Theme1"]
  1273.  
  1274. Converted["_Ignore1"].Name = "Ignore"
  1275. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  1276.  
  1277. Converted["_Top_fill"].AnchorPoint = Vector2.new(0, 1)
  1278. Converted["_Top_fill"].BackgroundColor3 = Color3.fromRGB(30.00000011175871, 30.00000011175871, 30.00000011175871)
  1279. Converted["_Top_fill"].BorderSizePixel = 0
  1280. Converted["_Top_fill"].Position = UDim2.new(0, 0, 0, 32)
  1281. Converted["_Top_fill"].Size = UDim2.new(1, 0, 0, 4)
  1282. Converted["_Top_fill"].ZIndex = 27
  1283. Converted["_Top_fill"].Name = "Top_fill"
  1284. Converted["_Top_fill"].Parent = Converted["_Appearance"]
  1285.  
  1286. Converted["_Theme2"].Value = "BackgroundColor3"
  1287. Converted["_Theme2"].Name = "Theme"
  1288. Converted["_Theme2"].Parent = Converted["_Top_fill"]
  1289.  
  1290. Converted["_Category2"].Value = "LightContrast"
  1291. Converted["_Category2"].Name = "Category"
  1292. Converted["_Category2"].Parent = Converted["_Theme2"]
  1293.  
  1294. Converted["_Ignore2"].Name = "Ignore"
  1295. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  1296.  
  1297. Converted["_Top1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1298. Converted["_Top1"].BackgroundTransparency = 1
  1299. Converted["_Top1"].Size = UDim2.new(1, 0, 0, 32)
  1300. Converted["_Top1"].ZIndex = 10
  1301. Converted["_Top1"].Name = "Top"
  1302. Converted["_Top1"].Parent = Converted["_Contents"]
  1303.  
  1304. Converted["_Close"].Image = "http://www.roblox.com/asset/?id=10259890025"
  1305. Converted["_Close"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1306. Converted["_Close"].AnchorPoint = Vector2.new(1, 0.5)
  1307. Converted["_Close"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1308. Converted["_Close"].BackgroundTransparency = 1
  1309. Converted["_Close"].Position = UDim2.new(1, -5, 0.5, 0)
  1310. Converted["_Close"].Size = UDim2.new(0, 22, 0, 22)
  1311. Converted["_Close"].Name = "Close"
  1312. Converted["_Close"].Parent = Converted["_Top1"]
  1313.  
  1314. Converted["_UIAspectRatioConstraint"].AspectType = Enum.AspectType.ScaleWithParentSize
  1315. Converted["_UIAspectRatioConstraint"].DominantAxis = Enum.DominantAxis.Height
  1316. Converted["_UIAspectRatioConstraint"].Parent = Converted["_Close"]
  1317.  
  1318. Converted["_Theme3"].Value = "ImageColor3"
  1319. Converted["_Theme3"].Name = "Theme"
  1320. Converted["_Theme3"].Parent = Converted["_Close"]
  1321.  
  1322. Converted["_Category3"].Value = "Symbols"
  1323. Converted["_Category3"].Name = "Category"
  1324. Converted["_Category3"].Parent = Converted["_Theme3"]
  1325.  
  1326. Converted["_Ignore3"].Name = "Ignore"
  1327. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  1328.  
  1329. Converted["_Menu"].Image = "http://www.roblox.com/asset/?id=10953432322"
  1330. Converted["_Menu"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1331. Converted["_Menu"].AnchorPoint = Vector2.new(0, 0.5)
  1332. Converted["_Menu"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1333. Converted["_Menu"].BackgroundTransparency = 1
  1334. Converted["_Menu"].Position = UDim2.new(0, 9, 0.5, 0)
  1335. Converted["_Menu"].Size = UDim2.new(0, 22, 0, 22)
  1336. Converted["_Menu"].Name = "Menu"
  1337. Converted["_Menu"].Parent = Converted["_Top1"]
  1338.  
  1339. Converted["_UIAspectRatioConstraint1"].AspectType = Enum.AspectType.ScaleWithParentSize
  1340. Converted["_UIAspectRatioConstraint1"].DominantAxis = Enum.DominantAxis.Height
  1341. Converted["_UIAspectRatioConstraint1"].Parent = Converted["_Menu"]
  1342.  
  1343. Converted["_Theme4"].Value = "ImageColor3"
  1344. Converted["_Theme4"].Name = "Theme"
  1345. Converted["_Theme4"].Parent = Converted["_Menu"]
  1346.  
  1347. Converted["_Category4"].Value = "Symbols"
  1348. Converted["_Category4"].Name = "Category"
  1349. Converted["_Category4"].Parent = Converted["_Theme4"]
  1350.  
  1351. Converted["_Ignore4"].Name = "Ignore"
  1352. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  1353.  
  1354. Converted["_Title"].Font = Enum.Font.GothamBlack
  1355. Converted["_Title"].Text = "Atlas"
  1356. Converted["_Title"].TextColor3 = Color3.fromRGB(164.00000542402267, 53.00000064074993, 90.00000223517418)
  1357. Converted["_Title"].TextSize = 16
  1358. Converted["_Title"].TextTruncate = Enum.TextTruncate.AtEnd
  1359. Converted["_Title"].AnchorPoint = Vector2.new(0.5, 0.5)
  1360. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1361. Converted["_Title"].BackgroundTransparency = 1
  1362. Converted["_Title"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1363. Converted["_Title"].Size = UDim2.new(1, -150, 0.5, 0)
  1364. Converted["_Title"].Name = "Title"
  1365. Converted["_Title"].Parent = Converted["_Top1"]
  1366.  
  1367. Converted["_UISizeConstraint"].Parent = Converted["_Title"]
  1368.  
  1369. Converted["_Theme5"].Value = "TextColor3"
  1370. Converted["_Theme5"].Name = "Theme"
  1371. Converted["_Theme5"].Parent = Converted["_Title"]
  1372.  
  1373. Converted["_Category5"].Value = "Main"
  1374. Converted["_Category5"].Name = "Category"
  1375. Converted["_Category5"].Parent = Converted["_Theme5"]
  1376.  
  1377. Converted["_Ignore5"].Name = "Ignore"
  1378. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  1379.  
  1380. Converted["_Info"].Image = "http://www.roblox.com/asset/?id=10954638982"
  1381. Converted["_Info"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1382. Converted["_Info"].AnchorPoint = Vector2.new(1, 0.5)
  1383. Converted["_Info"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1384. Converted["_Info"].BackgroundTransparency = 1
  1385. Converted["_Info"].Position = UDim2.new(0, 60, 0.5, 0)
  1386. Converted["_Info"].Size = UDim2.new(0, 22, 0, 20)
  1387. Converted["_Info"].Name = "Info"
  1388. Converted["_Info"].Parent = Converted["_Top1"]
  1389.  
  1390. Converted["_UIAspectRatioConstraint2"].AspectType = Enum.AspectType.ScaleWithParentSize
  1391. Converted["_UIAspectRatioConstraint2"].DominantAxis = Enum.DominantAxis.Height
  1392. Converted["_UIAspectRatioConstraint2"].Parent = Converted["_Info"]
  1393.  
  1394. Converted["_Credits"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1395. Converted["_Credits"].BackgroundTransparency = 1
  1396. Converted["_Credits"].Size = UDim2.new(1, 0, 1, 0)
  1397. Converted["_Credits"].Visible = false
  1398. Converted["_Credits"].Name = "Credits"
  1399. Converted["_Credits"].Parent = Converted["_Info"]
  1400.  
  1401. Converted["_Main1"].AnchorPoint = Vector2.new(0.5, 0.5)
  1402. Converted["_Main1"].AutomaticSize = Enum.AutomaticSize.X
  1403. Converted["_Main1"].BackgroundColor3 = Color3.fromRGB(31.000000052154064, 31.000000052154064, 31.000000052154064)
  1404. Converted["_Main1"].Position = UDim2.new(0.5, 0, -2.25, 0)
  1405. Converted["_Main1"].Size = UDim2.new(0, 1, 2.5, 0)
  1406. Converted["_Main1"].ZIndex = 70
  1407. Converted["_Main1"].Name = "Main"
  1408. Converted["_Main1"].Parent = Converted["_Credits"]
  1409.  
  1410. Converted["_UICorner1"].CornerRadius = UDim.new(0, 6)
  1411. Converted["_UICorner1"].Parent = Converted["_Main1"]
  1412.  
  1413. Converted["_UIListLayout"].Padding = UDim.new(0, 7)
  1414. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  1415. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1416. Converted["_UIListLayout"].Parent = Converted["_Main1"]
  1417.  
  1418. Converted["_Frame"].AutomaticSize = Enum.AutomaticSize.X
  1419. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1420. Converted["_Frame"].BackgroundTransparency = 1
  1421. Converted["_Frame"].Size = UDim2.new(0, 1, 1, 0)
  1422. Converted["_Frame"].Parent = Converted["_Main1"]
  1423.  
  1424. Converted["_B"].Font = Enum.Font.Gotham
  1425. Converted["_B"].Text = "Atlas UI Lib: RoadToGlory#9879"
  1426. Converted["_B"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1427. Converted["_B"].TextSize = 12
  1428. Converted["_B"].AnchorPoint = Vector2.new(0.5, 0.5)
  1429. Converted["_B"].AutomaticSize = Enum.AutomaticSize.X
  1430. Converted["_B"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1431. Converted["_B"].BackgroundTransparency = 1
  1432. Converted["_B"].Position = UDim2.new(0.5, 0, 0.699999988, 0)
  1433. Converted["_B"].Size = UDim2.new(0, 1, 0.300000012, 0)
  1434. Converted["_B"].Name = "B"
  1435. Converted["_B"].Parent = Converted["_Frame"]
  1436.  
  1437. Converted["_A"].Font = Enum.Font.Gotham
  1438. Converted["_A"].Text = "AWP: RoadToGlory#9879"
  1439. Converted["_A"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1440. Converted["_A"].TextSize = 12
  1441. Converted["_A"].AnchorPoint = Vector2.new(0.5, 0.5)
  1442. Converted["_A"].AutomaticSize = Enum.AutomaticSize.X
  1443. Converted["_A"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1444. Converted["_A"].BackgroundTransparency = 1
  1445. Converted["_A"].Position = UDim2.new(0.5, 0, 0.300000012, 0)
  1446. Converted["_A"].Size = UDim2.new(0, 1, 0.300000012, 0)
  1447. Converted["_A"].Name = "A"
  1448. Converted["_A"].Parent = Converted["_Frame"]
  1449.  
  1450. Converted["_UIListLayout1"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1451. Converted["_UIListLayout1"].VerticalAlignment = Enum.VerticalAlignment.Center
  1452. Converted["_UIListLayout1"].Parent = Converted["_Frame"]
  1453.  
  1454. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1455. Converted["_padding"].BackgroundTransparency = 1
  1456. Converted["_padding"].Name = "padding"
  1457. Converted["_padding"].Parent = Converted["_Main1"]
  1458.  
  1459. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1460. Converted["_0_padding"].BackgroundTransparency = 1
  1461. Converted["_0_padding"].Name = "0_padding"
  1462. Converted["_0_padding"].Parent = Converted["_Main1"]
  1463.  
  1464. Converted["_Arrow"].Image = "http://www.roblox.com/asset/?id=10955007577"
  1465. Converted["_Arrow"].ImageColor3 = Color3.fromRGB(31.000000052154064, 31.000000052154064, 31.000000052154064)
  1466. Converted["_Arrow"].AnchorPoint = Vector2.new(0.5, 0)
  1467. Converted["_Arrow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1468. Converted["_Arrow"].BackgroundTransparency = 1
  1469. Converted["_Arrow"].Position = UDim2.new(0.5, 0, -1, 0)
  1470. Converted["_Arrow"].Rotation = 180
  1471. Converted["_Arrow"].Size = UDim2.new(0, 10, 0, 10)
  1472. Converted["_Arrow"].Name = "Arrow"
  1473. Converted["_Arrow"].Parent = Converted["_Credits"]
  1474.  
  1475. Converted["_Theme6"].Value = "ImageColor3"
  1476. Converted["_Theme6"].Name = "Theme"
  1477. Converted["_Theme6"].Parent = Converted["_Info"]
  1478.  
  1479. Converted["_Category6"].Value = "Symbols"
  1480. Converted["_Category6"].Name = "Category"
  1481. Converted["_Category6"].Parent = Converted["_Theme6"]
  1482.  
  1483. Converted["_Ignore6"].Name = "Ignore"
  1484. Converted["_Ignore6"].Parent = Converted["_Theme6"]
  1485.  
  1486. Converted["_Search"].Image = "http://www.roblox.com/asset/?id=10954646243"
  1487. Converted["_Search"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1488. Converted["_Search"].AnchorPoint = Vector2.new(1, 0.5)
  1489. Converted["_Search"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1490. Converted["_Search"].BackgroundTransparency = 1
  1491. Converted["_Search"].Position = UDim2.new(1, -32, 0.5, 0)
  1492. Converted["_Search"].Size = UDim2.new(0, 22, 0, 21)
  1493. Converted["_Search"].Name = "Search"
  1494. Converted["_Search"].Parent = Converted["_Top1"]
  1495.  
  1496. Converted["_UIAspectRatioConstraint3"].AspectType = Enum.AspectType.ScaleWithParentSize
  1497. Converted["_UIAspectRatioConstraint3"].DominantAxis = Enum.DominantAxis.Height
  1498. Converted["_UIAspectRatioConstraint3"].Parent = Converted["_Search"]
  1499.  
  1500. Converted["_Theme7"].Value = "ImageColor3"
  1501. Converted["_Theme7"].Name = "Theme"
  1502. Converted["_Theme7"].Parent = Converted["_Search"]
  1503.  
  1504. Converted["_Category7"].Value = "Symbols"
  1505. Converted["_Category7"].Name = "Category"
  1506. Converted["_Category7"].Parent = Converted["_Theme7"]
  1507.  
  1508. Converted["_Ignore7"].Name = "Ignore"
  1509. Converted["_Ignore7"].Parent = Converted["_Theme7"]
  1510.  
  1511. Converted["_SearchBar"].AnchorPoint = Vector2.new(0.5, 0.5)
  1512. Converted["_SearchBar"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  1513. Converted["_SearchBar"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1514. Converted["_SearchBar"].Size = UDim2.new(0.328999996, 0, 0, 21)
  1515. Converted["_SearchBar"].Visible = false
  1516. Converted["_SearchBar"].Name = "SearchBar"
  1517. Converted["_SearchBar"].Parent = Converted["_Top1"]
  1518.  
  1519. Converted["_UICorner2"].Parent = Converted["_SearchBar"]
  1520.  
  1521. Converted["_Icon"].Image = "http://www.roblox.com/asset/?id=10954646243"
  1522. Converted["_Icon"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1523. Converted["_Icon"].AnchorPoint = Vector2.new(0, 0.5)
  1524. Converted["_Icon"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1525. Converted["_Icon"].BackgroundTransparency = 1
  1526. Converted["_Icon"].Position = UDim2.new(0, 3, 0.5, 0)
  1527. Converted["_Icon"].Size = UDim2.new(0, 17, 0, 17)
  1528. Converted["_Icon"].Name = "Icon"
  1529. Converted["_Icon"].Parent = Converted["_SearchBar"]
  1530.  
  1531. Converted["_Theme8"].Value = "ImageColor3"
  1532. Converted["_Theme8"].Name = "Theme"
  1533. Converted["_Theme8"].Parent = Converted["_Icon"]
  1534.  
  1535. Converted["_Category8"].Value = "Symbols"
  1536. Converted["_Category8"].Name = "Category"
  1537. Converted["_Category8"].Parent = Converted["_Theme8"]
  1538.  
  1539. Converted["_Ignore8"].Name = "Ignore"
  1540. Converted["_Ignore8"].Parent = Converted["_Theme8"]
  1541.  
  1542. Converted["_TextBox"].Font = Enum.Font.Gotham
  1543. Converted["_TextBox"].PlaceholderColor3 = Color3.fromRGB(165.00000536441803, 165.00000536441803, 165.00000536441803)
  1544. Converted["_TextBox"].PlaceholderText = "search"
  1545. Converted["_TextBox"].Text = ""
  1546. Converted["_TextBox"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1547. Converted["_TextBox"].TextSize = 13
  1548. Converted["_TextBox"].TextTruncate = Enum.TextTruncate.AtEnd
  1549. Converted["_TextBox"].AnchorPoint = Vector2.new(0.5, 0)
  1550. Converted["_TextBox"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1551. Converted["_TextBox"].BackgroundTransparency = 1
  1552. Converted["_TextBox"].Position = UDim2.new(0.5, 0, 0, 0)
  1553. Converted["_TextBox"].Size = UDim2.new(1, -34, 1, 0)
  1554. Converted["_TextBox"].Parent = Converted["_SearchBar"]
  1555.  
  1556. Converted["_Theme9"].Value = "PlaceholderColor3"
  1557. Converted["_Theme9"].Name = "Theme"
  1558. Converted["_Theme9"].Parent = Converted["_TextBox"]
  1559.  
  1560. Converted["_Category9"].Value = "GreyContrast"
  1561. Converted["_Category9"].Name = "Category"
  1562. Converted["_Category9"].Parent = Converted["_Theme9"]
  1563.  
  1564. Converted["_Ignore9"].Name = "Ignore"
  1565. Converted["_Ignore9"].Parent = Converted["_Theme9"]
  1566.  
  1567. Converted["_Theme10"].Value = "TextColor3"
  1568. Converted["_Theme10"].Name = "Theme"
  1569. Converted["_Theme10"].Parent = Converted["_TextBox"]
  1570.  
  1571. Converted["_Category10"].Value = "Symbols"
  1572. Converted["_Category10"].Name = "Category"
  1573. Converted["_Category10"].Parent = Converted["_Theme10"]
  1574.  
  1575. Converted["_Ignore10"].Name = "Ignore"
  1576. Converted["_Ignore10"].Parent = Converted["_Theme10"]
  1577.  
  1578. Converted["_Theme11"].Value = "BackgroundColor3"
  1579. Converted["_Theme11"].Name = "Theme"
  1580. Converted["_Theme11"].Parent = Converted["_SearchBar"]
  1581.  
  1582. Converted["_Category11"].Value = "Background"
  1583. Converted["_Category11"].Name = "Category"
  1584. Converted["_Category11"].Parent = Converted["_Theme11"]
  1585.  
  1586. Converted["_Ignore11"].Name = "Ignore"
  1587. Converted["_Ignore11"].Parent = Converted["_Theme11"]
  1588.  
  1589. Converted["_Drag"].Font = Enum.Font.SourceSans
  1590. Converted["_Drag"].Text = ""
  1591. Converted["_Drag"].TextColor3 = Color3.fromRGB(0, 0, 0)
  1592. Converted["_Drag"].TextSize = 14
  1593. Converted["_Drag"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1594. Converted["_Drag"].BackgroundTransparency = 1
  1595. Converted["_Drag"].Size = UDim2.new(1, 0, 1, 0)
  1596. Converted["_Drag"].ZIndex = 0
  1597. Converted["_Drag"].Name = "Drag"
  1598. Converted["_Drag"].Parent = Converted["_Top1"]
  1599.  
  1600. Converted["_Theme12"].Image = "http://www.roblox.com/asset/?id=10983705188"
  1601. Converted["_Theme12"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1602. Converted["_Theme12"].AnchorPoint = Vector2.new(1, 0.5)
  1603. Converted["_Theme12"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1604. Converted["_Theme12"].BackgroundTransparency = 1
  1605. Converted["_Theme12"].Position = UDim2.new(1, -59, 0.5, 0)
  1606. Converted["_Theme12"].Size = UDim2.new(0, 22, 0, 21)
  1607. Converted["_Theme12"].Visible = false
  1608. Converted["_Theme12"].Name = "Theme"
  1609. Converted["_Theme12"].Parent = Converted["_Top1"]
  1610.  
  1611. Converted["_UIAspectRatioConstraint4"].AspectType = Enum.AspectType.ScaleWithParentSize
  1612. Converted["_UIAspectRatioConstraint4"].DominantAxis = Enum.DominantAxis.Height
  1613. Converted["_UIAspectRatioConstraint4"].Parent = Converted["_Theme12"]
  1614.  
  1615. Converted["_Theme13"].Value = "ImageColor3"
  1616. Converted["_Theme13"].Name = "Theme"
  1617. Converted["_Theme13"].Parent = Converted["_Theme12"]
  1618.  
  1619. Converted["_Category12"].Value = "Symbols"
  1620. Converted["_Category12"].Name = "Category"
  1621. Converted["_Category12"].Parent = Converted["_Theme13"]
  1622.  
  1623. Converted["_Ignore12"].Name = "Ignore"
  1624. Converted["_Ignore12"].Parent = Converted["_Theme13"]
  1625.  
  1626. Converted["_Background"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  1627. Converted["_Background"].Size = UDim2.new(1, 0, 1, 0)
  1628. Converted["_Background"].Name = "Background"
  1629. Converted["_Background"].Parent = Converted["_Contents"]
  1630.  
  1631. Converted["_UICorner3"].CornerRadius = UDim.new(0, 7)
  1632. Converted["_UICorner3"].Parent = Converted["_Background"]
  1633.  
  1634. Converted["_Theme14"].Value = "BackgroundColor3"
  1635. Converted["_Theme14"].Name = "Theme"
  1636. Converted["_Theme14"].Parent = Converted["_Background"]
  1637.  
  1638. Converted["_Category13"].Value = "Background"
  1639. Converted["_Category13"].Name = "Category"
  1640. Converted["_Category13"].Parent = Converted["_Theme14"]
  1641.  
  1642. Converted["_Ignore13"].Name = "Ignore"
  1643. Converted["_Ignore13"].Parent = Converted["_Theme14"]
  1644.  
  1645. Converted["_Pages"].BackgroundColor3 = Color3.fromRGB(37.00000159442425, 37.00000159442425, 37.00000159442425)
  1646. Converted["_Pages"].Size = UDim2.new(0, 0, 1, 0)
  1647. Converted["_Pages"].Visible = true
  1648. Converted["_Pages"].ZIndex = 80
  1649. Converted["_Pages"].Name = "Pages"
  1650. Converted["_Pages"].Parent = Converted["_Contents"]
  1651.  
  1652. Converted["_UICorner4"].CornerRadius = UDim.new(0, 7)
  1653. Converted["_UICorner4"].Parent = Converted["_Pages"]
  1654.  
  1655. Converted["_Close1"].Image = "http://www.roblox.com/asset/?id=10259890025"
  1656. Converted["_Close1"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1657. Converted["_Close1"].AnchorPoint = Vector2.new(0, 0.5)
  1658. Converted["_Close1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1659. Converted["_Close1"].BackgroundTransparency = 1
  1660. Converted["_Close1"].Position = UDim2.new(0, 5, 0, 16)
  1661. Converted["_Close1"].Size = UDim2.new(0, 22, 0, 22)
  1662. Converted["_Close1"].Name = "Close"
  1663. Converted["_Close1"].Parent = Converted["_Pages"]
  1664.  
  1665. Converted["_UIAspectRatioConstraint5"].AspectType = Enum.AspectType.ScaleWithParentSize
  1666. Converted["_UIAspectRatioConstraint5"].DominantAxis = Enum.DominantAxis.Height
  1667. Converted["_UIAspectRatioConstraint5"].Parent = Converted["_Close1"]
  1668.  
  1669. Converted["_Theme15"].Value = "ImageColor3"
  1670. Converted["_Theme15"].Name = "Theme"
  1671. Converted["_Theme15"].Parent = Converted["_Close1"]
  1672.  
  1673. Converted["_Category14"].Value = "Symbols"
  1674. Converted["_Category14"].Name = "Category"
  1675. Converted["_Category14"].Parent = Converted["_Theme15"]
  1676.  
  1677. Converted["_Ignore14"].Name = "Ignore"
  1678. Converted["_Ignore14"].Parent = Converted["_Theme15"]
  1679.  
  1680. Converted["_Line1"].BackgroundColor3 = Color3.fromRGB(65.0000037252903, 65.0000037252903, 65.0000037252903)
  1681. Converted["_Line1"].BorderSizePixel = 0
  1682. Converted["_Line1"].Position = UDim2.new(0, 0, 0, 32)
  1683. Converted["_Line1"].Size = UDim2.new(1, 0, 0, 1)
  1684. Converted["_Line1"].ZIndex = 29
  1685. Converted["_Line1"].Name = "Line"
  1686. Converted["_Line1"].Parent = Converted["_Pages"]
  1687.  
  1688. Converted["_Theme16"].Value = "BackgroundColor3"
  1689. Converted["_Theme16"].Name = "Theme"
  1690. Converted["_Theme16"].Parent = Converted["_Line1"]
  1691.  
  1692. Converted["_Category15"].Value = "SidebarSeperator"
  1693. Converted["_Category15"].Name = "Category"
  1694. Converted["_Category15"].Parent = Converted["_Theme16"]
  1695.  
  1696. Converted["_Ignore15"].Name = "Ignore"
  1697. Converted["_Ignore15"].Parent = Converted["_Theme16"]
  1698.  
  1699. Converted["_ScrollingFrame"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  1700. Converted["_ScrollingFrame"].CanvasSize = UDim2.new(0, 0, 1, 0)
  1701. Converted["_ScrollingFrame"].ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  1702. Converted["_ScrollingFrame"].ScrollBarThickness = 0
  1703. Converted["_ScrollingFrame"].Active = true
  1704. Converted["_ScrollingFrame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1705. Converted["_ScrollingFrame"].BackgroundTransparency = 1
  1706. Converted["_ScrollingFrame"].Position = UDim2.new(0, 9, 0, 39)
  1707. Converted["_ScrollingFrame"].Size = UDim2.new(0.88554424, 0, 0.985523105, -40)
  1708. Converted["_ScrollingFrame"].Parent = Converted["_Pages"]
  1709.  
  1710. Converted["_UIListLayout2"].Parent = Converted["_ScrollingFrame"]
  1711.  
  1712. Converted["_Theme17"].Value = "BackgroundColor3"
  1713. Converted["_Theme17"].Name = "Theme"
  1714. Converted["_Theme17"].Parent = Converted["_Pages"]
  1715.  
  1716. Converted["_Category16"].Value = "Sidebar"
  1717. Converted["_Category16"].Name = "Category"
  1718. Converted["_Category16"].Parent = Converted["_Theme17"]
  1719.  
  1720. Converted["_Ignore16"].Name = "Ignore"
  1721. Converted["_Ignore16"].Parent = Converted["_Theme17"]
  1722.  
  1723. Converted["_Contents1"].AnchorPoint = Vector2.new(1, 1)
  1724. Converted["_Contents1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1725. Converted["_Contents1"].BackgroundTransparency = 1
  1726. Converted["_Contents1"].Position = UDim2.new(1, 0, 1, 0)
  1727. Converted["_Contents1"].Size = UDim2.new(1, 0, 1, -32)
  1728. Converted["_Contents1"].ZIndex = 50
  1729. Converted["_Contents1"].Name = "Contents"
  1730. Converted["_Contents1"].Parent = Converted["_Contents"]
  1731.  
  1732. Converted["_Page"].AnchorPoint = Vector2.new(1, 0.5)
  1733. Converted["_Page"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1734. Converted["_Page"].BackgroundTransparency = 1
  1735. Converted["_Page"].Position = UDim2.new(1, -3, 0.5, 0)
  1736. Converted["_Page"].Size = UDim2.new(1, -9, 1, -12)
  1737. Converted["_Page"].Name = "Page"
  1738. Converted["_Page"].Parent = Converted["_Contents1"]
  1739.  
  1740. Converted["_ScrollingFrame1"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  1741. Converted["_ScrollingFrame1"].CanvasSize = UDim2.new(0, 0, 1, 0)
  1742. Converted["_ScrollingFrame1"].ScrollBarImageColor3 = Color3.fromRGB(151.00000619888306, 151.00000619888306, 151.00000619888306)
  1743. Converted["_ScrollingFrame1"].ScrollBarImageTransparency = 0.20000000298023224
  1744. Converted["_ScrollingFrame1"].ScrollBarThickness = 5
  1745. Converted["_ScrollingFrame1"].Active = true
  1746. Converted["_ScrollingFrame1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1747. Converted["_ScrollingFrame1"].BackgroundTransparency = 1
  1748. Converted["_ScrollingFrame1"].BorderSizePixel = 0
  1749. Converted["_ScrollingFrame1"].Size = UDim2.new(1, 0, 1, 0)
  1750. Converted["_ScrollingFrame1"].Parent = Converted["_Page"]
  1751.  
  1752. Converted["_UIListLayout3"].Padding = UDim.new(0, 8)
  1753. Converted["_UIListLayout3"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1754. Converted["_UIListLayout3"].Parent = Converted["_ScrollingFrame1"]
  1755.  
  1756. Converted["_padding1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1757. Converted["_padding1"].BackgroundTransparency = 1
  1758. Converted["_padding1"].Size = UDim2.new(1, 0, 0, 0)
  1759. Converted["_padding1"].Name = "padding"
  1760. Converted["_padding1"].Parent = Converted["_ScrollingFrame1"]
  1761.  
  1762. Converted["_0_padding1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1763. Converted["_0_padding1"].BackgroundTransparency = 1
  1764. Converted["_0_padding1"].Size = UDim2.new(1, 0, 0, 0)
  1765. Converted["_0_padding1"].Name = "0_padding"
  1766. Converted["_0_padding1"].Parent = Converted["_ScrollingFrame1"]
  1767.  
  1768. Converted["_Theme18"].Value = "ScrollBarImageColor3"
  1769. Converted["_Theme18"].Name = "Theme"
  1770. Converted["_Theme18"].Parent = Converted["_ScrollingFrame1"]
  1771.  
  1772. Converted["_Category17"].Value = "Scrollbar"
  1773. Converted["_Category17"].Name = "Category"
  1774. Converted["_Category17"].Parent = Converted["_Theme18"]
  1775.  
  1776. Converted["_Ignore17"].Name = "Ignore"
  1777. Converted["_Ignore17"].Parent = Converted["_Theme18"]
  1778.  
  1779. Converted["_Shadow"].AnchorPoint = Vector2.new(0.5, 0.5)
  1780. Converted["_Shadow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1781. Converted["_Shadow"].BackgroundTransparency = 1
  1782. Converted["_Shadow"].Position = UDim2.new(0.5, 0, 0.506053269, 0)
  1783. Converted["_Shadow"].Size = UDim2.new(1, 55, 1.01210654, 55)
  1784. Converted["_Shadow"].ZIndex = 0
  1785. Converted["_Shadow"].Name = "Shadow"
  1786. Converted["_Shadow"].Parent = Converted["_Main"]
  1787.  
  1788. Converted["_ImageLabel"].Image = "rbxassetid://10955010523"
  1789. Converted["_ImageLabel"].ImageColor3 = Color3.fromRGB(0, 0, 0)
  1790. Converted["_ImageLabel"].ImageTransparency = 0.5
  1791. Converted["_ImageLabel"].ScaleType = Enum.ScaleType.Slice
  1792. Converted["_ImageLabel"].SliceCenter = Rect.new(60, 60, 360, 360)
  1793. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  1794. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  1795. Converted["_ImageLabel"].BackgroundTransparency = 1
  1796. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1797. Converted["_ImageLabel"].Size = UDim2.new(1, 0, 1, 0)
  1798. Converted["_ImageLabel"].ZIndex = 0
  1799. Converted["_ImageLabel"].Parent = Converted["_Shadow"]
  1800.  
  1801. Converted["_Theme19"].Value = "ImageColor3"
  1802. Converted["_Theme19"].Name = "Theme"
  1803. Converted["_Theme19"].Parent = Converted["_ImageLabel"]
  1804.  
  1805. Converted["_Category18"].Value = "Shadow"
  1806. Converted["_Category18"].Name = "Category"
  1807. Converted["_Category18"].Parent = Converted["_Theme19"]
  1808.  
  1809. Converted["_Ignore18"].Name = "Ignore"
  1810. Converted["_Ignore18"].Parent = Converted["_Theme19"]
  1811.  
  1812. Converted["_Resize"].AnchorPoint = Vector2.new(1, 1)
  1813. Converted["_Resize"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1814. Converted["_Resize"].BackgroundTransparency = 1
  1815. Converted["_Resize"].Position = UDim2.new(1, -4, 1, -4)
  1816. Converted["_Resize"].Size = UDim2.new(0, 10, 0, 10)
  1817. Converted["_Resize"].Visible = false
  1818. Converted["_Resize"].ZIndex = 20
  1819. Converted["_Resize"].Name = "Resize"
  1820. Converted["_Resize"].Parent = Converted["_Main"]
  1821.  
  1822. Converted["_Frame1"].AnchorPoint = Vector2.new(0.5, 0.5)
  1823. Converted["_Frame1"].BackgroundColor3 = Color3.fromRGB(143.00000667572021, 143.00000667572021, 143.00000667572021)
  1824. Converted["_Frame1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1825. Converted["_Frame1"].Rotation = -45
  1826. Converted["_Frame1"].Size = UDim2.new(1, 0, 0.100000001, 0)
  1827. Converted["_Frame1"].Parent = Converted["_Resize"]
  1828.  
  1829. Converted["_Frame2"].AnchorPoint = Vector2.new(0.5, 0.5)
  1830. Converted["_Frame2"].BackgroundColor3 = Color3.fromRGB(143.00000667572021, 143.00000667572021, 143.00000667572021)
  1831. Converted["_Frame2"].Position = UDim2.new(0.800000012, 0, 0.800000012, 0)
  1832. Converted["_Frame2"].Rotation = -45
  1833. Converted["_Frame2"].Size = UDim2.new(0.400000006, 0, 0.100000001, 0)
  1834. Converted["_Frame2"].Parent = Converted["_Resize"]
  1835.  
  1836. Converted["_ResizeArea"].Font = Enum.Font.SourceSans
  1837. Converted["_ResizeArea"].Text = ""
  1838. Converted["_ResizeArea"].TextColor3 = Color3.fromRGB(0, 0, 0)
  1839. Converted["_ResizeArea"].TextSize = 14
  1840. Converted["_ResizeArea"].AnchorPoint = Vector2.new(1, 1)
  1841. Converted["_ResizeArea"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1842. Converted["_ResizeArea"].BackgroundTransparency = 1
  1843. Converted["_ResizeArea"].Position = UDim2.new(1, 2, 1, 2)
  1844. Converted["_ResizeArea"].Size = UDim2.new(0, 18, 0, 18)
  1845. Converted["_ResizeArea"].Name = "ResizeArea"
  1846. Converted["_ResizeArea"].Parent = Converted["_Main"]
  1847.  
  1848. Converted["_Modal"].Font = Enum.Font.SourceSans
  1849. Converted["_Modal"].Text = ""
  1850. Converted["_Modal"].TextColor3 = Color3.fromRGB(0, 0, 0)
  1851. Converted["_Modal"].TextSize = 14
  1852. Converted["_Modal"].TextTransparency = 1
  1853. Converted["_Modal"].Modal = true
  1854. Converted["_Modal"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1855. Converted["_Modal"].BackgroundTransparency = 1
  1856. Converted["_Modal"].Name = "Modal"
  1857. Converted["_Modal"].Parent = Converted["_Main"]
  1858.  
  1859. Converted["_Notifications"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1860. Converted["_Notifications"].BackgroundTransparency = 1
  1861. Converted["_Notifications"].Position = UDim2.new(0, 40, 0, 0)
  1862. Converted["_Notifications"].Size = UDim2.new(0, 260, 1, -20)
  1863. Converted["_Notifications"].ZIndex = 200
  1864. Converted["_Notifications"].Name = "Notifications"
  1865. Converted["_Notifications"].Parent = Converted["_Atlas"]
  1866.  
  1867. Converted["_UIListLayout4"].Padding = UDim.new(0, 10)
  1868. Converted["_UIListLayout4"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1869. Converted["_UIListLayout4"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  1870. Converted["_UIListLayout4"].Parent = Converted["_Notifications"]
  1871.  
  1872. Converted["_Hint"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1873. Converted["_Hint"].BackgroundTransparency = 1
  1874. Converted["_Hint"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1875. Converted["_Hint"].Size = UDim2.new(0, 10, 0, 10)
  1876. Converted["_Hint"].Visible = false
  1877. Converted["_Hint"].ZIndex = 300
  1878. Converted["_Hint"].Name = "Hint"
  1879. Converted["_Hint"].Parent = Converted["_Atlas"]
  1880.  
  1881. Converted["_Arrow1"].Image = "http://www.roblox.com/asset/?id=10955007577"
  1882. Converted["_Arrow1"].ImageColor3 = Color3.fromRGB(21.000000648200512, 21.000000648200512, 21.000000648200512)
  1883. Converted["_Arrow1"].AnchorPoint = Vector2.new(0.5, 0.5)
  1884. Converted["_Arrow1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1885. Converted["_Arrow1"].BackgroundTransparency = 1
  1886. Converted["_Arrow1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  1887. Converted["_Arrow1"].Rotation = 180
  1888. Converted["_Arrow1"].Size = UDim2.new(0, 10, 0, 10)
  1889. Converted["_Arrow1"].Name = "Arrow"
  1890. Converted["_Arrow1"].Parent = Converted["_Hint"]
  1891.  
  1892. Converted["_Theme20"].Value = "ImageColor3"
  1893. Converted["_Theme20"].Name = "Theme"
  1894. Converted["_Theme20"].Parent = Converted["_Arrow1"]
  1895.  
  1896. Converted["_Category19"].Value = "Hint"
  1897. Converted["_Category19"].Name = "Category"
  1898. Converted["_Category19"].Parent = Converted["_Theme20"]
  1899.  
  1900. Converted["_Ignore19"].Name = "Ignore"
  1901. Converted["_Ignore19"].Parent = Converted["_Theme20"]
  1902.  
  1903. Converted["_Main2"].AnchorPoint = Vector2.new(0.5, 1)
  1904. Converted["_Main2"].BackgroundColor3 = Color3.fromRGB(21.000000648200512, 21.000000648200512, 21.000000648200512)
  1905. Converted["_Main2"].BackgroundTransparency = 1
  1906. Converted["_Main2"].Position = UDim2.new(0.5, 0, 0, 0)
  1907. Converted["_Main2"].Size = UDim2.new(0, 10, 0, 10)
  1908. Converted["_Main2"].ZIndex = 70
  1909. Converted["_Main2"].Name = "Main"
  1910. Converted["_Main2"].Parent = Converted["_Hint"]
  1911.  
  1912. Converted["_Main3"].AnchorPoint = Vector2.new(0.5, 1)
  1913. Converted["_Main3"].AutomaticSize = Enum.AutomaticSize.XY
  1914. Converted["_Main3"].BackgroundColor3 = Color3.fromRGB(21.000000648200512, 21.000000648200512, 21.000000648200512)
  1915. Converted["_Main3"].Position = UDim2.new(0.5, 0, 1, 0)
  1916. Converted["_Main3"].Size = UDim2.new(0, 1, 0, 1)
  1917. Converted["_Main3"].ZIndex = 70
  1918. Converted["_Main3"].Name = "Main"
  1919. Converted["_Main3"].Parent = Converted["_Main2"]
  1920.  
  1921. Converted["_UICorner5"].CornerRadius = UDim.new(0, 6)
  1922. Converted["_UICorner5"].Parent = Converted["_Main3"]
  1923.  
  1924. Converted["_UIListLayout5"].Padding = UDim.new(0, 7)
  1925. Converted["_UIListLayout5"].FillDirection = Enum.FillDirection.Horizontal
  1926. Converted["_UIListLayout5"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1927. Converted["_UIListLayout5"].Parent = Converted["_Main3"]
  1928.  
  1929. Converted["_Frame3"].AutomaticSize = Enum.AutomaticSize.XY
  1930. Converted["_Frame3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1931. Converted["_Frame3"].BackgroundTransparency = 1
  1932. Converted["_Frame3"].Size = UDim2.new(0, 1, 0, 1)
  1933. Converted["_Frame3"].Parent = Converted["_Main3"]
  1934.  
  1935. Converted["_UIListLayout6"].FillDirection = Enum.FillDirection.Horizontal
  1936. Converted["_UIListLayout6"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1937. Converted["_UIListLayout6"].Parent = Converted["_Frame3"]
  1938.  
  1939. Converted["_0_padding2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1940. Converted["_0_padding2"].BackgroundTransparency = 1
  1941. Converted["_0_padding2"].Name = "0_padding"
  1942. Converted["_0_padding2"].Parent = Converted["_Frame3"]
  1943.  
  1944. Converted["_1_main"].AutomaticSize = Enum.AutomaticSize.X
  1945. Converted["_1_main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1946. Converted["_1_main"].BackgroundTransparency = 1
  1947. Converted["_1_main"].Size = UDim2.new(0, 1, 0, 1)
  1948. Converted["_1_main"].Name = "1_main"
  1949. Converted["_1_main"].Parent = Converted["_Frame3"]
  1950.  
  1951. Converted["_Text"].Font = Enum.Font.Gotham
  1952. Converted["_Text"].RichText = true
  1953. Converted["_Text"].Text = "This feature is currently not functional."
  1954. Converted["_Text"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  1955. Converted["_Text"].TextSize = 14
  1956. Converted["_Text"].AutomaticSize = Enum.AutomaticSize.XY
  1957. Converted["_Text"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1958. Converted["_Text"].BackgroundTransparency = 1
  1959. Converted["_Text"].Size = UDim2.new(0, 1, 0, 1)
  1960. Converted["_Text"].SizeConstraint = Enum.SizeConstraint.RelativeYY
  1961. Converted["_Text"].Name = "Text"
  1962. Converted["_Text"].Parent = Converted["_1_main"]
  1963.  
  1964. Converted["_0_padding3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1965. Converted["_0_padding3"].BackgroundTransparency = 1
  1966. Converted["_0_padding3"].Name = "0_padding"
  1967. Converted["_0_padding3"].Parent = Converted["_1_main"]
  1968.  
  1969. Converted["_padding2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1970. Converted["_padding2"].BackgroundTransparency = 1
  1971. Converted["_padding2"].Name = "padding"
  1972. Converted["_padding2"].Parent = Converted["_1_main"]
  1973.  
  1974. Converted["_UIListLayout7"].Padding = UDim.new(0, 5)
  1975. Converted["_UIListLayout7"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  1976. Converted["_UIListLayout7"].Parent = Converted["_1_main"]
  1977.  
  1978. Converted["_2_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1979. Converted["_2_padding"].BackgroundTransparency = 1
  1980. Converted["_2_padding"].Name = "2_padding"
  1981. Converted["_2_padding"].Parent = Converted["_Frame3"]
  1982.  
  1983. Converted["_padding3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1984. Converted["_padding3"].BackgroundTransparency = 1
  1985. Converted["_padding3"].Name = "padding"
  1986. Converted["_padding3"].Parent = Converted["_Main3"]
  1987.  
  1988. Converted["_0_padding4"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1989. Converted["_0_padding4"].BackgroundTransparency = 1
  1990. Converted["_0_padding4"].Name = "0_padding"
  1991. Converted["_0_padding4"].Parent = Converted["_Main3"]
  1992.  
  1993. Converted["_UIStroke"].Color = Color3.fromRGB(165.00000536441803, 165.00000536441803, 165.00000536441803)
  1994. Converted["_UIStroke"].Parent = Converted["_Main3"]
  1995.  
  1996. Converted["_Theme21"].Value = "Color"
  1997. Converted["_Theme21"].Name = "Theme"
  1998. Converted["_Theme21"].Parent = Converted["_UIStroke"]
  1999.  
  2000. Converted["_Category20"].Value = "GreyContrast"
  2001. Converted["_Category20"].Name = "Category"
  2002. Converted["_Category20"].Parent = Converted["_Theme21"]
  2003.  
  2004. Converted["_Ignore20"].Name = "Ignore"
  2005. Converted["_Ignore20"].Parent = Converted["_Theme21"]
  2006.  
  2007. Converted["_Theme22"].Value = "BackgroundColor3"
  2008. Converted["_Theme22"].Name = "Theme"
  2009. Converted["_Theme22"].Parent = Converted["_Main2"]
  2010.  
  2011. Converted["_Category21"].Value = "Hint"
  2012. Converted["_Category21"].Name = "Category"
  2013. Converted["_Category21"].Parent = Converted["_Theme22"]
  2014.  
  2015. Converted["_Ignore21"].Name = "Ignore"
  2016. Converted["_Ignore21"].Parent = Converted["_Theme22"]
  2017.  
  2018. return Converted["_Atlas"]
  2019. end
  2020.  
  2021. local lib = makeLibrary()
  2022.  
  2023. local _connections = {}
  2024.  
  2025. pcall(function() -- laziness
  2026. lib.Main.Contents.Contents.Page:Destroy()
  2027. end)
  2028.  
  2029. -- Temporary
  2030. lib.Notifications.Visible = false
  2031. lib.Main.Visible = false
  2032. lib.Hint.Visible = false
  2033.  
  2034. local savedKey = nil
  2035. local flags = {}
  2036. local saveCoroutine
  2037.  
  2038. if info.ConfigFolder then
  2039. -- load data
  2040. local cf = info.ConfigFolder
  2041. local config = cf.."/config.json"
  2042. if not isfolder(cf) then
  2043. makefolder(cf)
  2044. end
  2045. if not isfile(config) then
  2046. writefile(config,"")
  2047. end
  2048. if info.CheckKey then
  2049. local key = cf.."/key.txt"
  2050. if not isfile(key) then
  2051. writefile(key,"")
  2052. end
  2053. savedKey = readfile(key)
  2054. if savedKey == "" then
  2055. savedKey = nil
  2056. end
  2057. end
  2058. flags = readfile(config)=="" and {} or game:GetService("HttpService"):JSONDecode(readfile(config))
  2059. for i,v in pairs(flags) do
  2060. if type(v)=="string" then
  2061. if string.sub(v,1,9)=="?special|" then
  2062. if string.find(v,"<$enum_type$>") then -- for enums
  2063. local semiL,_ = string.find(v,";")
  2064. local enumType = string.sub(v,24,semiL-1)
  2065. local index = string.sub(v,semiL+15,-1)
  2066. local finalEnum = Enum[enumType][index]
  2067. flags[i] = finalEnum
  2068. elseif string.find(v,"<$colorR$>") then
  2069. local semiL1,_ = string.find(v,";")
  2070. local semiL2,_ = string.find(v,";",semiL1+1)
  2071.  
  2072. local r = string.sub(v,21,semiL1-1)
  2073. local g = string.sub(v,semiL1+12,semiL2-1)
  2074. local b = string.sub(v,semiL2+12,-1)
  2075.  
  2076. flags[i] = Color3.new(tonumber(r),tonumber(g),tonumber(b))
  2077. end
  2078. end
  2079. end
  2080. end
  2081. saveCoroutine = coroutine.create(function()
  2082. LPH_JIT_MAX(function()
  2083. while utility:Wait() do
  2084. local edited_flags = {}
  2085. for i,v in pairs(flags) do
  2086. if typeof(v)=="EnumItem" then
  2087. v = "?special|<$enum_type$>:"..tostring(v.EnumType)..";<$enum_item$>:"..v.Name
  2088. elseif typeof(v)=="Color3" then
  2089. v = "?special|<$colorR$>:"..v.R..";<$colorG$>:"..v.G..";<$colorB$>:"..v.B
  2090. end
  2091. edited_flags[i] = v
  2092. end
  2093. writefile(config,game:GetService("HttpService"):JSONEncode(edited_flags))
  2094. task.wait(0.5)
  2095. end
  2096. end)()
  2097. end)
  2098. coroutine.resume(saveCoroutine)
  2099. end
  2100.  
  2101. if info.UseLoader then
  2102. local loader = makeLoader()
  2103. loader.Parent = lib
  2104. loader.Visible = true
  2105. loader.Position = UDim2.new(1, 300, 1, -20)
  2106. loader.GameThumbnail.Image = "https://www.roblox.com/asset-thumbnail/image?assetId="..game.PlaceId.."&width=768&height=432&format=png"
  2107.  
  2108. local main = loader.Main
  2109. local key = loader.Key
  2110. local profile = loader.Profile
  2111.  
  2112. main.GameName.Text = GameName
  2113. main.Message.Text = "Script: "..info.FullName
  2114.  
  2115. local allGood = false
  2116. local chosen = false
  2117.  
  2118. table.insert(_connections,utility:HandleGradientButton(main.Yes,function()
  2119. if chosen then return else chosen = true end
  2120. local transition = TS:Create(main,TweenInfo.new(0.35,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2121. ["Size"] = UDim2.new(0,0,1,0)
  2122. })
  2123. transition:Play()
  2124. transition.Completed:Wait()
  2125. local keyPath = info.ConfigFolder.."/key.txt"
  2126. local nextKey = info.CheckKey and not info.CheckKey(string.gsub(string.gsub(readfile(keyPath), "^%s+", ""), "%s+$", ""))
  2127. local nextObj = nextKey and key or profile
  2128. nextObj.Size = UDim2.fromScale(0,1)
  2129. nextObj.Visible = true
  2130. nextObj.AnchorPoint = Vector2.new(1,0)
  2131. nextObj.Position = UDim2.fromScale(1,0)
  2132. transition = TS:Create(nextObj,TweenInfo.new(0.35,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2133. ["Size"] = UDim2.new(1,0,1,0)
  2134. })
  2135. if nextKey then
  2136. transition:Play()
  2137. local btn = key.Interact.Button
  2138. local checkMark = btn.ImageLabel
  2139. local text = btn.TextLabel
  2140. checkMark.Visible = false
  2141. text.Text = "Copy Invite"
  2142. table.insert(_connections,utility:HandleGradientButton(btn,function()
  2143. if text.Text == "Copy Invite" then
  2144. text.Text = "Copied"
  2145. checkMark.Visible = true
  2146. setclipboard(info.Discord or "No discord invite")
  2147. wait(1.5)
  2148. text.Text = "Copy Invite"
  2149. checkMark.Visible = false
  2150. end
  2151. end))
  2152.  
  2153. local textBox = key.Input.TextBox
  2154. local check = utility:CreateButtonObject(key.Input.ImageLabel)
  2155.  
  2156. local checking = false
  2157.  
  2158. local function doChecks()
  2159. if checking then return else checking = true end
  2160. local formatted = string.gsub(string.gsub(textBox.Text, "^%s+", ""), "%s+$", "")
  2161. local result = nil
  2162. pcall(function()
  2163. result = info.CheckKey(formatted)
  2164. end)
  2165. if result then
  2166. writefile(keyPath,formatted)
  2167. profile.Size = UDim2.fromScale(0,1)
  2168. profile.Visible = true
  2169. profile.AnchorPoint = Vector2.new(1,0)
  2170. profile.Position = UDim2.fromScale(1,0)
  2171. transition = TS:Create(profile,TweenInfo.new(0.35,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2172. ["Size"] = UDim2.new(1,0,1,0)
  2173. })
  2174. local thisTransition = TS:Create(key,TweenInfo.new(0.35,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2175. ["Size"] = UDim2.new(0,0,1,0)
  2176. })
  2177. thisTransition:Play()
  2178. thisTransition.Completed:Wait()
  2179. allGood = transition
  2180. transition.Completed:Wait()
  2181. nextObj.AnchorPoint = Vector2.new(0,0)
  2182. nextObj.Position = UDim2.fromScale(0,0)
  2183. else
  2184. checking = false
  2185. end
  2186. end
  2187.  
  2188. check.Activated:Connect(doChecks)
  2189. textBox.FocusLost:Connect(function(enterPressed)
  2190. if enterPressed then
  2191. doChecks()
  2192. end
  2193. end)
  2194. else
  2195. allGood = transition
  2196. end
  2197. transition.Completed:Wait()
  2198. nextObj.AnchorPoint = Vector2.new(0,0)
  2199. nextObj.Position = UDim2.fromScale(0,0)
  2200. end))
  2201. table.insert(_connections,utility:HandleGradientButton(main.No,function()
  2202. if chosen then return else chosen = true end
  2203. local t = TS:Create(loader,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2204. ["Position"] = UDim2.new(1, 300, 1, -20)
  2205. })
  2206. t:Play()
  2207. t.Completed:Wait()
  2208. lib:Destroy()
  2209. for _,v in pairs(_connections) do
  2210. v:Disconnect()
  2211. end
  2212. wait(9e9)
  2213. end))
  2214.  
  2215. TS:Create(loader,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2216. ["Position"] = UDim2.new(1, -20, 1, -20)
  2217. }):Play() -- loader in
  2218.  
  2219. while allGood == false do
  2220. utility:Wait()
  2221. end
  2222.  
  2223. profile.Player.Gradient.BackgroundColor3 = info.RankColor
  2224. profile.Player.Rank.TextLabel.Text = info.Rank
  2225.  
  2226. profile.Player.PlayerName.TextLabel.Text = player.Name
  2227.  
  2228. profile.Player.Thumbnail.Image = "rbxthumb://type=AvatarHeadShot&id="..player.UserId.."&w=420&h=420"
  2229.  
  2230. profile.Player.PlayerName.ImageLabel.Visible = info.RankIcon and true
  2231. profile.Player.PlayerName.ImageLabel.Image = info.RankIcon and "http://www.roblox.com/asset/?id="..info.RankIcon or ""
  2232.  
  2233. local closeBtn = utility:CreateButtonObject(profile.Close)
  2234.  
  2235. local closed = false
  2236.  
  2237. local function doClose()
  2238. if closed then return else closed = true end
  2239. local e = TS:Create(loader,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2240. ["Position"] = UDim2.new(1, 300, 1, -20)
  2241. }) -- loader in
  2242. e:Play()
  2243. e.Completed:Connect(function()
  2244. pcall(function()
  2245. loader:Destory()
  2246. end)
  2247. end)
  2248. end
  2249.  
  2250. closeBtn.Activated:Connect(doClose)
  2251.  
  2252. allGood:Play()
  2253.  
  2254. coroutine.resume(coroutine.create(function()
  2255. task.wait(3.5)
  2256. doClose()
  2257. end))
  2258. end
  2259.  
  2260. -- Current page
  2261. local currentPage = Instance.new("IntValue")
  2262. currentPage.Name = "CurrentPage"
  2263. currentPage.Value = 1
  2264. currentPage.Parent = lib.Main
  2265.  
  2266. -- Dragging
  2267. local dragEvents = utility:InitDragging(lib.Main,lib.Main.Contents.Top.Drag)
  2268.  
  2269. -- Section update event
  2270. local sectionUpdateEvent do
  2271. local contents = lib.Main.Contents.Contents
  2272. local categories = lib.Main.Contents.Pages.ScrollingFrame
  2273. LPH_JIT_MAX(function()
  2274. sectionUpdateEvent = Run.RenderStepped:Connect(function()
  2275. for _,v in pairs(categories:GetChildren()) do
  2276. if v:IsA("Frame") then
  2277. local pageNum = v:FindFirstChild("PageNum")
  2278. if pageNum then
  2279. local transparency = currentPage.Value==pageNum.Value and 0 or 1
  2280. v.BackgroundTransparency = transparency
  2281. end
  2282. end
  2283. end
  2284. for _,v in pairs(contents:GetChildren()) do
  2285. if v:IsA("Frame") then
  2286. local pageNum = v:FindFirstChild("PageNum")
  2287. if pageNum then
  2288. v.Visible = currentPage.Value==pageNum.Value
  2289. end
  2290. end
  2291. end
  2292. end)
  2293. end)()
  2294. end
  2295.  
  2296. local closePages do -- pages open and close
  2297. local openSize = UDim2.new(0, 150, 1, 0)
  2298. local closeSize = UDim2.new(0, 0, 1, 0)
  2299.  
  2300. local open = lib.Main.Contents.Top.Menu
  2301. local close = lib.Main.Contents.Pages.Close
  2302.  
  2303. local openBtn = utility:CreateButtonObject(open)
  2304. local closeBtn = utility:CreateButtonObject(close)
  2305.  
  2306. local state = false
  2307.  
  2308. local pages = lib.Main.Contents.Pages
  2309. local contents = lib.Main.Contents.Contents
  2310.  
  2311. pages.Size = closeSize
  2312.  
  2313. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  2314. local existing
  2315.  
  2316. local function startTween(s)
  2317. if existing then
  2318. existing:Cancel()
  2319. existing:Destroy()
  2320. end
  2321. existing = TS:Create(pages,tweenInfo,{
  2322. ["Size"] = s;
  2323. })
  2324. existing:Play()
  2325. end
  2326.  
  2327. local pagesUpdate
  2328.  
  2329. LPH_JIT_MAX(function()
  2330. pagesUpdate = Run.RenderStepped:Connect(function()
  2331. local o = pages.Size.X.Offset
  2332. pages.Visible = o~=0
  2333. contents.Size = UDim2.new(1,-o,1,-32)
  2334. end)
  2335. end)()
  2336.  
  2337. table.insert(_connections,pagesUpdate)
  2338.  
  2339. openBtn.Activated:Connect(function()
  2340. if state == false then
  2341. state = true
  2342. startTween(openSize)
  2343. end
  2344. end)
  2345.  
  2346. closeBtn.Activated:Connect(function()
  2347. if state == true then
  2348. state = false
  2349. startTween(closeSize)
  2350. end
  2351. end)
  2352. function closePages()
  2353. if state == true then
  2354. state = false
  2355. startTween(closeSize)
  2356. end
  2357. end
  2358. end
  2359.  
  2360. do -- other buttons
  2361. local searchBtn = utility:CreateButtonObject(lib.Main.Contents.Top.Search)
  2362. local searchBar = lib.Main.Contents.Top.SearchBar
  2363.  
  2364. searchBtn.Activated:Connect(function()
  2365. searchBar.Visible = not searchBar.Visible
  2366. if not searchBar.Visible then
  2367. searchBar.TextBox.Text = ""
  2368. end
  2369. end)
  2370.  
  2371. local infoButton = utility:CreateButtonObject(lib.Main.Contents.Top.Info)
  2372. local infoDialogue = lib.Main.Contents.Top.Info.Credits
  2373.  
  2374. infoButton.Activated:Connect(function()
  2375. infoDialogue.Visible = not infoDialogue.Visible
  2376. end)
  2377. end
  2378.  
  2379. do -- resize
  2380. local main = lib.Main
  2381. local resize = main.Resize
  2382. local button = main.ResizeArea
  2383.  
  2384. local isResizing = false
  2385. local offset = nil
  2386.  
  2387. --local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  2388.  
  2389. local p = resize:GetChildren()
  2390. local p1 = p[1]
  2391. local p2 = p[2]
  2392.  
  2393. local function setColor(c)
  2394. local r = Color3.fromRGB(c, c, c)
  2395. if p1.BackgroundColor3==r then
  2396. return
  2397. end
  2398. for _,v in pairs(resize:GetChildren()) do
  2399. p1.BackgroundColor3 = r
  2400. p2.BackgroundColor3 = r
  2401. end
  2402. end
  2403.  
  2404. button.MouseEnter:Connect(function()
  2405. resize.Visible = true
  2406. end)
  2407.  
  2408. button.MouseLeave:Connect(function()
  2409. resize.Visible = false
  2410. end)
  2411.  
  2412. main:GetPropertyChangedSignal("Visible"):Connect(function()
  2413. if not main.Visible then
  2414. isResizing = false
  2415. end
  2416. end)
  2417.  
  2418. button.MouseButton1Down:Connect(function()
  2419. isResizing = true
  2420. offset = Vector2.new(mouse.X-(main.AbsolutePosition.X+main.AbsoluteSize.X),mouse.Y-(main.AbsolutePosition.Y+main.AbsoluteSize.Y))
  2421. end)
  2422.  
  2423. LPH_JIT_MAX(function()
  2424. table.insert(_connections,Run.RenderStepped:Connect(function()
  2425. if not UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  2426. isResizing = false
  2427. end
  2428. if isResizing then
  2429. setColor(225)
  2430. resize.Visible = true
  2431. local mousePos = Vector2.new(mouse.X-offset.X,mouse.Y-offset.Y)
  2432. local finalSize = Vector2.new(math.clamp(mousePos.X-main.AbsolutePosition.X,227,math.huge),math.clamp(mousePos.Y-main.AbsolutePosition.Y,225,math.huge))
  2433. main.Size = UDim2.fromOffset(finalSize.X,finalSize.Y)
  2434. else
  2435. setColor(143)
  2436. end
  2437. end))
  2438. end)()
  2439. end
  2440.  
  2441. LPH_NO_VIRTUALIZE(function()
  2442. local t = lib.Hint.Main.Main.Frame["1_main"].Text
  2443. local hint = lib.Hint
  2444. table.insert(_connections,Run.RenderStepped:Connect(function()
  2445. local currentHint
  2446. local objs = Core:GetGuiObjectsAtPosition(mouse.X,mouse.Y)
  2447. for _,v in pairs(objs) do
  2448. if v:IsDescendantOf(lib) and v:FindFirstChild("Hint") and v.Hint:IsA("StringValue") then
  2449. v = v.Hint
  2450. local e = v
  2451. local allGood = true
  2452. while e.Parent~=game do
  2453. if (e:IsA("GuiObject") and not e.Visible) or (e:IsA("LayerCollector") and not e.Enabled) then
  2454. allGood = false
  2455. return
  2456. end
  2457. e = e.Parent
  2458. end
  2459. if allGood then
  2460. currentHint = v.Value
  2461. break
  2462. end
  2463. end
  2464. end
  2465. hint.Visible = currentHint and true
  2466. t.Text = currentHint or ""
  2467. hint.Position = UDim2.fromOffset(mouse.X-5,mouse.Y+30)
  2468. end))
  2469. end)()
  2470.  
  2471. -- searching
  2472. do
  2473. local pages = lib.Main.Contents.Contents
  2474. --local elementCache = {}
  2475.  
  2476. local function doSearch(term)
  2477. for _,page in pairs(pages:GetChildren()) do
  2478. local holder = page.ScrollingFrame
  2479.  
  2480. for _,v in pairs(holder:GetChildren()) do
  2481. if v:IsA("Frame") and not utility:IsPadding(v) then
  2482. for _,element in pairs(v.Contents:GetChildren()) do
  2483. if element:IsA("Frame") then
  2484. if term == "" then
  2485. element.Visible = true
  2486. else
  2487. local existingTitle = element:FindFirstChild("Title")
  2488. local title
  2489.  
  2490. if existingTitle==nil then
  2491. title = element.Main.Title.Main.Title
  2492. elseif existingTitle:IsA("Frame") then
  2493. title = element.Title.Main.Title
  2494. elseif existingTitle:IsA("TextLabel") then
  2495. title = existingTitle
  2496. else
  2497. warn("Unrecognized title class name: "..existingTitle.ClassName)
  2498. end
  2499.  
  2500. local t1,t2 = title.Text:lower(),term:lower()
  2501.  
  2502. if t1:find(t2) or t2:find(t1) then
  2503. element.Visible = true
  2504. else
  2505. element.Visible = false
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end
  2511. end
  2512. end
  2513. end
  2514.  
  2515. local searchBar = lib.Main.Contents.Top.SearchBar.TextBox
  2516.  
  2517. local doSearchBtn = utility:CreateButtonObject(lib.Main.Contents.Top.SearchBar.Icon)
  2518.  
  2519. doSearchBtn.Activated:Connect(function()
  2520. searchBar:ReleaseFocus()
  2521. end)
  2522.  
  2523. searchBar:GetPropertyChangedSignal("Text"):Connect(function()
  2524. doSearch(searchBar.Text)
  2525. end)
  2526. end
  2527.  
  2528. lib.Main.Contents.Top.Info.Credits.Main.Frame.A.Text = info.Credit
  2529. lib.Main.Contents.Top.Title.Text = info.Name
  2530.  
  2531. for _,v in pairs(lib:GetDescendants()) do
  2532. if v:IsA("StringValue") and v.Name=="Theme" and v.Category.Value=="Main" then
  2533. v.Parent[v.Value] = info.Color
  2534. end
  2535. end
  2536.  
  2537. lib.Notifications.Visible = true
  2538. lib.Main.Visible = true
  2539. lib.Hint.Visible = false
  2540.  
  2541. local self = setmetatable({
  2542. -- interface
  2543. ["Flags"] = flags or {};
  2544. -- hidden
  2545. ["container"] = lib;
  2546. ["name"] = info.Name;
  2547. ["color"] = info.Color;
  2548. ["toggleBind"] = info.Bind;
  2549. -- used internally
  2550. ["_connections"] = _connections;
  2551. ["_drag_events"] = dragEvents;
  2552. ["_page_num"] = 0;
  2553. ["_section_update"] = sectionUpdateEvent;
  2554. ["_saveCoroutine"] = saveCoroutine;
  2555. ["_usedFlags"] = {};
  2556. ["_closePages"] = closePages;
  2557. }, Library)
  2558.  
  2559. table.insert(self._connections,UIS.InputBegan:Connect(function(input,gpe)
  2560. if input.UserInputType==Enum.UserInputType.Keyboard and input.KeyCode.Name==self.toggleBind and not gpe then
  2561. self:Toggle()
  2562. end
  2563. end))
  2564.  
  2565. local closeBtn = utility:CreateButtonObject(lib.Main.Contents.Top.Close)
  2566.  
  2567. closeBtn.Activated:Connect(function()
  2568. self:Toggle(false)
  2569. end)
  2570.  
  2571. return self
  2572. end
  2573. function Library:SetToggle(keyCodeName)
  2574. self.toggleBind = keyCodeName
  2575. end
  2576. function Library:Toggle(value)
  2577. if value==nil then
  2578. value = not self.container.Main.Visible
  2579. end
  2580. self.container.Main.Visible = value
  2581. return value
  2582. end
  2583. function Library:CreatePage(name)
  2584. self._page_num = self._page_num+1
  2585. return Page.new(self, {
  2586. ["Color"] = self.Color;
  2587. ["Name"] = name;
  2588. })
  2589. end
  2590. function Library:Notify(info)
  2591. utility:Requirement(info.Title,"Missing title argument")
  2592. utility:Requirement(info.Content,"Missing content argument")
  2593.  
  2594. info.Duration = info.Duration or 3.5
  2595.  
  2596. info.Callback = info.Callback or utility.BlankFunction
  2597.  
  2598. local function makeNotif()
  2599. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  2600.  
  2601. -- Instances:
  2602.  
  2603. local Converted = {
  2604. ["_Notification"] = Instance.new("Frame");
  2605. ["_Theme"] = Instance.new("StringValue");
  2606. ["_Category"] = Instance.new("StringValue");
  2607. ["_Ignore"] = Instance.new("BoolValue");
  2608. ["_Frame"] = Instance.new("Frame");
  2609. ["_Shadow"] = Instance.new("Frame");
  2610. ["_ImageLabel"] = Instance.new("ImageLabel");
  2611. ["_Theme1"] = Instance.new("StringValue");
  2612. ["_Category1"] = Instance.new("StringValue");
  2613. ["_Ignore1"] = Instance.new("BoolValue");
  2614. ["_No"] = Instance.new("ImageLabel");
  2615. ["_Theme2"] = Instance.new("StringValue");
  2616. ["_Category2"] = Instance.new("StringValue");
  2617. ["_Ignore2"] = Instance.new("BoolValue");
  2618. ["_Yes"] = Instance.new("ImageLabel");
  2619. ["_Theme3"] = Instance.new("StringValue");
  2620. ["_Category3"] = Instance.new("StringValue");
  2621. ["_Ignore3"] = Instance.new("BoolValue");
  2622. ["_Body"] = Instance.new("TextLabel");
  2623. ["_Theme4"] = Instance.new("StringValue");
  2624. ["_Category4"] = Instance.new("StringValue");
  2625. ["_Ignore4"] = Instance.new("BoolValue");
  2626. ["_Title"] = Instance.new("TextLabel");
  2627. ["_Theme5"] = Instance.new("StringValue");
  2628. ["_Category5"] = Instance.new("StringValue");
  2629. ["_Ignore5"] = Instance.new("BoolValue");
  2630. ["_UICorner"] = Instance.new("UICorner");
  2631. }
  2632.  
  2633. -- Properties:
  2634.  
  2635. Converted["_Notification"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  2636. Converted["_Notification"].BackgroundTransparency = 1
  2637. Converted["_Notification"].Size = UDim2.new(1, 0, 0, 75)
  2638. Converted["_Notification"].Name = "Notification"
  2639.  
  2640. Converted["_Theme"].Value = "BackgroundColor3"
  2641. Converted["_Theme"].Name = "Theme"
  2642. Converted["_Theme"].Parent = Converted["_Notification"]
  2643.  
  2644. Converted["_Category"].Value = "Notification"
  2645. Converted["_Category"].Name = "Category"
  2646. Converted["_Category"].Parent = Converted["_Theme"]
  2647.  
  2648. Converted["_Ignore"].Name = "Ignore"
  2649. Converted["_Ignore"].Parent = Converted["_Theme"]
  2650.  
  2651. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  2652. Converted["_Frame"].Size = UDim2.new(1, 0, 1, 0)
  2653. Converted["_Frame"].Parent = Converted["_Notification"]
  2654.  
  2655. Converted["_Shadow"].AnchorPoint = Vector2.new(0.5, 0.5)
  2656. Converted["_Shadow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2657. Converted["_Shadow"].BackgroundTransparency = 1
  2658. Converted["_Shadow"].Position = UDim2.new(0.5, 0, 0.5, 0)
  2659. Converted["_Shadow"].Size = UDim2.new(1, 55, 1, 55)
  2660. Converted["_Shadow"].ZIndex = 0
  2661. Converted["_Shadow"].Name = "Shadow"
  2662. Converted["_Shadow"].Parent = Converted["_Frame"]
  2663.  
  2664. Converted["_ImageLabel"].Image = "rbxassetid://10955010523"
  2665. Converted["_ImageLabel"].ImageColor3 = Color3.fromRGB(0, 0, 0)
  2666. Converted["_ImageLabel"].ImageTransparency = 0.6499999761581421
  2667. Converted["_ImageLabel"].ScaleType = Enum.ScaleType.Slice
  2668. Converted["_ImageLabel"].SliceCenter = Rect.new(60, 60, 360, 360)
  2669. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  2670. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  2671. Converted["_ImageLabel"].BackgroundTransparency = 1
  2672. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  2673. Converted["_ImageLabel"].Size = UDim2.new(1, 0, 1, 0)
  2674. Converted["_ImageLabel"].ZIndex = 0
  2675. Converted["_ImageLabel"].Parent = Converted["_Shadow"]
  2676.  
  2677. Converted["_Theme1"].Value = "ImageColor3"
  2678. Converted["_Theme1"].Name = "Theme"
  2679. Converted["_Theme1"].Parent = Converted["_ImageLabel"]
  2680.  
  2681. Converted["_Category1"].Value = "Shadow"
  2682. Converted["_Category1"].Name = "Category"
  2683. Converted["_Category1"].Parent = Converted["_Theme1"]
  2684.  
  2685. Converted["_Ignore1"].Name = "Ignore"
  2686. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  2687.  
  2688. Converted["_No"].Image = "http://www.roblox.com/asset/?id=10259890025"
  2689. Converted["_No"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  2690. Converted["_No"].AnchorPoint = Vector2.new(1, 0.5)
  2691. Converted["_No"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2692. Converted["_No"].BackgroundTransparency = 1
  2693. Converted["_No"].Position = UDim2.new(0.970000029, 0, 0.699999988, 0)
  2694. Converted["_No"].Size = UDim2.new(0, 23, 0, 23)
  2695. Converted["_No"].Name = "No"
  2696. Converted["_No"].Parent = Converted["_Frame"]
  2697.  
  2698. Converted["_Theme2"].Value = "ImageColor3"
  2699. Converted["_Theme2"].Name = "Theme"
  2700. Converted["_Theme2"].Parent = Converted["_No"]
  2701.  
  2702. Converted["_Category2"].Value = "Symbols"
  2703. Converted["_Category2"].Name = "Category"
  2704. Converted["_Category2"].Parent = Converted["_Theme2"]
  2705.  
  2706. Converted["_Ignore2"].Name = "Ignore"
  2707. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  2708.  
  2709. Converted["_Yes"].Image = "http://www.roblox.com/asset/?id=10954923256"
  2710. Converted["_Yes"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  2711. Converted["_Yes"].AnchorPoint = Vector2.new(1, 0.5)
  2712. Converted["_Yes"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2713. Converted["_Yes"].BackgroundTransparency = 1
  2714. Converted["_Yes"].Position = UDim2.new(0.970000029, 0, 0.300000012, 0)
  2715. Converted["_Yes"].Size = UDim2.new(0, 23, 0, 23)
  2716. Converted["_Yes"].Name = "Yes"
  2717. Converted["_Yes"].Parent = Converted["_Frame"]
  2718.  
  2719. Converted["_Theme3"].Value = "ImageColor3"
  2720. Converted["_Theme3"].Name = "Theme"
  2721. Converted["_Theme3"].Parent = Converted["_Yes"]
  2722.  
  2723. Converted["_Category3"].Value = "Symbols"
  2724. Converted["_Category3"].Name = "Category"
  2725. Converted["_Category3"].Parent = Converted["_Theme3"]
  2726.  
  2727. Converted["_Ignore3"].Name = "Ignore"
  2728. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  2729.  
  2730. Converted["_Body"].Font = Enum.Font.Gotham
  2731. Converted["_Body"].Text = "Body"
  2732. Converted["_Body"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  2733. Converted["_Body"].TextSize = 13
  2734. Converted["_Body"].TextTruncate = Enum.TextTruncate.AtEnd
  2735. Converted["_Body"].TextWrapped = true
  2736. Converted["_Body"].TextXAlignment = Enum.TextXAlignment.Left
  2737. Converted["_Body"].TextYAlignment = Enum.TextYAlignment.Top
  2738. Converted["_Body"].AnchorPoint = Vector2.new(0, 0.5)
  2739. Converted["_Body"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2740. Converted["_Body"].BackgroundTransparency = 1
  2741. Converted["_Body"].Position = UDim2.new(0.0500000007, 0, 0.670000374, 0)
  2742. Converted["_Body"].Size = UDim2.new(0.831538498, 0, 0.449999988, 0)
  2743. Converted["_Body"].Name = "Body"
  2744. Converted["_Body"].Parent = Converted["_Frame"]
  2745.  
  2746. Converted["_Theme4"].Value = "TextColor3"
  2747. Converted["_Theme4"].Name = "Theme"
  2748. Converted["_Theme4"].Parent = Converted["_Body"]
  2749.  
  2750. Converted["_Category4"].Value = "Symbols"
  2751. Converted["_Category4"].Name = "Category"
  2752. Converted["_Category4"].Parent = Converted["_Theme4"]
  2753.  
  2754. Converted["_Ignore4"].Name = "Ignore"
  2755. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  2756.  
  2757. Converted["_Title"].Font = Enum.Font.GothamBold
  2758. Converted["_Title"].Text = "Notification"
  2759. Converted["_Title"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  2760. Converted["_Title"].TextSize = 15
  2761. Converted["_Title"].TextTruncate = Enum.TextTruncate.AtEnd
  2762. Converted["_Title"].TextWrapped = true
  2763. Converted["_Title"].TextXAlignment = Enum.TextXAlignment.Left
  2764. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  2765. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2766. Converted["_Title"].BackgroundTransparency = 1
  2767. Converted["_Title"].Position = UDim2.new(0.0500000007, 0, 0.25, 0)
  2768. Converted["_Title"].Size = UDim2.new(0.831538498, 0, 0.219999999, 0)
  2769. Converted["_Title"].Name = "Title"
  2770. Converted["_Title"].Parent = Converted["_Frame"]
  2771.  
  2772. Converted["_Theme5"].Value = "TextColor3"
  2773. Converted["_Theme5"].Name = "Theme"
  2774. Converted["_Theme5"].Parent = Converted["_Title"]
  2775.  
  2776. Converted["_Category5"].Value = "Symbols"
  2777. Converted["_Category5"].Name = "Category"
  2778. Converted["_Category5"].Parent = Converted["_Theme5"]
  2779.  
  2780. Converted["_Ignore5"].Name = "Ignore"
  2781. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  2782.  
  2783. Converted["_UICorner"].CornerRadius = UDim.new(0, 6)
  2784. Converted["_UICorner"].Parent = Converted["_Frame"]
  2785.  
  2786. return Converted["_Notification"]
  2787. end
  2788. local notif = makeNotif()
  2789. notif.Name = tostring(os.clock())
  2790. local holder = self.container.Notifications
  2791.  
  2792. local tween = nil
  2793.  
  2794. local start = UDim2.fromScale(-1.5,0)
  2795. local finish = UDim2.fromScale(0,0)
  2796.  
  2797. local function tweenIn()
  2798. pcall(function()
  2799. tween:Cancel()
  2800. tween:Destroy()
  2801. end)
  2802.  
  2803. notif.Frame.Position = start
  2804.  
  2805. tween = TS:Create(notif.Frame,TweenInfo.new(0.45,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0),{
  2806. ["Position"] = finish;
  2807. })
  2808. tween:Play()
  2809. end
  2810.  
  2811. local leaving = false
  2812.  
  2813. local function tweenOut()
  2814. if leaving then return else leaving = true end
  2815. pcall(function()
  2816. tween:Cancel()
  2817. tween:Destroy()
  2818. end)
  2819.  
  2820. notif.Frame.Position = finish
  2821.  
  2822. tween = TS:Create(notif.Frame,TweenInfo.new(0.45,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0),{
  2823. ["Position"] = start;
  2824. })
  2825. tween.Completed:Connect(function()
  2826. notif:Destroy()
  2827. end)
  2828. tween:Play()
  2829. end
  2830.  
  2831. notif.Frame.No.Visible = info.ShowNoButton and true
  2832.  
  2833. local yes = utility:CreateButtonObject(notif.Frame.Yes)
  2834. local no = utility:CreateButtonObject(notif.Frame.No)
  2835.  
  2836. yes.Activated:Connect(function()
  2837. tweenOut()
  2838. info.Callback(true)
  2839. end)
  2840.  
  2841. no.Activated:Connect(function()
  2842. tweenOut()
  2843. info.Callback(false)
  2844. end)
  2845.  
  2846. coroutine.resume(coroutine.create(function()
  2847. task.wait(info.Duration)
  2848. if not leaving then
  2849. tweenOut()
  2850. end
  2851. end))
  2852.  
  2853. notif.Frame.Title.Text = info.Title
  2854. notif.Frame.Body.Text = info.Content
  2855.  
  2856. notif.Parent = holder
  2857. tweenIn()
  2858. end
  2859. function Library:Destroy()
  2860. self.container:Destroy()
  2861. for _,v in pairs(self._drag_events) do
  2862. v:Disconnect()
  2863. end
  2864. for _,v in pairs(self._connections) do
  2865. v:Disconnect()
  2866. end
  2867. self._section_update:Disconnect()
  2868. coroutine.close(self._saveCoroutine)
  2869. self = nil
  2870. return nil
  2871. end
  2872. end
  2873.  
  2874. -- PAGE
  2875. do
  2876. function Page.new(_self,info) -- used internally and has no argument checks, use Library::CreatePage instead
  2877. local container = _self.container
  2878. local pageNum = _self._page_num
  2879.  
  2880. local function makeSelector()
  2881. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  2882. local Converted = {
  2883. ["_0_page"] = Instance.new("Frame");
  2884. ["_TextLabel"] = Instance.new("TextLabel");
  2885. ["_Theme"] = Instance.new("StringValue");
  2886. ["_Category"] = Instance.new("StringValue");
  2887. ["_Ignore"] = Instance.new("BoolValue");
  2888. ["_UICorner"] = Instance.new("UICorner");
  2889. ["_Theme1"] = Instance.new("StringValue");
  2890. ["_Category1"] = Instance.new("StringValue");
  2891. ["_Ignore1"] = Instance.new("BoolValue");
  2892. ["_Button"] = Instance.new("TextButton");
  2893. }
  2894.  
  2895. --Properties
  2896.  
  2897. Converted["_0_page"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  2898. Converted["_0_page"].BackgroundTransparency = 1
  2899. Converted["_0_page"].Size = UDim2.new(1, 0, 0, 30)
  2900. Converted["_0_page"].Name = "page"
  2901.  
  2902. Converted["_TextLabel"].Font = Enum.Font.GothamMedium
  2903. Converted["_TextLabel"].Text = "Example Page"
  2904. Converted["_TextLabel"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  2905. Converted["_TextLabel"].TextSize = 14
  2906. Converted["_TextLabel"].TextTruncate = Enum.TextTruncate.AtEnd
  2907. Converted["_TextLabel"].TextXAlignment = Enum.TextXAlignment.Left
  2908. Converted["_TextLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  2909. Converted["_TextLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2910. Converted["_TextLabel"].BackgroundTransparency = 1
  2911. Converted["_TextLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  2912. Converted["_TextLabel"].Size = UDim2.new(0.870000005, 0, 1, 0)
  2913. Converted["_TextLabel"].Parent = Converted["_0_page"]
  2914.  
  2915. Converted["_Theme"].Value = "TextColor3"
  2916. Converted["_Theme"].Name = "Theme"
  2917. Converted["_Theme"].Parent = Converted["_TextLabel"]
  2918.  
  2919. Converted["_Category"].Value = "Symbols"
  2920. Converted["_Category"].Name = "Category"
  2921. Converted["_Category"].Parent = Converted["_Theme"]
  2922.  
  2923. Converted["_Ignore"].Name = "Ignore"
  2924. Converted["_Ignore"].Parent = Converted["_Theme"]
  2925.  
  2926. Converted["_UICorner"].CornerRadius = UDim.new(0, 6)
  2927. Converted["_UICorner"].Parent = Converted["_0_page"]
  2928.  
  2929. Converted["_Theme1"].Value = "BackgroundColor3"
  2930. Converted["_Theme1"].Name = "Theme"
  2931. Converted["_Theme1"].Parent = Converted["_0_page"]
  2932.  
  2933. Converted["_Category1"].Value = "PageSelect"
  2934. Converted["_Category1"].Name = "Category"
  2935. Converted["_Category1"].Parent = Converted["_Theme1"]
  2936.  
  2937. Converted["_Ignore1"].Name = "Ignore"
  2938. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  2939.  
  2940. Converted["_Button"].Font = Enum.Font.SourceSans
  2941. Converted["_Button"].Text = ""
  2942. Converted["_Button"].TextColor3 = Color3.fromRGB(0, 0, 0)
  2943. Converted["_Button"].TextSize = 14
  2944. Converted["_Button"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2945. Converted["_Button"].BackgroundTransparency = 1
  2946. Converted["_Button"].Size = UDim2.new(1, 0, 1, 0)
  2947. Converted["_Button"].ZIndex = 5
  2948. Converted["_Button"].Name = "Button"
  2949. Converted["_Button"].Parent = Converted["_0_page"]
  2950.  
  2951. return Converted["_0_page"]
  2952. end
  2953.  
  2954. local function makeContents()
  2955. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  2956. local Converted = {
  2957. ["_Page"] = Instance.new("Frame");
  2958. ["_ScrollingFrame"] = Instance.new("ScrollingFrame");
  2959. ["_UIListLayout"] = Instance.new("UIListLayout");
  2960. ["_padding"] = Instance.new("Frame");
  2961. ["_0_padding"] = Instance.new("Frame");
  2962. ["_Theme"] = Instance.new("StringValue");
  2963. ["_Category"] = Instance.new("StringValue");
  2964. ["_Ignore"] = Instance.new("BoolValue");
  2965. }
  2966.  
  2967. --Properties
  2968.  
  2969. Converted["_Page"].AnchorPoint = Vector2.new(1, 0.5)
  2970. Converted["_Page"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2971. Converted["_Page"].BackgroundTransparency = 1
  2972. Converted["_Page"].Position = UDim2.new(1, -3, 0.5, 0)
  2973. Converted["_Page"].Size = UDim2.new(1, -9, 1, -12)
  2974. Converted["_Page"].Name = "Page"
  2975.  
  2976. Converted["_ScrollingFrame"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  2977. Converted["_ScrollingFrame"].CanvasSize = UDim2.new(0, 0, 1, 0)
  2978. Converted["_ScrollingFrame"].ScrollBarImageColor3 = Color3.fromRGB(151.00000619888306, 151.00000619888306, 151.00000619888306)
  2979. Converted["_ScrollingFrame"].ScrollBarImageTransparency = 0.20000000298023224
  2980. Converted["_ScrollingFrame"].ScrollBarThickness = 5
  2981. Converted["_ScrollingFrame"].Active = true
  2982. Converted["_ScrollingFrame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2983. Converted["_ScrollingFrame"].BackgroundTransparency = 1
  2984. Converted["_ScrollingFrame"].BorderSizePixel = 0
  2985. Converted["_ScrollingFrame"].Size = UDim2.new(1, 0, 1, 0)
  2986. Converted["_ScrollingFrame"].Parent = Converted["_Page"]
  2987.  
  2988. Converted["_UIListLayout"].Padding = UDim.new(0, 8)
  2989. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  2990. Converted["_UIListLayout"].Parent = Converted["_ScrollingFrame"]
  2991.  
  2992. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2993. Converted["_padding"].BackgroundTransparency = 1
  2994. Converted["_padding"].Size = UDim2.new(1, 0, 0, 0)
  2995. Converted["_padding"].Name = "padding"
  2996. Converted["_padding"].Parent = Converted["_ScrollingFrame"]
  2997.  
  2998. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2999. Converted["_0_padding"].BackgroundTransparency = 1
  3000. Converted["_0_padding"].Size = UDim2.new(1, 0, 0, 0)
  3001. Converted["_0_padding"].Name = "0_padding"
  3002. Converted["_0_padding"].Parent = Converted["_ScrollingFrame"]
  3003.  
  3004. Converted["_Theme"].Value = "ScrollBarImageColor3"
  3005. Converted["_Theme"].Name = "Theme"
  3006. Converted["_Theme"].Parent = Converted["_ScrollingFrame"]
  3007.  
  3008. Converted["_Category"].Value = "Scrollbar"
  3009. Converted["_Category"].Name = "Category"
  3010. Converted["_Category"].Parent = Converted["_Theme"]
  3011.  
  3012. Converted["_Ignore"].Name = "Ignore"
  3013. Converted["_Ignore"].Parent = Converted["_Theme"]
  3014.  
  3015. return Converted["_Page"]
  3016. end
  3017.  
  3018. local selector = makeSelector()
  3019. local contents = makeContents()
  3020.  
  3021. selector.TextLabel.Text = info.Name
  3022. local n = string.rep("_",pageNum)..info.Name
  3023. selector.Name = n
  3024. contents.Name = n
  3025.  
  3026. local v1 = Instance.new("IntValue")
  3027. v1.Name = "PageNum"
  3028. v1.Value = pageNum
  3029. v1.Parent = selector
  3030.  
  3031. local v2 = Instance.new("IntValue")
  3032. v2.Name = "PageNum"
  3033. v2.Value = pageNum
  3034. v2.Parent = selector
  3035.  
  3036. v1.Parent = selector
  3037. v2.Parent = contents
  3038.  
  3039. selector.Button.Activated:Connect(function()
  3040. container.Main.CurrentPage.Value = pageNum
  3041. _self._closePages()
  3042. end)
  3043.  
  3044. selector.Parent = container.Main.Contents.Pages.ScrollingFrame
  3045. contents.Parent = container.Main.Contents.Contents
  3046.  
  3047. return setmetatable({
  3048. ["_self"] = _self;
  3049. ["superior"] = container;
  3050. ["selector"] = selector;
  3051. ["contents"] = contents;
  3052. ["pageName"] = info.Name;
  3053. ["pageNum"] = pageNum;
  3054. ["sectionNum"] = 0;
  3055. ["color"] = info.Color;
  3056. }, Page)
  3057. end
  3058.  
  3059. function Page:CreateSection(name)
  3060. self.sectionNum = self.sectionNum+1
  3061. return Section.new(self,{
  3062. ["Name"] = name;
  3063. ["Page"] = self.contents;
  3064. })
  3065. end
  3066.  
  3067. function Page:Destroy()
  3068. self.selector:Destroy()
  3069. self.contents:Destroy()
  3070. self = nil
  3071. return nil
  3072. end
  3073. end
  3074.  
  3075. -- SECTION
  3076. do
  3077. function Section.new(_self,info) -- used internally and has no argument checks, use Page::CreateSection instead
  3078. local sectionNum = _self.sectionNum
  3079. local color = _self.color
  3080.  
  3081. local function makeSection()
  3082. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  3083. local Converted = {
  3084. ["_Section"] = Instance.new("Frame");
  3085. ["_Contents"] = Instance.new("Frame");
  3086. ["_UIListLayout"] = Instance.new("UIListLayout");
  3087. ["_Title"] = Instance.new("TextLabel");
  3088. ["_Theme"] = Instance.new("StringValue");
  3089. ["_Category"] = Instance.new("StringValue");
  3090. ["_Ignore"] = Instance.new("BoolValue");
  3091. }
  3092.  
  3093. --Properties
  3094.  
  3095. Converted["_Section"].AutomaticSize = Enum.AutomaticSize.Y
  3096. Converted["_Section"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3097. Converted["_Section"].BackgroundTransparency = 1
  3098. Converted["_Section"].Size = UDim2.new(1, 0, 0, 10)
  3099. Converted["_Section"].Name = "Section"
  3100.  
  3101. Converted["_Contents"].AutomaticSize = Enum.AutomaticSize.Y
  3102. Converted["_Contents"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3103. Converted["_Contents"].BackgroundTransparency = 1
  3104. Converted["_Contents"].Position = UDim2.new(0, 13, 0, 20)
  3105. Converted["_Contents"].Size = UDim2.new(0.973999977, -14, 0.875999987, 1)
  3106. Converted["_Contents"].Name = "Contents"
  3107. Converted["_Contents"].Parent = Converted["_Section"]
  3108.  
  3109. Converted["_UIListLayout"].Padding = UDim.new(0, 7)
  3110. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  3111. Converted["_UIListLayout"].Parent = Converted["_Contents"]
  3112.  
  3113. Converted["_Title"].Font = Enum.Font.Gotham
  3114. Converted["_Title"].Text = "Section"
  3115. Converted["_Title"].TextColor3 = Color3.fromRGB(165.00000536441803, 165.00000536441803, 165.00000536441803)
  3116. Converted["_Title"].TextScaled = false
  3117. Converted["_Title"].TextSize = 13
  3118. Converted["_Title"].TextTruncate = Enum.TextTruncate.AtEnd
  3119. Converted["_Title"].TextWrapped = true
  3120. Converted["_Title"].TextXAlignment = Enum.TextXAlignment.Left
  3121. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3122. Converted["_Title"].BackgroundTransparency = 1
  3123. Converted["_Title"].Position = UDim2.new(0, 13, 0, 0)
  3124. Converted["_Title"].Size = UDim2.new(0.949999988, 0, 0, 13)
  3125. Converted["_Title"].Name = "Title"
  3126. Converted["_Title"].Parent = Converted["_Section"]
  3127.  
  3128. Converted["_Theme"].Value = "TextColor3"
  3129. Converted["_Theme"].Name = "Theme"
  3130. Converted["_Theme"].Parent = Converted["_Title"]
  3131.  
  3132. Converted["_Category"].Value = "GreyContrast"
  3133. Converted["_Category"].Name = "Category"
  3134. Converted["_Category"].Parent = Converted["_Theme"]
  3135.  
  3136. Converted["_Ignore"].Name = "Ignore"
  3137. Converted["_Ignore"].Parent = Converted["_Theme"]
  3138.  
  3139. return Converted["_Section"]
  3140. end
  3141.  
  3142. local section = makeSection()
  3143.  
  3144. local pageInner = info.Page.ScrollingFrame
  3145.  
  3146. section.Title.Text = info.Name
  3147. section.Name = string.rep("_",sectionNum)..info.Name
  3148.  
  3149. section.Parent = pageInner
  3150.  
  3151. return setmetatable({
  3152. ["_self"] = _self._self;
  3153. ["holder"] = section;
  3154. ["sectionName"] = info.Name;
  3155. ["elementNum"] = 0;
  3156. ["color"] = color;
  3157. }, Section)
  3158. end
  3159. function Section:CreateToggle(...)
  3160. return Element.CreateToggle(self, ...)
  3161. end
  3162. function Section:CreateSlider(...)
  3163. return Element.CreateSlider(self, ...)
  3164. end
  3165. function Section:CreateSliderToggle(...)
  3166. return Element.CreateSliderToggle(self, ...)
  3167. end
  3168. function Section:CreateParagraph(...)
  3169. local args = {...}
  3170. if #args==1 and type(args[1])=="string" then
  3171. args = {
  3172. {
  3173. ["Content"] = args[1];
  3174. }
  3175. }
  3176. end
  3177. return Element.CreateParagraph(self, unpack(args))
  3178. end
  3179. function Section:CreateBody(...) -- alias for ::CreateParagraph as ::CreateBody was used in Artemis
  3180. -- do not use, this can be removed at any time without notice, use ::CreateParagraph instead
  3181. return Section:CreateParagraph(...)
  3182. end
  3183. function Section:CreateButton(...)
  3184. return Element.CreateButton(self, ...)
  3185. end
  3186. function Section:CreateTextBox(...)
  3187. return Element.CreateTextBox(self, ...)
  3188. end
  3189. function Section:CreateInteractable(...)
  3190. return Element.CreateInteractable(self, ...)
  3191. end
  3192. function Section:CreateKeybind(...)
  3193. return Element.CreateKeybind(self, ...)
  3194. end
  3195. function Section:CreateKeyBind(...) -- alias for ::CreateParagraph as ::CreateBody was used in Artemis
  3196. -- do not use, this can be removed at any time without notice, use ::CreateParagraph instead
  3197. return Section:CreateKeybind(...)
  3198. end
  3199. function Section:CreateDropdown(...)
  3200. return Element.CreateDropdown(self, ...)
  3201. end
  3202. function Section:CreateColorPicker(...)
  3203. return Element.CreateColorPicker(self, ...)
  3204. end
  3205. end
  3206.  
  3207. -- ELEMENTS
  3208. do
  3209. function Element.CreateToggle(section,info)
  3210. local _self = section._self
  3211. -- Requirements
  3212. utility:Requirement(type(info)=="table","Info must be a table!")
  3213. utility:Requirement(info.Name,"Missing name argument")
  3214. utility:Requirement(info.Flag,"Missing flag argument")
  3215.  
  3216. if _self._usedFlags[info.Flag] then
  3217. warn("Flag must have unique name!")
  3218. return
  3219. else
  3220. _self._usedFlags[info.Flag] = info.SavingDisabled and "disabled" or true
  3221. end
  3222.  
  3223. if info.Default == nil then
  3224. info.Default = false
  3225. end
  3226.  
  3227. if _self.Flags[info.Flag]==nil then
  3228. _self.Flags[info.Flag] = info.Default
  3229. end
  3230.  
  3231. if info.SavingDisabled then
  3232. _self.Flags[info.Flag] = info.Default
  3233. end
  3234.  
  3235. info.Callback = info.Callback or utility.BlankFunction
  3236.  
  3237. section.elementNum = section.elementNum+1
  3238.  
  3239. local elementNum = section.elementNum
  3240.  
  3241. local function createElement()
  3242. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  3243. local Converted = {
  3244. ["_0_Toggle"] = Instance.new("Frame");
  3245. ["_UICorner"] = Instance.new("UICorner");
  3246. ["_Toggle"] = Instance.new("Frame");
  3247. ["_UICorner1"] = Instance.new("UICorner");
  3248. ["_UIStroke"] = Instance.new("UIStroke");
  3249. ["_Theme"] = Instance.new("StringValue");
  3250. ["_Category"] = Instance.new("StringValue");
  3251. ["_Ignore"] = Instance.new("BoolValue");
  3252. ["_ImageLabel"] = Instance.new("ImageLabel");
  3253. ["_Theme1"] = Instance.new("StringValue");
  3254. ["_Category1"] = Instance.new("StringValue");
  3255. ["_Ignore1"] = Instance.new("BoolValue");
  3256. ["_Theme2"] = Instance.new("StringValue");
  3257. ["_Category2"] = Instance.new("StringValue");
  3258. ["_Ignore2"] = Instance.new("BoolValue");
  3259. ["_Theme3"] = Instance.new("StringValue");
  3260. ["_Category3"] = Instance.new("StringValue");
  3261. ["_Ignore3"] = Instance.new("BoolValue");
  3262. ["_Title"] = Instance.new("Frame");
  3263. ["_Main"] = Instance.new("Frame");
  3264. ["_Title1"] = Instance.new("TextLabel");
  3265. ["_Theme4"] = Instance.new("StringValue");
  3266. ["_Category4"] = Instance.new("StringValue");
  3267. ["_Ignore4"] = Instance.new("BoolValue");
  3268. ["_Warning"] = Instance.new("ImageLabel");
  3269. ["_Theme5"] = Instance.new("StringValue");
  3270. ["_Category5"] = Instance.new("StringValue");
  3271. ["_Ignore5"] = Instance.new("BoolValue");
  3272. ["_UIListLayout"] = Instance.new("UIListLayout");
  3273. ["_Element"] = Instance.new("StringValue");
  3274. }
  3275.  
  3276. --Properties
  3277.  
  3278. Converted["_0_Toggle"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  3279. Converted["_0_Toggle"].Size = UDim2.new(1, 0, 0, 35)
  3280. Converted["_0_Toggle"].Name = "0_Toggle"
  3281.  
  3282. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  3283. Converted["_UICorner"].Parent = Converted["_0_Toggle"]
  3284.  
  3285. Converted["_Toggle"].AnchorPoint = Vector2.new(0.5, 0.5)
  3286. Converted["_Toggle"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  3287. Converted["_Toggle"].Position = UDim2.new(1, -18, 0.5, 0)
  3288. Converted["_Toggle"].Size = UDim2.new(0, 19, 0, 19)
  3289. Converted["_Toggle"].Name = "Toggle"
  3290. Converted["_Toggle"].Parent = Converted["_0_Toggle"]
  3291.  
  3292. Converted["_UICorner1"].CornerRadius = UDim.new(0, 3)
  3293. Converted["_UICorner1"].Parent = Converted["_Toggle"]
  3294.  
  3295. Converted["_UIStroke"].Color = Color3.fromRGB(84.00000259280205, 84.00000259280205, 84.00000259280205)
  3296. Converted["_UIStroke"].Parent = Converted["_Toggle"]
  3297.  
  3298. Converted["_Theme"].Value = "Color"
  3299. Converted["_Theme"].Name = "Theme"
  3300. Converted["_Theme"].Parent = Converted["_UIStroke"]
  3301.  
  3302. Converted["_Category"].Value = "ToggleOutline"
  3303. Converted["_Category"].Name = "Category"
  3304. Converted["_Category"].Parent = Converted["_Theme"]
  3305.  
  3306. Converted["_Ignore"].Name = "Ignore"
  3307. Converted["_Ignore"].Parent = Converted["_Theme"]
  3308.  
  3309. Converted["_ImageLabel"].Image = "http://www.roblox.com/asset/?id=10954923256"
  3310. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  3311. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3312. Converted["_ImageLabel"].BackgroundTransparency = 1
  3313. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  3314. Converted["_ImageLabel"].Parent = Converted["_Toggle"]
  3315.  
  3316. Converted["_Theme1"].Value = "ImageColor3"
  3317. Converted["_Theme1"].Name = "Theme"
  3318. Converted["_Theme1"].Parent = Converted["_ImageLabel"]
  3319.  
  3320. Converted["_Category1"].Value = "SymbolSelect"
  3321. Converted["_Category1"].Name = "Category"
  3322. Converted["_Category1"].Parent = Converted["_Theme1"]
  3323.  
  3324. Converted["_Ignore1"].Name = "Ignore"
  3325. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  3326.  
  3327. Converted["_Theme2"].Value = "BackgroundColor3"
  3328. Converted["_Theme2"].Name = "Theme"
  3329. Converted["_Theme2"].Parent = Converted["_Toggle"]
  3330.  
  3331. Converted["_Category2"].Value = "Element"
  3332. Converted["_Category2"].Name = "Category"
  3333. Converted["_Category2"].Parent = Converted["_Theme2"]
  3334.  
  3335. Converted["_Ignore2"].Name = "Ignore"
  3336. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  3337.  
  3338. Converted["_Theme3"].Value = "BackgroundColor3"
  3339. Converted["_Theme3"].Name = "Theme"
  3340. Converted["_Theme3"].Parent = Converted["_0_Toggle"]
  3341.  
  3342. Converted["_Category3"].Value = "Element"
  3343. Converted["_Category3"].Name = "Category"
  3344. Converted["_Category3"].Parent = Converted["_Theme3"]
  3345.  
  3346. Converted["_Ignore3"].Name = "Ignore"
  3347. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  3348.  
  3349. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  3350. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3351. Converted["_Title"].BackgroundTransparency = 1
  3352. Converted["_Title"].Position = UDim2.new(0, 9, 0.5, 0)
  3353. Converted["_Title"].Size = UDim2.new(1, -45, 0, 14)
  3354. Converted["_Title"].Name = "Title"
  3355. Converted["_Title"].Parent = Converted["_0_Toggle"]
  3356.  
  3357. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  3358. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3359. Converted["_Main"].BackgroundTransparency = 1
  3360. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  3361. Converted["_Main"].Name = "Main"
  3362. Converted["_Main"].Parent = Converted["_Title"]
  3363.  
  3364. Converted["_Title1"].Font = Enum.Font.GothamMedium
  3365. Converted["_Title1"].Text = "Toggle"
  3366. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3367. Converted["_Title1"].TextSize = 14
  3368. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  3369. Converted["_Title1"].TextWrapped = true
  3370. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  3371. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  3372. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3373. Converted["_Title1"].BackgroundTransparency = 1
  3374. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  3375. Converted["_Title1"].Name = "Title"
  3376. Converted["_Title1"].Parent = Converted["_Main"]
  3377.  
  3378. Converted["_Theme4"].Value = "TextColor3"
  3379. Converted["_Theme4"].Name = "Theme"
  3380. Converted["_Theme4"].Parent = Converted["_Title1"]
  3381.  
  3382. Converted["_Category4"].Value = "Symbols"
  3383. Converted["_Category4"].Name = "Category"
  3384. Converted["_Category4"].Parent = Converted["_Theme4"]
  3385.  
  3386. Converted["_Ignore4"].Name = "Ignore"
  3387. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  3388.  
  3389. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  3390. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  3391. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  3392. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3393. Converted["_Warning"].BackgroundTransparency = 1
  3394. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  3395. Converted["_Warning"].Visible = false
  3396. Converted["_Warning"].Name = "Warning"
  3397. Converted["_Warning"].Parent = Converted["_Title"]
  3398.  
  3399. Converted["_Theme5"].Value = "ImageColor3"
  3400. Converted["_Theme5"].Name = "Theme"
  3401. Converted["_Theme5"].Parent = Converted["_Warning"]
  3402.  
  3403. Converted["_Category5"].Value = "Warning"
  3404. Converted["_Category5"].Name = "Category"
  3405. Converted["_Category5"].Parent = Converted["_Theme5"]
  3406.  
  3407. Converted["_Ignore5"].Name = "Ignore"
  3408. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  3409.  
  3410. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  3411. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  3412. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  3413. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  3414. Converted["_UIListLayout"].Parent = Converted["_Title"]
  3415.  
  3416. Converted["_Element"].Value = "Toggle"
  3417. Converted["_Element"].Name = "Element"
  3418. Converted["_Element"].Parent = Converted["_0_Toggle"]
  3419.  
  3420. return Converted["_0_Toggle"]
  3421. end
  3422.  
  3423. local element = createElement()
  3424.  
  3425. do -- toggling
  3426. local toggle = element.Toggle
  3427. local img = toggle.ImageLabel
  3428.  
  3429. local toggleBtn = utility:CreateButtonObject(toggle)
  3430.  
  3431. local tween1,tween2
  3432.  
  3433. toggleBtn.Activated:Connect(function()
  3434. _self.Flags[info.Flag] = not _self.Flags[info.Flag]
  3435. coroutine.wrap(info.Callback)(_self.Flags[info.Flag])
  3436. end)
  3437.  
  3438. local bigButton = utility:CreateButtonObject(element)
  3439. bigButton.ZIndex = 0
  3440. bigButton.Activated:Connect(function()
  3441. utility:DoClickEffect(element)
  3442. _self.Flags[info.Flag] = not _self.Flags[info.Flag]
  3443. coroutine.wrap(info.Callback)(_self.Flags[info.Flag])
  3444. end)
  3445.  
  3446. local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  3447.  
  3448. local lastFlag = nil
  3449. local con
  3450. LPH_JIT_MAX(function()
  3451. con = Run.RenderStepped:Connect(function()
  3452. local currentFlag = _self.Flags[info.Flag]
  3453.  
  3454. local imageGoalSize = currentFlag and UDim2.fromScale(0.9,0.9) or UDim2.fromScale(0,0)
  3455. local backgroundGoalColor = currentFlag and _self.color or Color3.fromRGB(28, 28, 28)
  3456.  
  3457. if lastFlag==nil then
  3458. toggle.BackgroundColor3 = backgroundGoalColor
  3459. img.Size = imageGoalSize
  3460. elseif lastFlag~=currentFlag then
  3461. pcall(function()
  3462. tween1:Disconnect()
  3463. tween1:Destroy()
  3464. end)
  3465. pcall(function()
  3466. tween2:Disconnect()
  3467. tween2:Destroy()
  3468. end)
  3469. tween1 = TS:Create(toggle,tweenInfo,{
  3470. ["BackgroundColor3"] = backgroundGoalColor
  3471. })
  3472. tween2 = TS:Create(img,tweenInfo,{
  3473. ["Size"] = imageGoalSize
  3474. })
  3475. tween1:Play()
  3476. tween2:Play()
  3477. end
  3478. lastFlag = currentFlag
  3479. end)
  3480. end)()
  3481. table.insert(_self._connections,con)
  3482. end
  3483.  
  3484. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  3485. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  3486. if info.Warning then
  3487. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  3488. element.Title.Warning.Visible = true
  3489. local hint = utility:CreateHint()
  3490. hint.Value = info.Warning
  3491. hint.Parent = element.Title.Warning
  3492. end
  3493.  
  3494. element.Toggle.ImageLabel.ImageColor3 = utility:GetTextContrast(_self.color)
  3495. element.Title.Main.Title.Text = info.Name
  3496. element.Name = string.rep("_",elementNum)..info.Name
  3497. element.Parent = section.holder.Contents
  3498. end
  3499. function Element.CreateSlider(section,info)
  3500. local _self = section._self
  3501. -- Requirements
  3502. utility:Requirement(type(info)=="table","Info must be a table!")
  3503. utility:Requirement(info.Name,"Missing name argument")
  3504. utility:Requirement(info.Flag,"Missing flag argument")
  3505. utility:Requirement(info.Min,"Missing min argument")
  3506. utility:Requirement(info.Max,"Missing max argument")
  3507. utility:Requirement(info.Max>info.Min,"Max must be larger than min")
  3508.  
  3509. if _self._usedFlags[info.Flag] then
  3510. warn("Flag must have unique name!")
  3511. return
  3512. else
  3513. _self._usedFlags[info.Flag] = true
  3514. end
  3515.  
  3516. if info.Default==nil then
  3517. info.Default = info.Min
  3518. end
  3519. if info.AllowOutOfRange==nil then
  3520. info.AllowOutOfRange = false
  3521. end
  3522. if info.Digits==nil then
  3523. info.Digits = 0
  3524. end
  3525. info.Callback = info.Callback or utility.BlankFunction
  3526.  
  3527. if _self.Flags[info.Flag]==nil then
  3528. _self.Flags[info.Flag] = info.Default
  3529. end
  3530.  
  3531. if info.SavingDisabled then
  3532. _self.Flags[info.Flag] = info.Default
  3533. end
  3534.  
  3535. section.elementNum = section.elementNum+1
  3536.  
  3537. local elementNum = section.elementNum
  3538.  
  3539. local function createElement()
  3540. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  3541. local Converted = {
  3542. ["_1_Slider"] = Instance.new("Frame");
  3543. ["_UICorner"] = Instance.new("UICorner");
  3544. ["_Slider"] = Instance.new("ImageLabel");
  3545. ["_Slider1"] = Instance.new("ImageLabel");
  3546. ["_Theme"] = Instance.new("StringValue");
  3547. ["_Category"] = Instance.new("StringValue");
  3548. ["_Ignore"] = Instance.new("BoolValue");
  3549. ["_Theme1"] = Instance.new("StringValue");
  3550. ["_Category1"] = Instance.new("StringValue");
  3551. ["_Ignore1"] = Instance.new("BoolValue");
  3552. ["_Input"] = Instance.new("TextBox");
  3553. ["_Theme2"] = Instance.new("StringValue");
  3554. ["_Category2"] = Instance.new("StringValue");
  3555. ["_Ignore2"] = Instance.new("BoolValue");
  3556. ["_Title"] = Instance.new("Frame");
  3557. ["_Main"] = Instance.new("Frame");
  3558. ["_Title1"] = Instance.new("TextLabel");
  3559. ["_Theme3"] = Instance.new("StringValue");
  3560. ["_Category3"] = Instance.new("StringValue");
  3561. ["_Ignore3"] = Instance.new("BoolValue");
  3562. ["_Warning"] = Instance.new("ImageLabel");
  3563. ["_Theme4"] = Instance.new("StringValue");
  3564. ["_Category4"] = Instance.new("StringValue");
  3565. ["_Ignore4"] = Instance.new("BoolValue");
  3566. ["_UIListLayout"] = Instance.new("UIListLayout");
  3567. ["_Theme5"] = Instance.new("StringValue");
  3568. ["_Category5"] = Instance.new("StringValue");
  3569. ["_Ignore5"] = Instance.new("BoolValue");
  3570. ["_Element"] = Instance.new("StringValue");
  3571. }
  3572.  
  3573. --Properties
  3574.  
  3575. Converted["_1_Slider"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  3576. Converted["_1_Slider"].BorderColor3 = Color3.fromRGB(27.000000290572643, 42.000001296401024, 53.00000064074993)
  3577. Converted["_1_Slider"].Position = UDim2.new(-1.51867283e-07, 0, 0.46425584, 0)
  3578. Converted["_1_Slider"].Size = UDim2.new(1, 0, 0, 50)
  3579. Converted["_1_Slider"].Name = "1_Slider"
  3580.  
  3581. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  3582. Converted["_UICorner"].Parent = Converted["_1_Slider"]
  3583.  
  3584. Converted["_Slider"].Image = "rbxassetid://10261338527"
  3585. Converted["_Slider"].ImageColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  3586. Converted["_Slider"].ScaleType = Enum.ScaleType.Slice
  3587. Converted["_Slider"].SliceCenter = Rect.new(100, 100, 100, 100)
  3588. Converted["_Slider"].AnchorPoint = Vector2.new(0.5, 1)
  3589. Converted["_Slider"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3590. Converted["_Slider"].BackgroundTransparency = 1
  3591. Converted["_Slider"].Position = UDim2.new(0.5, 0, 0.774999976, 0)
  3592. Converted["_Slider"].Size = UDim2.new(1, -18, 0, 4)
  3593. Converted["_Slider"].Name = "Slider"
  3594. Converted["_Slider"].Parent = Converted["_1_Slider"]
  3595.  
  3596. Converted["_Slider1"].Image = "rbxassetid://10261338527"
  3597. Converted["_Slider1"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3598. Converted["_Slider1"].ScaleType = Enum.ScaleType.Slice
  3599. Converted["_Slider1"].SliceCenter = Rect.new(100, 100, 100, 100)
  3600. Converted["_Slider1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3601. Converted["_Slider1"].BackgroundTransparency = 1
  3602. Converted["_Slider1"].Size = UDim2.new(0.5, 0, 1, 0)
  3603. Converted["_Slider1"].Name = "Slider"
  3604. Converted["_Slider1"].Parent = Converted["_Slider"]
  3605.  
  3606. Converted["_Theme"].Value = "ImageColor3"
  3607. Converted["_Theme"].Name = "Theme"
  3608. Converted["_Theme"].Parent = Converted["_Slider1"]
  3609.  
  3610. Converted["_Category"].Value = "Symbols"
  3611. Converted["_Category"].Name = "Category"
  3612. Converted["_Category"].Parent = Converted["_Theme"]
  3613.  
  3614. Converted["_Ignore"].Name = "Ignore"
  3615. Converted["_Ignore"].Parent = Converted["_Theme"]
  3616.  
  3617. Converted["_Theme1"].Value = "ImageColor3"
  3618. Converted["_Theme1"].Name = "Theme"
  3619. Converted["_Theme1"].Parent = Converted["_Slider"]
  3620.  
  3621. Converted["_Category1"].Value = "Background"
  3622. Converted["_Category1"].Name = "Category"
  3623. Converted["_Category1"].Parent = Converted["_Theme1"]
  3624.  
  3625. Converted["_Ignore1"].Name = "Ignore"
  3626. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  3627.  
  3628. Converted["_Input"].Font = Enum.Font.GothamMedium
  3629. Converted["_Input"].PlaceholderColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3630. Converted["_Input"].Text = "0"
  3631. Converted["_Input"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3632. Converted["_Input"].TextSize = 14
  3633. Converted["_Input"].TextTruncate = Enum.TextTruncate.AtEnd
  3634. Converted["_Input"].TextXAlignment = Enum.TextXAlignment.Right
  3635. Converted["_Input"].AnchorPoint = Vector2.new(1, 0.5)
  3636. Converted["_Input"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3637. Converted["_Input"].BackgroundTransparency = 1
  3638. Converted["_Input"].Position = UDim2.new(0.999999881, -9, 0, 17)
  3639. Converted["_Input"].Size = UDim2.new(0.309244812, -45, 0, 14)
  3640. Converted["_Input"].Name = "Input"
  3641. Converted["_Input"].Parent = Converted["_1_Slider"]
  3642.  
  3643. Converted["_Theme2"].Value = "TextColor3"
  3644. Converted["_Theme2"].Name = "Theme"
  3645. Converted["_Theme2"].Parent = Converted["_Input"]
  3646.  
  3647. Converted["_Category2"].Value = "Symbols"
  3648. Converted["_Category2"].Name = "Category"
  3649. Converted["_Category2"].Parent = Converted["_Theme2"]
  3650.  
  3651. Converted["_Ignore2"].Name = "Ignore"
  3652. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  3653.  
  3654. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  3655. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3656. Converted["_Title"].BackgroundTransparency = 1
  3657. Converted["_Title"].Position = UDim2.new(0, 8, 0, 17)
  3658. Converted["_Title"].Size = UDim2.new(0.787999988, -45, 0, 14)
  3659. Converted["_Title"].Name = "Title"
  3660. Converted["_Title"].Parent = Converted["_1_Slider"]
  3661.  
  3662. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  3663. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3664. Converted["_Main"].BackgroundTransparency = 1
  3665. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  3666. Converted["_Main"].Name = "Main"
  3667. Converted["_Main"].Parent = Converted["_Title"]
  3668.  
  3669. Converted["_Title1"].Font = Enum.Font.GothamMedium
  3670. Converted["_Title1"].Text = "Slider"
  3671. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3672. Converted["_Title1"].TextSize = 14
  3673. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  3674. Converted["_Title1"].TextWrapped = true
  3675. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  3676. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  3677. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3678. Converted["_Title1"].BackgroundTransparency = 1
  3679. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  3680. Converted["_Title1"].Name = "Title"
  3681. Converted["_Title1"].Parent = Converted["_Main"]
  3682.  
  3683. Converted["_Theme3"].Value = "TextColor3"
  3684. Converted["_Theme3"].Name = "Theme"
  3685. Converted["_Theme3"].Parent = Converted["_Title1"]
  3686.  
  3687. Converted["_Category3"].Value = "Symbols"
  3688. Converted["_Category3"].Name = "Category"
  3689. Converted["_Category3"].Parent = Converted["_Theme3"]
  3690.  
  3691. Converted["_Ignore3"].Name = "Ignore"
  3692. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  3693.  
  3694. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  3695. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  3696. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  3697. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3698. Converted["_Warning"].BackgroundTransparency = 1
  3699. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  3700. Converted["_Warning"].Visible = false
  3701. Converted["_Warning"].Name = "Warning"
  3702. Converted["_Warning"].Parent = Converted["_Title"]
  3703.  
  3704. Converted["_Theme4"].Value = "ImageColor3"
  3705. Converted["_Theme4"].Name = "Theme"
  3706. Converted["_Theme4"].Parent = Converted["_Warning"]
  3707.  
  3708. Converted["_Category4"].Value = "Warning"
  3709. Converted["_Category4"].Name = "Category"
  3710. Converted["_Category4"].Parent = Converted["_Theme4"]
  3711.  
  3712. Converted["_Ignore4"].Name = "Ignore"
  3713. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  3714.  
  3715. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  3716. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  3717. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  3718. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  3719. Converted["_UIListLayout"].Parent = Converted["_Title"]
  3720.  
  3721. Converted["_Theme5"].Value = "BackgroundColor3"
  3722. Converted["_Theme5"].Name = "Theme"
  3723. Converted["_Theme5"].Parent = Converted["_1_Slider"]
  3724.  
  3725. Converted["_Category5"].Value = "Element"
  3726. Converted["_Category5"].Name = "Category"
  3727. Converted["_Category5"].Parent = Converted["_Theme5"]
  3728.  
  3729. Converted["_Ignore5"].Name = "Ignore"
  3730. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  3731.  
  3732. Converted["_Element"].Value = "Slider"
  3733. Converted["_Element"].Name = "Element"
  3734. Converted["_Element"].Parent = Converted["_1_Slider"]
  3735.  
  3736. return Converted["_1_Slider"]
  3737. end
  3738.  
  3739. local element = createElement()
  3740.  
  3741. do -- sliding
  3742. local slider = element.Slider
  3743. local inner = slider.Slider
  3744. local sliderButton = utility:CreateButtonObject(slider)
  3745. sliderButton.Size = UDim2.fromScale(1,3)
  3746. local input = element.Input
  3747.  
  3748. local dragging = false
  3749.  
  3750. local lastFlag = nil
  3751. local con
  3752. local lastMouseX = mouse.X
  3753.  
  3754. sliderButton.MouseButton1Down:Connect(function()
  3755. dragging = true
  3756. end)
  3757.  
  3758. local lerp = 0.45
  3759. local _last_text
  3760. local _focused = false
  3761.  
  3762. LPH_JIT_MAX(function()
  3763. con = Run.RenderStepped:Connect(function(dt)
  3764. if not UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  3765. dragging = false
  3766. end
  3767. local finalX = utility:Lerp(lastMouseX,mouse.X,lerp*(dt*60)) -- deltatime in case of slow framerates
  3768. if dragging then
  3769. local percent = math.clamp((finalX-slider.AbsolutePosition.X)/slider.AbsoluteSize.X,0,1)
  3770. _self.Flags[info.Flag] = info.Min+((info.Max-info.Min)*percent)
  3771. end
  3772. if not info.AllowOutOfRange then
  3773. _self.Flags[info.Flag] = math.clamp(_self.Flags[info.Flag],info.Min,info.Max)
  3774. end
  3775. _self.Flags[info.Flag] = utility:FormatNumber(_self.Flags[info.Flag],info.Digits)
  3776. if dragging then
  3777. coroutine.wrap(info.Callback)(_self.Flags[info.Flag])
  3778. end
  3779. local currentFlag = _self.Flags[info.Flag]
  3780. if lastFlag~=currentFlag then
  3781. inner.Size = UDim2.fromScale(math.clamp((currentFlag-info.Min)/(info.Max-info.Min),0,1),1)
  3782. lastFlag = currentFlag
  3783. input.Text = currentFlag
  3784. end
  3785. lastMouseX = finalX
  3786. if _focused == false then
  3787. _last_text = input.Text
  3788. end
  3789. end)
  3790. end)()
  3791. table.insert(_self._connections,con)
  3792.  
  3793. input.Focused:Connect(function()
  3794. _focused = true
  3795. end)
  3796.  
  3797. input.FocusLost:Connect(function(enterPressed)
  3798. local newValue
  3799. if enterPressed then
  3800. local text = input.Text
  3801. local num = tonumber(text)
  3802. if num then
  3803. if not info.AllowOutOfRange then
  3804. num = math.clamp(num,info.Min,info.Max)
  3805. end
  3806. input.Text = utility:FormatNumber(num,info.Digits)
  3807. newValue = num
  3808. _self.Flags[info.Flag] = newValue
  3809. else
  3810. input.Text = _last_text
  3811. end
  3812. else
  3813. input.Text = _last_text
  3814. end
  3815.  
  3816. _focused = false
  3817. end)
  3818. end
  3819.  
  3820. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  3821. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  3822. if info.Warning then
  3823. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  3824. element.Title.Warning.Visible = true
  3825. local hint = utility:CreateHint()
  3826. hint.Value = info.Warning
  3827. hint.Parent = element.Title.Warning
  3828. end
  3829.  
  3830. element.Title.Main.Title.Text = info.Name
  3831. element.Name = string.rep("_",elementNum)..info.Name
  3832. element.Parent = section.holder.Contents
  3833. end
  3834. function Element.CreateSliderToggle(section,info)
  3835. local _self = section._self
  3836. -- Requirements
  3837. if info.Flag then
  3838. warn("SliderToggle does not have a 'Flag' argument, as it instead has two flags titled 'SliderFlag' and 'ToggleFlag'. Please fix your script.")
  3839. end
  3840. utility:Requirement(type(info)=="table","Info must be a table!")
  3841. utility:Requirement(info.Name,"Missing name argument")
  3842. utility:Requirement(info.SliderFlag,"Missing slider flag argument")
  3843. utility:Requirement(info.ToggleFlag,"Missing toggle flag argument")
  3844. utility:Requirement(info.Min,"Missing min argument")
  3845. utility:Requirement(info.Max,"Missing max argument")
  3846. utility:Requirement(info.Max>info.Min,"Max must be larger than min")
  3847.  
  3848. if _self._usedFlags[info.SliderFlag] then
  3849. warn("Slider flag must have unique name!")
  3850. return
  3851. else
  3852. _self._usedFlags[info.SliderFlag] = true
  3853. end
  3854.  
  3855. if _self._usedFlags[info.ToggleFlag] then
  3856. warn("Toggle flag must have unique name!")
  3857. return
  3858. else
  3859. _self._usedFlags[info.ToggleFlag] = true
  3860. end
  3861.  
  3862. info.SliderCallback = info.SliderCallback or utility.BlankFunction
  3863. info.ToggleCallback = info.ToggleCallback or utility.BlankFunction
  3864.  
  3865. if info.SliderDefault==nil then
  3866. info.SliderDefault = info.Min
  3867. end
  3868. if info.ToggleDefault==nil then
  3869. info.ToggleDefault = false
  3870. end
  3871. if info.AllowOutOfRange==nil then
  3872. info.AllowOutOfRange = false
  3873. end
  3874. if info.Digits==nil then
  3875. info.Digits = 0
  3876. end
  3877.  
  3878. if _self.Flags[info.SliderFlag]==nil then
  3879. _self.Flags[info.SliderFlag] = info.SliderDefault
  3880. end
  3881. if _self.Flags[info.ToggleFlag]==nil then
  3882. _self.Flags[info.ToggleFlag] = info.ToggleDefault
  3883. end
  3884.  
  3885. if info.SavingDisabled then
  3886. _self.Flags[info.SliderFlag] = info.SliderDefault
  3887. _self.Flags[info.ToggleFlag] = info.ToggleDefault
  3888. end
  3889.  
  3890. section.elementNum = section.elementNum+1
  3891.  
  3892. local elementNum = section.elementNum
  3893.  
  3894. local function createElement()
  3895. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  3896. local Converted = {
  3897. ["_2_SliderToggle"] = Instance.new("Frame");
  3898. ["_UICorner"] = Instance.new("UICorner");
  3899. ["_Slider"] = Instance.new("ImageLabel");
  3900. ["_Slider1"] = Instance.new("ImageLabel");
  3901. ["_Theme"] = Instance.new("StringValue");
  3902. ["_Category"] = Instance.new("StringValue");
  3903. ["_Ignore"] = Instance.new("BoolValue");
  3904. ["_Theme1"] = Instance.new("StringValue");
  3905. ["_Category1"] = Instance.new("StringValue");
  3906. ["_Ignore1"] = Instance.new("BoolValue");
  3907. ["_Input"] = Instance.new("TextBox");
  3908. ["_Toggle"] = Instance.new("Frame");
  3909. ["_UICorner1"] = Instance.new("UICorner");
  3910. ["_UIStroke"] = Instance.new("UIStroke");
  3911. ["_Theme2"] = Instance.new("StringValue");
  3912. ["_Category2"] = Instance.new("StringValue");
  3913. ["_Ignore2"] = Instance.new("BoolValue");
  3914. ["_ImageLabel"] = Instance.new("ImageLabel");
  3915. ["_Theme3"] = Instance.new("StringValue");
  3916. ["_Category3"] = Instance.new("StringValue");
  3917. ["_Ignore3"] = Instance.new("BoolValue");
  3918. ["_Theme4"] = Instance.new("StringValue");
  3919. ["_Category4"] = Instance.new("StringValue");
  3920. ["_Ignore4"] = Instance.new("BoolValue");
  3921. ["_Title"] = Instance.new("Frame");
  3922. ["_Main"] = Instance.new("Frame");
  3923. ["_Title1"] = Instance.new("TextLabel");
  3924. ["_Theme5"] = Instance.new("StringValue");
  3925. ["_Category5"] = Instance.new("StringValue");
  3926. ["_Ignore5"] = Instance.new("BoolValue");
  3927. ["_Warning"] = Instance.new("ImageLabel");
  3928. ["_Theme6"] = Instance.new("StringValue");
  3929. ["_Category6"] = Instance.new("StringValue");
  3930. ["_Ignore6"] = Instance.new("BoolValue");
  3931. ["_UIListLayout"] = Instance.new("UIListLayout");
  3932. ["_Theme7"] = Instance.new("StringValue");
  3933. ["_Category7"] = Instance.new("StringValue");
  3934. ["_Ignore7"] = Instance.new("BoolValue");
  3935. ["_Element"] = Instance.new("StringValue");
  3936. }
  3937.  
  3938. --Properties
  3939.  
  3940. Converted["_2_SliderToggle"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  3941. Converted["_2_SliderToggle"].BorderColor3 = Color3.fromRGB(27.000000290572643, 42.000001296401024, 53.00000064074993)
  3942. Converted["_2_SliderToggle"].Position = UDim2.new(0, 0, 0.627714336, 0)
  3943. Converted["_2_SliderToggle"].Size = UDim2.new(1, 0, 0, 54)
  3944. Converted["_2_SliderToggle"].Name = "SliderToggle"
  3945.  
  3946. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  3947. Converted["_UICorner"].Parent = Converted["_2_SliderToggle"]
  3948.  
  3949. Converted["_Slider"].Image = "rbxassetid://10261338527"
  3950. Converted["_Slider"].ImageColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  3951. Converted["_Slider"].ScaleType = Enum.ScaleType.Slice
  3952. Converted["_Slider"].SliceCenter = Rect.new(100, 100, 100, 100)
  3953. Converted["_Slider"].AnchorPoint = Vector2.new(0.5, 1)
  3954. Converted["_Slider"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3955. Converted["_Slider"].BackgroundTransparency = 1
  3956. Converted["_Slider"].Position = UDim2.new(0.479985327, 0, 0.761503458, 0)
  3957. Converted["_Slider"].Size = UDim2.new(0.959725976, -18, 0, 4)
  3958. Converted["_Slider"].Name = "Slider"
  3959. Converted["_Slider"].Parent = Converted["_2_SliderToggle"]
  3960.  
  3961. Converted["_Slider1"].Image = "rbxassetid://10261338527"
  3962. Converted["_Slider1"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3963. Converted["_Slider1"].ScaleType = Enum.ScaleType.Slice
  3964. Converted["_Slider1"].SliceCenter = Rect.new(100, 100, 100, 100)
  3965. Converted["_Slider1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3966. Converted["_Slider1"].BackgroundTransparency = 1
  3967. Converted["_Slider1"].Size = UDim2.new(0.5, 0, 1, 0)
  3968. Converted["_Slider1"].Name = "Slider"
  3969. Converted["_Slider1"].Parent = Converted["_Slider"]
  3970.  
  3971. Converted["_Theme"].Value = "ImageColor3"
  3972. Converted["_Theme"].Name = "Theme"
  3973. Converted["_Theme"].Parent = Converted["_Slider1"]
  3974.  
  3975. Converted["_Category"].Value = "Symbols"
  3976. Converted["_Category"].Name = "Category"
  3977. Converted["_Category"].Parent = Converted["_Theme"]
  3978.  
  3979. Converted["_Ignore"].Name = "Ignore"
  3980. Converted["_Ignore"].Parent = Converted["_Theme"]
  3981.  
  3982. Converted["_Theme1"].Value = "ImageColor3"
  3983. Converted["_Theme1"].Name = "Theme"
  3984. Converted["_Theme1"].Parent = Converted["_Slider"]
  3985.  
  3986. Converted["_Category1"].Value = "Background"
  3987. Converted["_Category1"].Name = "Category"
  3988. Converted["_Category1"].Parent = Converted["_Theme1"]
  3989.  
  3990. Converted["_Ignore1"].Name = "Ignore"
  3991. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  3992.  
  3993. Converted["_Input"].Font = Enum.Font.GothamMedium
  3994. Converted["_Input"].PlaceholderColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3995. Converted["_Input"].Text = "0"
  3996. Converted["_Input"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  3997. Converted["_Input"].TextSize = 14
  3998. Converted["_Input"].TextTruncate = Enum.TextTruncate.AtEnd
  3999. Converted["_Input"].TextXAlignment = Enum.TextXAlignment.Right
  4000. Converted["_Input"].AnchorPoint = Vector2.new(1, 0.5)
  4001. Converted["_Input"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4002. Converted["_Input"].BackgroundTransparency = 1
  4003. Converted["_Input"].Position = UDim2.new(0.999999881, -9, 0, 17)
  4004. Converted["_Input"].Size = UDim2.new(0.350198835, -45, 0, 14)
  4005. Converted["_Input"].Name = "Input"
  4006. Converted["_Input"].Parent = Converted["_2_SliderToggle"]
  4007.  
  4008. Converted["_Toggle"].AnchorPoint = Vector2.new(0.5, 0.5)
  4009. Converted["_Toggle"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  4010. Converted["_Toggle"].Position = UDim2.new(1, -14, 0.699999988, 0)
  4011. Converted["_Toggle"].Size = UDim2.new(0, 17, 0, 17)
  4012. Converted["_Toggle"].Name = "Toggle"
  4013. Converted["_Toggle"].Parent = Converted["_2_SliderToggle"]
  4014.  
  4015. Converted["_UICorner1"].CornerRadius = UDim.new(0, 3)
  4016. Converted["_UICorner1"].Parent = Converted["_Toggle"]
  4017.  
  4018. Converted["_UIStroke"].Color = Color3.fromRGB(84.00000259280205, 84.00000259280205, 84.00000259280205)
  4019. Converted["_UIStroke"].Parent = Converted["_Toggle"]
  4020.  
  4021. Converted["_Theme2"].Value = "Color"
  4022. Converted["_Theme2"].Name = "Theme"
  4023. Converted["_Theme2"].Parent = Converted["_UIStroke"]
  4024.  
  4025. Converted["_Category2"].Value = "ToggleOutline"
  4026. Converted["_Category2"].Name = "Category"
  4027. Converted["_Category2"].Parent = Converted["_Theme2"]
  4028.  
  4029. Converted["_Ignore2"].Name = "Ignore"
  4030. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  4031.  
  4032. Converted["_ImageLabel"].Image = "http://www.roblox.com/asset/?id=10954923256"
  4033. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  4034. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4035. Converted["_ImageLabel"].BackgroundTransparency = 1
  4036. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  4037. Converted["_ImageLabel"].Parent = Converted["_Toggle"]
  4038.  
  4039. Converted["_Theme3"].Value = "ImageColor3"
  4040. Converted["_Theme3"].Name = "Theme"
  4041. Converted["_Theme3"].Parent = Converted["_ImageLabel"]
  4042.  
  4043. Converted["_Category3"].Value = "SymbolSelect"
  4044. Converted["_Category3"].Name = "Category"
  4045. Converted["_Category3"].Parent = Converted["_Theme3"]
  4046.  
  4047. Converted["_Ignore3"].Name = "Ignore"
  4048. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  4049.  
  4050. Converted["_Theme4"].Value = "BackgroundColor3"
  4051. Converted["_Theme4"].Name = "Theme"
  4052. Converted["_Theme4"].Parent = Converted["_Toggle"]
  4053.  
  4054. Converted["_Category4"].Value = "Element"
  4055. Converted["_Category4"].Name = "Category"
  4056. Converted["_Category4"].Parent = Converted["_Theme4"]
  4057.  
  4058. Converted["_Ignore4"].Name = "Ignore"
  4059. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  4060.  
  4061. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  4062. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4063. Converted["_Title"].BackgroundTransparency = 1
  4064. Converted["_Title"].Position = UDim2.new(0, 7, 0, 17)
  4065. Converted["_Title"].Size = UDim2.new(0.764999986, -45, 0, 14)
  4066. Converted["_Title"].Name = "Title"
  4067. Converted["_Title"].Parent = Converted["_2_SliderToggle"]
  4068.  
  4069. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  4070. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4071. Converted["_Main"].BackgroundTransparency = 1
  4072. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  4073. Converted["_Main"].Name = "Main"
  4074. Converted["_Main"].Parent = Converted["_Title"]
  4075.  
  4076. Converted["_Title1"].Font = Enum.Font.GothamMedium
  4077. Converted["_Title1"].Text = "Slider Toggle"
  4078. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4079. Converted["_Title1"].TextSize = 14
  4080. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  4081. Converted["_Title1"].TextWrapped = true
  4082. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  4083. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  4084. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4085. Converted["_Title1"].BackgroundTransparency = 1
  4086. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  4087. Converted["_Title1"].Name = "Title"
  4088. Converted["_Title1"].Parent = Converted["_Main"]
  4089.  
  4090. Converted["_Theme5"].Value = "TextColor3"
  4091. Converted["_Theme5"].Name = "Theme"
  4092. Converted["_Theme5"].Parent = Converted["_Title1"]
  4093.  
  4094. Converted["_Category5"].Value = "Symbols"
  4095. Converted["_Category5"].Name = "Category"
  4096. Converted["_Category5"].Parent = Converted["_Theme5"]
  4097.  
  4098. Converted["_Ignore5"].Name = "Ignore"
  4099. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  4100.  
  4101. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  4102. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  4103. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  4104. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4105. Converted["_Warning"].BackgroundTransparency = 1
  4106. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  4107. Converted["_Warning"].Visible = false
  4108. Converted["_Warning"].Name = "Warning"
  4109. Converted["_Warning"].Parent = Converted["_Title"]
  4110.  
  4111. Converted["_Theme6"].Value = "ImageColor3"
  4112. Converted["_Theme6"].Name = "Theme"
  4113. Converted["_Theme6"].Parent = Converted["_Warning"]
  4114.  
  4115. Converted["_Category6"].Value = "Warning"
  4116. Converted["_Category6"].Name = "Category"
  4117. Converted["_Category6"].Parent = Converted["_Theme6"]
  4118.  
  4119. Converted["_Ignore6"].Name = "Ignore"
  4120. Converted["_Ignore6"].Parent = Converted["_Theme6"]
  4121.  
  4122. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  4123. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  4124. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  4125. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  4126. Converted["_UIListLayout"].Parent = Converted["_Title"]
  4127.  
  4128. Converted["_Theme7"].Value = "BackgroundColor3"
  4129. Converted["_Theme7"].Name = "Theme"
  4130. Converted["_Theme7"].Parent = Converted["_2_SliderToggle"]
  4131.  
  4132. Converted["_Category7"].Value = "Element"
  4133. Converted["_Category7"].Name = "Category"
  4134. Converted["_Category7"].Parent = Converted["_Theme7"]
  4135.  
  4136. Converted["_Ignore7"].Name = "Ignore"
  4137. Converted["_Ignore7"].Parent = Converted["_Theme7"]
  4138.  
  4139. Converted["_Element"].Value = "SliderToggle"
  4140. Converted["_Element"].Name = "Element"
  4141. Converted["_Element"].Parent = Converted["_2_SliderToggle"]
  4142.  
  4143. return Converted["_2_SliderToggle"]
  4144. end
  4145.  
  4146. local element = createElement()
  4147.  
  4148. do -- sliding
  4149. local slider = element.Slider
  4150. local inner = slider.Slider
  4151. local sliderButton = utility:CreateButtonObject(slider)
  4152. sliderButton.Size = UDim2.fromScale(1,3)
  4153. local input = element.Input
  4154.  
  4155. local dragging = false
  4156.  
  4157. local lastFlag = nil
  4158. local con
  4159. local lastMouseX = mouse.X
  4160.  
  4161. sliderButton.MouseButton1Down:Connect(function()
  4162. dragging = true
  4163. end)
  4164.  
  4165. local lerp = 0.45
  4166. local _last_text
  4167. local _focused = false
  4168.  
  4169. LPH_JIT_MAX(function()
  4170. con = Run.RenderStepped:Connect(function(dt)
  4171. if not UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  4172. dragging = false
  4173. end
  4174. local finalX = utility:Lerp(lastMouseX,mouse.X,lerp*(dt*60)) -- deltatime in case of slow framerates
  4175. if dragging then
  4176. local percent = math.clamp((finalX-slider.AbsolutePosition.X)/slider.AbsoluteSize.X,0,1)
  4177. _self.Flags[info.SliderFlag] = info.Min+((info.Max-info.Min)*percent)
  4178. end
  4179. if not info.AllowOutOfRange then
  4180. _self.Flags[info.SliderFlag] = math.clamp(_self.Flags[info.SliderFlag],info.Min,info.Max)
  4181. end
  4182. _self.Flags[info.SliderFlag] = utility:FormatNumber(_self.Flags[info.SliderFlag],info.Digits)
  4183. if dragging then
  4184. coroutine.wrap(info.SliderCallback)(_self.Flags[info.SliderFlag])
  4185. end
  4186. local currentFlag = _self.Flags[info.SliderFlag]
  4187. if lastFlag~=currentFlag then
  4188. inner.Size = UDim2.fromScale(math.clamp((currentFlag-info.Min)/(info.Max-info.Min),0,1),1)
  4189. lastFlag = currentFlag
  4190. input.Text = currentFlag
  4191. end
  4192. lastMouseX = finalX
  4193. if _focused == false then
  4194. _last_text = input.Text
  4195. end
  4196. end)
  4197. end)()
  4198. table.insert(_self._connections,con)
  4199.  
  4200. input.Focused:Connect(function()
  4201. _focused = true
  4202. end)
  4203.  
  4204. input.FocusLost:Connect(function(enterPressed)
  4205. local newValue
  4206. if enterPressed then
  4207. local text = input.Text
  4208. local num = tonumber(text)
  4209. if num then
  4210. if not info.AllowOutOfRange then
  4211. num = math.clamp(num,info.Min,info.Max)
  4212. end
  4213. input.Text = utility:FormatNumber(num,info.Digits)
  4214. newValue = num
  4215. _self.Flags[info.SliderFlag] = newValue
  4216. else
  4217. input.Text = _last_text
  4218. end
  4219. else
  4220. input.Text = _last_text
  4221. end
  4222.  
  4223. _focused = false
  4224. end)
  4225. end
  4226.  
  4227. do -- toggling
  4228. local toggle = element.Toggle
  4229. local img = toggle.ImageLabel
  4230.  
  4231. local toggleBtn = utility:CreateButtonObject(toggle)
  4232.  
  4233. local tween1,tween2
  4234.  
  4235. toggleBtn.Activated:Connect(function()
  4236. _self.Flags[info.ToggleFlag] = not _self.Flags[info.ToggleFlag]
  4237. coroutine.wrap(info.ToggleCallback)(_self.Flags[info.ToggleFlag])
  4238. end)
  4239.  
  4240. local bigButton = utility:CreateButtonObject(element)
  4241. bigButton.ZIndex = 0
  4242. bigButton.Activated:Connect(function()
  4243. utility:DoClickEffect(element)
  4244. _self.Flags[info.ToggleFlag] = not _self.Flags[info.ToggleFlag]
  4245. coroutine.wrap(info.ToggleCallback)(_self.Flags[info.ToggleFlag])
  4246. end)
  4247.  
  4248. local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  4249.  
  4250. local lastFlag = nil
  4251. local con
  4252. LPH_JIT_MAX(function()
  4253. con = Run.RenderStepped:Connect(function()
  4254. local currentFlag = _self.Flags[info.ToggleFlag]
  4255.  
  4256. local imageGoalSize = currentFlag and UDim2.fromScale(0.9,0.9) or UDim2.fromScale(0,0)
  4257. local backgroundGoalColor = currentFlag and _self.color or Color3.fromRGB(28, 28, 28)
  4258.  
  4259. if lastFlag==nil then
  4260. toggle.BackgroundColor3 = backgroundGoalColor
  4261. img.Size = imageGoalSize
  4262. elseif lastFlag~=currentFlag then
  4263. pcall(function()
  4264. tween1:Disconnect()
  4265. tween1:Destroy()
  4266. end)
  4267. pcall(function()
  4268. tween2:Disconnect()
  4269. tween2:Destroy()
  4270. end)
  4271. tween1 = TS:Create(toggle,tweenInfo,{
  4272. ["BackgroundColor3"] = backgroundGoalColor
  4273. })
  4274. tween2 = TS:Create(img,tweenInfo,{
  4275. ["Size"] = imageGoalSize
  4276. })
  4277. tween1:Play()
  4278. tween2:Play()
  4279. end
  4280. lastFlag = currentFlag
  4281. end)
  4282. end)()
  4283. table.insert(_self._connections,con)
  4284. end
  4285.  
  4286. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  4287. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  4288. if info.Warning then
  4289. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  4290. element.Title.Warning.Visible = true
  4291. local hint = utility:CreateHint()
  4292. hint.Value = info.Warning
  4293. hint.Parent = element.Title.Warning
  4294. end
  4295.  
  4296. element.Toggle.ImageLabel.ImageColor3 = utility:GetTextContrast(_self.color)
  4297. element.Title.Main.Title.Text = info.Name
  4298. element.Name = string.rep("_",elementNum)..info.Name
  4299. element.Parent = section.holder.Contents
  4300. end
  4301. function Element.CreateParagraph(section,info)
  4302. local _self = section._self
  4303. -- Requirements
  4304. utility:Requirement(type(info)=="table","Info must be a table!")
  4305. utility:Requirement(info.Content,"Missing content argument")
  4306.  
  4307. section.elementNum = section.elementNum+1
  4308.  
  4309. local elementNum = section.elementNum
  4310.  
  4311. local function createElement()
  4312. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  4313. local Converted = {
  4314. ["_3_Paragraph"] = Instance.new("Frame");
  4315. ["_UICorner"] = Instance.new("UICorner");
  4316. ["_0_padding"] = Instance.new("Frame");
  4317. ["_padding"] = Instance.new("Frame");
  4318. ["_Title"] = Instance.new("TextLabel");
  4319. ["_Theme"] = Instance.new("StringValue");
  4320. ["_Category"] = Instance.new("StringValue");
  4321. ["_Ignore"] = Instance.new("BoolValue");
  4322. ["_UIListLayout"] = Instance.new("UIListLayout");
  4323. ["_Theme1"] = Instance.new("StringValue");
  4324. ["_Category1"] = Instance.new("StringValue");
  4325. ["_Ignore1"] = Instance.new("BoolValue");
  4326. ["_Element"] = Instance.new("StringValue");
  4327. }
  4328.  
  4329. --Properties
  4330.  
  4331. Converted["_3_Paragraph"].AutomaticSize = Enum.AutomaticSize.Y
  4332. Converted["_3_Paragraph"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  4333. Converted["_3_Paragraph"].BorderColor3 = Color3.fromRGB(27.000000290572643, 42.000001296401024, 53.00000064074993)
  4334. Converted["_3_Paragraph"].Position = UDim2.new(0, 0, 0.627714336, 0)
  4335. Converted["_3_Paragraph"].Size = UDim2.new(1, 0, 0, 1)
  4336. Converted["_3_Paragraph"].Name = "3_Paragraph"
  4337.  
  4338. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  4339. Converted["_UICorner"].Parent = Converted["_3_Paragraph"]
  4340.  
  4341. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4342. Converted["_0_padding"].BackgroundTransparency = 1
  4343. Converted["_0_padding"].Size = UDim2.new(1, 0, 0, 1)
  4344. Converted["_0_padding"].Name = "0_padding"
  4345. Converted["_0_padding"].Parent = Converted["_3_Paragraph"]
  4346.  
  4347. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4348. Converted["_padding"].BackgroundTransparency = 1
  4349. Converted["_padding"].Size = UDim2.new(1, 0, 0, 1)
  4350. Converted["_padding"].Name = "padding"
  4351. Converted["_padding"].Parent = Converted["_3_Paragraph"]
  4352.  
  4353. Converted["_Title"].Font = Enum.Font.GothamMedium
  4354. Converted["_Title"].RichText = true
  4355. Converted["_Title"].Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
  4356. Converted["_Title"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4357. Converted["_Title"].TextSize = 14
  4358. Converted["_Title"].TextWrapped = true
  4359. Converted["_Title"].TextXAlignment = Enum.TextXAlignment.Left
  4360. Converted["_Title"].AnchorPoint = Vector2.new(0.5, 0)
  4361. Converted["_Title"].AutomaticSize = Enum.AutomaticSize.Y
  4362. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4363. Converted["_Title"].BackgroundTransparency = 1
  4364. Converted["_Title"].Position = UDim2.new(0.5, 0, 0, 0)
  4365. Converted["_Title"].Size = UDim2.new(1, -18, 0, 1)
  4366. Converted["_Title"].Name = "Title"
  4367. Converted["_Title"].Parent = Converted["_3_Paragraph"]
  4368.  
  4369. Converted["_Theme"].Value = "TextColor3"
  4370. Converted["_Theme"].Name = "Theme"
  4371. Converted["_Theme"].Parent = Converted["_Title"]
  4372.  
  4373. Converted["_Category"].Value = "Symbols"
  4374. Converted["_Category"].Name = "Category"
  4375. Converted["_Category"].Parent = Converted["_Theme"]
  4376.  
  4377. Converted["_Ignore"].Name = "Ignore"
  4378. Converted["_Ignore"].Parent = Converted["_Theme"]
  4379.  
  4380. Converted["_UIListLayout"].Padding = UDim.new(0, 9)
  4381. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  4382. Converted["_UIListLayout"].Parent = Converted["_3_Paragraph"]
  4383.  
  4384. Converted["_Theme1"].Value = "BackgroundColor3"
  4385. Converted["_Theme1"].Name = "Theme"
  4386. Converted["_Theme1"].Parent = Converted["_3_Paragraph"]
  4387.  
  4388. Converted["_Category1"].Value = "Element"
  4389. Converted["_Category1"].Name = "Category"
  4390. Converted["_Category1"].Parent = Converted["_Theme1"]
  4391.  
  4392. Converted["_Ignore1"].Name = "Ignore"
  4393. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  4394.  
  4395. Converted["_Element"].Value = "Paragraph"
  4396. Converted["_Element"].Name = "Element"
  4397. Converted["_Element"].Parent = Converted["_3_Paragraph"]
  4398.  
  4399. return Converted["_3_Paragraph"]
  4400. end
  4401.  
  4402. local element = createElement()
  4403.  
  4404. local p = element.Title
  4405. p.Text = info.Content
  4406.  
  4407. element.Name = string.rep("_",elementNum).."Paragraph"
  4408. element.Parent = section.holder.Contents
  4409.  
  4410. return {
  4411. ["Set"] = function(e)
  4412. p.Text = e
  4413. end;
  4414. ["obj"] = p;
  4415. }
  4416. end
  4417. function Element.CreateButton(section,info)
  4418. local _self = section._self
  4419. -- Requirements
  4420. utility:Requirement(type(info)=="table","Info must be a table!")
  4421. utility:Requirement(info.Name,"Missing name argument")
  4422.  
  4423. info.Callback = info.Callback or utility.BlankFunction
  4424.  
  4425. section.elementNum = section.elementNum+1
  4426.  
  4427. local elementNum = section.elementNum
  4428.  
  4429. local function createElement()
  4430. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  4431. local Converted = {
  4432. ["_4_Button"] = Instance.new("Frame");
  4433. ["_UICorner"] = Instance.new("UICorner");
  4434. ["_Image"] = Instance.new("Frame");
  4435. ["_UICorner1"] = Instance.new("UICorner");
  4436. ["_ImageLabel"] = Instance.new("ImageLabel");
  4437. ["_Theme"] = Instance.new("StringValue");
  4438. ["_Category"] = Instance.new("StringValue");
  4439. ["_Ignore"] = Instance.new("BoolValue");
  4440. ["_Title"] = Instance.new("Frame");
  4441. ["_Main"] = Instance.new("Frame");
  4442. ["_Title1"] = Instance.new("TextLabel");
  4443. ["_Theme1"] = Instance.new("StringValue");
  4444. ["_Category1"] = Instance.new("StringValue");
  4445. ["_Ignore1"] = Instance.new("BoolValue");
  4446. ["_Warning"] = Instance.new("ImageLabel");
  4447. ["_Theme2"] = Instance.new("StringValue");
  4448. ["_Category2"] = Instance.new("StringValue");
  4449. ["_Ignore2"] = Instance.new("BoolValue");
  4450. ["_UIListLayout"] = Instance.new("UIListLayout");
  4451. ["_Theme3"] = Instance.new("StringValue");
  4452. ["_Category3"] = Instance.new("StringValue");
  4453. ["_Ignore3"] = Instance.new("BoolValue");
  4454. ["_Shade"] = Instance.new("Frame");
  4455. ["_UICorner2"] = Instance.new("UICorner");
  4456. ["_Theme4"] = Instance.new("StringValue");
  4457. ["_Category4"] = Instance.new("StringValue");
  4458. ["_Ignore4"] = Instance.new("BoolValue");
  4459. ["_Element"] = Instance.new("StringValue");
  4460. }
  4461.  
  4462. --Properties
  4463.  
  4464. Converted["_4_Button"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  4465. Converted["_4_Button"].Size = UDim2.new(1, 0, 0, 35)
  4466. Converted["_4_Button"].Name = "Button"
  4467.  
  4468. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  4469. Converted["_UICorner"].Parent = Converted["_4_Button"]
  4470.  
  4471. Converted["_Image"].AnchorPoint = Vector2.new(0.5, 0.5)
  4472. Converted["_Image"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4473. Converted["_Image"].BackgroundTransparency = 1
  4474. Converted["_Image"].Position = UDim2.new(1, -18, 0.5, 0)
  4475. Converted["_Image"].Size = UDim2.new(0, 24, 0, 24)
  4476. Converted["_Image"].Name = "Image"
  4477. Converted["_Image"].Parent = Converted["_4_Button"]
  4478.  
  4479. Converted["_UICorner1"].CornerRadius = UDim.new(0, 3)
  4480. Converted["_UICorner1"].Parent = Converted["_Image"]
  4481.  
  4482. Converted["_ImageLabel"].Image = "http://www.roblox.com/asset/?id=10967996591"
  4483. Converted["_ImageLabel"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4484. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  4485. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4486. Converted["_ImageLabel"].BackgroundTransparency = 1
  4487. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  4488. Converted["_ImageLabel"].Size = UDim2.new(1, 0, 1, 0)
  4489. Converted["_ImageLabel"].Parent = Converted["_Image"]
  4490.  
  4491. Converted["_Theme"].Value = "ImageColor3"
  4492. Converted["_Theme"].Name = "Theme"
  4493. Converted["_Theme"].Parent = Converted["_ImageLabel"]
  4494.  
  4495. Converted["_Category"].Value = "Symbols"
  4496. Converted["_Category"].Name = "Category"
  4497. Converted["_Category"].Parent = Converted["_Theme"]
  4498.  
  4499. Converted["_Ignore"].Name = "Ignore"
  4500. Converted["_Ignore"].Parent = Converted["_Theme"]
  4501.  
  4502. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  4503. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4504. Converted["_Title"].BackgroundTransparency = 1
  4505. Converted["_Title"].Position = UDim2.new(-0, 9, 0.5, 0)
  4506. Converted["_Title"].Size = UDim2.new(1, -45, 0, 14)
  4507. Converted["_Title"].Name = "Title"
  4508. Converted["_Title"].Parent = Converted["_4_Button"]
  4509.  
  4510. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  4511. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4512. Converted["_Main"].BackgroundTransparency = 1
  4513. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  4514. Converted["_Main"].Name = "Main"
  4515. Converted["_Main"].Parent = Converted["_Title"]
  4516.  
  4517. Converted["_Title1"].Font = Enum.Font.GothamMedium
  4518. Converted["_Title1"].Text = "Button"
  4519. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4520. Converted["_Title1"].TextSize = 14
  4521. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  4522. Converted["_Title1"].TextWrapped = true
  4523. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  4524. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  4525. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4526. Converted["_Title1"].BackgroundTransparency = 1
  4527. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  4528. Converted["_Title1"].Name = "Title"
  4529. Converted["_Title1"].Parent = Converted["_Main"]
  4530.  
  4531. Converted["_Theme1"].Value = "TextColor3"
  4532. Converted["_Theme1"].Name = "Theme"
  4533. Converted["_Theme1"].Parent = Converted["_Title1"]
  4534.  
  4535. Converted["_Category1"].Value = "Symbols"
  4536. Converted["_Category1"].Name = "Category"
  4537. Converted["_Category1"].Parent = Converted["_Theme1"]
  4538.  
  4539. Converted["_Ignore1"].Name = "Ignore"
  4540. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  4541.  
  4542. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  4543. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  4544. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  4545. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4546. Converted["_Warning"].BackgroundTransparency = 1
  4547. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  4548. Converted["_Warning"].Visible = false
  4549. Converted["_Warning"].Name = "Warning"
  4550. Converted["_Warning"].Parent = Converted["_Title"]
  4551.  
  4552. Converted["_Theme2"].Value = "ImageColor3"
  4553. Converted["_Theme2"].Name = "Theme"
  4554. Converted["_Theme2"].Parent = Converted["_Warning"]
  4555.  
  4556. Converted["_Category2"].Value = "Warning"
  4557. Converted["_Category2"].Name = "Category"
  4558. Converted["_Category2"].Parent = Converted["_Theme2"]
  4559.  
  4560. Converted["_Ignore2"].Name = "Ignore"
  4561. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  4562.  
  4563. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  4564. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  4565. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  4566. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  4567. Converted["_UIListLayout"].Parent = Converted["_Title"]
  4568.  
  4569. Converted["_Theme3"].Value = "BackgroundColor3"
  4570. Converted["_Theme3"].Name = "Theme"
  4571. Converted["_Theme3"].Parent = Converted["_4_Button"]
  4572.  
  4573. Converted["_Category3"].Value = "Element"
  4574. Converted["_Category3"].Name = "Category"
  4575. Converted["_Category3"].Parent = Converted["_Theme3"]
  4576.  
  4577. Converted["_Ignore3"].Name = "Ignore"
  4578. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  4579.  
  4580. Converted["_Shade"].BackgroundColor3 = Color3.fromRGB(67.00000360608101, 67.00000360608101, 67.00000360608101)
  4581. Converted["_Shade"].BackgroundTransparency = 1
  4582. Converted["_Shade"].Size = UDim2.new(1, 0, 1, 0)
  4583. Converted["_Shade"].Name = "Shade"
  4584. Converted["_Shade"].Parent = Converted["_4_Button"]
  4585.  
  4586. Converted["_UICorner2"].CornerRadius = UDim.new(0, 4)
  4587. Converted["_UICorner2"].Parent = Converted["_Shade"]
  4588.  
  4589. Converted["_Theme4"].Value = "BackgroundColor3"
  4590. Converted["_Theme4"].Name = "Theme"
  4591. Converted["_Theme4"].Parent = Converted["_Shade"]
  4592.  
  4593. Converted["_Category4"].Value = "Shade"
  4594. Converted["_Category4"].Name = "Category"
  4595. Converted["_Category4"].Parent = Converted["_Theme4"]
  4596.  
  4597. Converted["_Ignore4"].Name = "Ignore"
  4598. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  4599.  
  4600. Converted["_Element"].Value = "Button"
  4601. Converted["_Element"].Name = "Element"
  4602. Converted["_Element"].Parent = Converted["_4_Button"]
  4603.  
  4604. return Converted["_4_Button"]
  4605. end
  4606.  
  4607. local element = createElement()
  4608.  
  4609. do -- button
  4610. local btn = utility:CreateButtonObject(element)
  4611. local shade = element.Shade
  4612. shade.ZIndex = -1
  4613.  
  4614. local goal = 0.9
  4615.  
  4616. btn.Activated:Connect(function()
  4617. utility:DoClickEffect(element)
  4618. coroutine.wrap(info.Callback)()
  4619. end)
  4620.  
  4621. local tweenInfo = TweenInfo.new(0.25,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  4622.  
  4623. local function isMouseHovering()
  4624. local mx,my = mouse.X,mouse.Y
  4625. local ap,as = element.AbsolutePosition,element.AbsoluteSize
  4626. return mx>ap.X and mx<(ap.X+as.X) and my>ap.Y and my<(ap.Y+as.Y)
  4627. end
  4628.  
  4629. local tween
  4630.  
  4631. local con
  4632. local last = nil
  4633. LPH_JIT_MAX(function()
  4634. con = mouse.Move:Connect(function()
  4635. local hovering = isMouseHovering()
  4636.  
  4637. if hovering ~= last then
  4638. pcall(function()
  4639. tween:Disconnect()
  4640. tween:Destroy()
  4641. end)
  4642. tween = TS:Create(shade,tweenInfo,{
  4643. ["BackgroundTransparency"] = hovering and goal or 1
  4644. })
  4645. tween:Play()
  4646. end
  4647.  
  4648. last = hovering
  4649. end)
  4650. end)()
  4651. table.insert(_self._connections,con)
  4652. end
  4653.  
  4654. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  4655. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  4656. if info.Warning then
  4657. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  4658. element.Title.Warning.Visible = true
  4659. local hint = utility:CreateHint()
  4660. hint.Value = info.Warning
  4661. hint.Parent = element.Title.Warning
  4662. end
  4663.  
  4664. element.Title.Main.Title.Text = info.Name
  4665. element.Name = string.rep("_",elementNum)..info.Name
  4666. element.Parent = section.holder.Contents
  4667. end
  4668. function Element.CreateTextBox(section,info)
  4669. local _self = section._self
  4670. -- Requirements
  4671. utility:Requirement(type(info)=="table","Info must be a table!")
  4672. utility:Requirement(info.Name,"Missing name argument")
  4673. utility:Requirement(info.Flag,"Missing flag argument")
  4674.  
  4675. info.Callback = info.Callback or utility.BlankFunction
  4676. info.TabComplete = info.TabComplete or utility.BlankFunction
  4677. info.PlaceholderText = info.PlaceholderText or "No Text"
  4678. info.DefaultText = info.DefaultText or ""
  4679.  
  4680. if info.ClearTextOnFocus==nil then
  4681. info.ClearTextOnFocus = true
  4682. end
  4683.  
  4684. if _self._usedFlags[info.Flag] then
  4685. warn("Flag must have unique name!")
  4686. return
  4687. else
  4688. _self._usedFlags[info.Flag] = true
  4689. end
  4690.  
  4691. _self.Flags[info.Flag] = _self.Flags[info.Flag] or info.DefaultText
  4692.  
  4693. if info.SavingDisabled then
  4694. _self.Flags[info.Flag] = info.DefaultText
  4695. end
  4696.  
  4697. section.elementNum = section.elementNum+1
  4698.  
  4699. local elementNum = section.elementNum
  4700.  
  4701. local function createElement()
  4702. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  4703. local Converted = {
  4704. ["_5_Textbox"] = Instance.new("Frame");
  4705. ["_UICorner"] = Instance.new("UICorner");
  4706. ["_Input"] = Instance.new("Frame");
  4707. ["_Frame"] = Instance.new("Frame");
  4708. ["_UICorner1"] = Instance.new("UICorner");
  4709. ["_TextBox"] = Instance.new("TextBox");
  4710. ["_Theme"] = Instance.new("StringValue");
  4711. ["_Category"] = Instance.new("StringValue");
  4712. ["_Ignore"] = Instance.new("BoolValue");
  4713. ["_Theme1"] = Instance.new("StringValue");
  4714. ["_Category1"] = Instance.new("StringValue");
  4715. ["_Ignore1"] = Instance.new("BoolValue");
  4716. ["_0_padding"] = Instance.new("Frame");
  4717. ["_padding"] = Instance.new("Frame");
  4718. ["_UIListLayout"] = Instance.new("UIListLayout");
  4719. ["_Theme2"] = Instance.new("StringValue");
  4720. ["_Category2"] = Instance.new("StringValue");
  4721. ["_Ignore2"] = Instance.new("BoolValue");
  4722. ["_Title"] = Instance.new("Frame");
  4723. ["_Main"] = Instance.new("Frame");
  4724. ["_Title1"] = Instance.new("TextLabel");
  4725. ["_Theme3"] = Instance.new("StringValue");
  4726. ["_Category3"] = Instance.new("StringValue");
  4727. ["_Ignore3"] = Instance.new("BoolValue");
  4728. ["_Warning"] = Instance.new("ImageLabel");
  4729. ["_Theme4"] = Instance.new("StringValue");
  4730. ["_Category4"] = Instance.new("StringValue");
  4731. ["_Ignore4"] = Instance.new("BoolValue");
  4732. ["_UIListLayout1"] = Instance.new("UIListLayout");
  4733. ["_Theme5"] = Instance.new("StringValue");
  4734. ["_Category5"] = Instance.new("StringValue");
  4735. ["_Ignore5"] = Instance.new("BoolValue");
  4736. ["_Element"] = Instance.new("StringValue");
  4737. }
  4738.  
  4739. --Properties
  4740.  
  4741. Converted["_5_Textbox"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  4742. Converted["_5_Textbox"].Size = UDim2.new(1, 0, 0, 35)
  4743. Converted["_5_Textbox"].Name = "5_Textbox"
  4744.  
  4745. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  4746. Converted["_UICorner"].Parent = Converted["_5_Textbox"]
  4747.  
  4748. Converted["_Input"].AnchorPoint = Vector2.new(1, 0.5)
  4749. Converted["_Input"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4750. Converted["_Input"].BackgroundTransparency = 1
  4751. Converted["_Input"].Position = UDim2.new(1.00000012, -10, 0.5, 0)
  4752. Converted["_Input"].Size = UDim2.new(0.557544649, 1, 0.649999976, 0)
  4753. Converted["_Input"].Name = "Input"
  4754. Converted["_Input"].Parent = Converted["_5_Textbox"]
  4755.  
  4756. Converted["_Frame"].AnchorPoint = Vector2.new(1, 0.5)
  4757. Converted["_Frame"].AutomaticSize = Enum.AutomaticSize.X
  4758. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  4759. Converted["_Frame"].Position = UDim2.new(1, 0, 0.5, 0)
  4760. Converted["_Frame"].Size = UDim2.new(0, 1, 1, 0)
  4761. Converted["_Frame"].Parent = Converted["_Input"]
  4762.  
  4763. Converted["_UICorner1"].CornerRadius = UDim.new(0, 4)
  4764. Converted["_UICorner1"].Parent = Converted["_Frame"]
  4765.  
  4766. Converted["_TextBox"].Font = Enum.Font.Gotham
  4767. Converted["_TextBox"].PlaceholderColor3 = Color3.fromRGB(165.00000536441803, 165.00000536441803, 165.00000536441803)
  4768. Converted["_TextBox"].PlaceholderText = "No Text"
  4769. Converted["_TextBox"].Text = ""
  4770. Converted["_TextBox"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4771. Converted["_TextBox"].TextSize = 14
  4772. Converted["_TextBox"].TextWrapped = true
  4773. Converted["_TextBox"].TextXAlignment = Enum.TextXAlignment.Right
  4774. Converted["_TextBox"].AutomaticSize = Enum.AutomaticSize.X
  4775. Converted["_TextBox"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4776. Converted["_TextBox"].BackgroundTransparency = 1
  4777. Converted["_TextBox"].Size = UDim2.new(0, 1, 1, 0)
  4778. Converted["_TextBox"].Parent = Converted["_Frame"]
  4779.  
  4780. Converted["_Theme"].Value = "TextColor3"
  4781. Converted["_Theme"].Name = "Theme"
  4782. Converted["_Theme"].Parent = Converted["_TextBox"]
  4783.  
  4784. Converted["_Category"].Value = "Symbols"
  4785. Converted["_Category"].Name = "Category"
  4786. Converted["_Category"].Parent = Converted["_Theme"]
  4787.  
  4788. Converted["_Ignore"].Name = "Ignore"
  4789. Converted["_Ignore"].Parent = Converted["_Theme"]
  4790.  
  4791. Converted["_Theme1"].Value = "PlaceholderColor3"
  4792. Converted["_Theme1"].Name = "Theme"
  4793. Converted["_Theme1"].Parent = Converted["_TextBox"]
  4794.  
  4795. Converted["_Category1"].Value = "GreyContrast"
  4796. Converted["_Category1"].Name = "Category"
  4797. Converted["_Category1"].Parent = Converted["_Theme1"]
  4798.  
  4799. Converted["_Ignore1"].Name = "Ignore"
  4800. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  4801.  
  4802. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4803. Converted["_0_padding"].BackgroundTransparency = 1
  4804. Converted["_0_padding"].Size = UDim2.new(0, 1, 1, 0)
  4805. Converted["_0_padding"].Name = "0_padding"
  4806. Converted["_0_padding"].Parent = Converted["_Frame"]
  4807.  
  4808. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4809. Converted["_padding"].BackgroundTransparency = 1
  4810. Converted["_padding"].Size = UDim2.new(0, 1, 1, 0)
  4811. Converted["_padding"].Name = "padding"
  4812. Converted["_padding"].Parent = Converted["_Frame"]
  4813.  
  4814. Converted["_UIListLayout"].Padding = UDim.new(0, 6)
  4815. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  4816. Converted["_UIListLayout"].Parent = Converted["_Frame"]
  4817.  
  4818. Converted["_Theme2"].Value = "BackgroundColor3"
  4819. Converted["_Theme2"].Name = "Theme"
  4820. Converted["_Theme2"].Parent = Converted["_Frame"]
  4821.  
  4822. Converted["_Category2"].Value = "Background"
  4823. Converted["_Category2"].Name = "Category"
  4824. Converted["_Category2"].Parent = Converted["_Theme2"]
  4825.  
  4826. Converted["_Ignore2"].Name = "Ignore"
  4827. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  4828.  
  4829. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  4830. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4831. Converted["_Title"].BackgroundTransparency = 1
  4832. Converted["_Title"].Position = UDim2.new(-0, 9, 0.5, 0)
  4833. Converted["_Title"].Size = UDim2.new(0.442000002, -45, 0, 14)
  4834. Converted["_Title"].Name = "Title"
  4835. Converted["_Title"].Parent = Converted["_5_Textbox"]
  4836.  
  4837. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  4838. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4839. Converted["_Main"].BackgroundTransparency = 1
  4840. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  4841. Converted["_Main"].Name = "Main"
  4842. Converted["_Main"].Parent = Converted["_Title"]
  4843.  
  4844. Converted["_Title1"].Font = Enum.Font.GothamMedium
  4845. Converted["_Title1"].Text = "Textbox Textbox Textbox Textbox Textbox"
  4846. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  4847. Converted["_Title1"].TextSize = 14
  4848. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  4849. Converted["_Title1"].TextWrapped = true
  4850. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  4851. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  4852. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4853. Converted["_Title1"].BackgroundTransparency = 1
  4854. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  4855. Converted["_Title1"].Name = "Title"
  4856. Converted["_Title1"].Parent = Converted["_Main"]
  4857.  
  4858. Converted["_Theme3"].Value = "TextColor3"
  4859. Converted["_Theme3"].Name = "Theme"
  4860. Converted["_Theme3"].Parent = Converted["_Title1"]
  4861.  
  4862. Converted["_Category3"].Value = "Symbols"
  4863. Converted["_Category3"].Name = "Category"
  4864. Converted["_Category3"].Parent = Converted["_Theme3"]
  4865.  
  4866. Converted["_Ignore3"].Name = "Ignore"
  4867. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  4868.  
  4869. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  4870. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  4871. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  4872. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4873. Converted["_Warning"].BackgroundTransparency = 1
  4874. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  4875. Converted["_Warning"].Visible = false
  4876. Converted["_Warning"].Name = "Warning"
  4877. Converted["_Warning"].Parent = Converted["_Title"]
  4878.  
  4879. Converted["_Theme4"].Value = "ImageColor3"
  4880. Converted["_Theme4"].Name = "Theme"
  4881. Converted["_Theme4"].Parent = Converted["_Warning"]
  4882.  
  4883. Converted["_Category4"].Value = "Warning"
  4884. Converted["_Category4"].Name = "Category"
  4885. Converted["_Category4"].Parent = Converted["_Theme4"]
  4886.  
  4887. Converted["_Ignore4"].Name = "Ignore"
  4888. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  4889.  
  4890. Converted["_UIListLayout1"].Padding = UDim.new(0, 2)
  4891. Converted["_UIListLayout1"].FillDirection = Enum.FillDirection.Horizontal
  4892. Converted["_UIListLayout1"].SortOrder = Enum.SortOrder.LayoutOrder
  4893. Converted["_UIListLayout1"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  4894. Converted["_UIListLayout1"].Parent = Converted["_Title"]
  4895.  
  4896. Converted["_Theme5"].Value = "BackgroundColor3"
  4897. Converted["_Theme5"].Name = "Theme"
  4898. Converted["_Theme5"].Parent = Converted["_5_Textbox"]
  4899.  
  4900. Converted["_Category5"].Value = "Element"
  4901. Converted["_Category5"].Name = "Category"
  4902. Converted["_Category5"].Parent = Converted["_Theme5"]
  4903.  
  4904. Converted["_Ignore5"].Name = "Ignore"
  4905. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  4906.  
  4907. Converted["_Element"].Value = "Textbox"
  4908. Converted["_Element"].Name = "Element"
  4909. Converted["_Element"].Parent = Converted["_5_Textbox"]
  4910.  
  4911. return Converted["_5_Textbox"]
  4912. end
  4913.  
  4914. local element = createElement()
  4915.  
  4916. -- textbox
  4917. do
  4918. local textbox = element.Input.Frame.TextBox
  4919.  
  4920. textbox.ClearTextOnFocus = info.ClearTextOnFocus
  4921. textbox.PlaceholderText = info.PlaceholderText
  4922. textbox.Text = _self.Flags[info.Flag]
  4923.  
  4924. textbox.FocusLost:Connect(function(enterPressed)
  4925. local s,r = pcall(function()
  4926. info.Callback(textbox.Text,enterPressed)
  4927. end)
  4928. if not s then
  4929. warn("Callback error: "..r)
  4930. end
  4931. _self.Flags[info.Flag] = textbox.Text
  4932. end)
  4933.  
  4934. table.insert(_self._connections,UIS.InputBegan:Connect(function(input)
  4935. if textbox:IsFocused() and input.UserInputType==Enum.UserInputType.Keyboard and input.KeyCode==Enum.KeyCode.Tab then
  4936. local result
  4937. local s,r = pcall(function()
  4938. result = info.TabComplete(textbox.Text)
  4939. end)
  4940. if not s then
  4941. warn("Error in tab completion function: "..r)
  4942. error()
  4943. elseif (type(r)~="string" and r~=nil) then
  4944. warn("TabComplete function must return a string")
  4945. error()
  4946. end
  4947. local final = string.gsub(string.gsub(string.gsub(result or textbox.Text, "^%s+", ""), "%s+$", ""),"\t","")
  4948. textbox.Text = result or textbox.Text
  4949. textbox:GetPropertyChangedSignal("Text"):Wait()
  4950. textbox.Text = textbox.Text:gsub("\t",""):gsub( '^%s+', '' ):gsub( '%s+$', '' )
  4951. end
  4952. end))
  4953. end
  4954.  
  4955. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  4956. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  4957. if info.Warning then
  4958. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  4959. element.Title.Warning.Visible = true
  4960. local hint = utility:CreateHint()
  4961. hint.Value = info.Warning
  4962. hint.Parent = element.Title.Warning
  4963. end
  4964.  
  4965. element.Title.Main.Title.Text = info.Name
  4966. element.Name = string.rep("_",elementNum)..info.Name
  4967. element.Parent = section.holder.Contents
  4968. end
  4969. function Element.CreateInteractable(section,info)
  4970. local _self = section._self
  4971. -- Requirements
  4972. utility:Requirement(type(info)=="table","Info must be a table!")
  4973. utility:Requirement(info.Name,"Missing name argument")
  4974.  
  4975. info.Callback = info.Callback or utility.BlankFunction
  4976.  
  4977. section.elementNum = section.elementNum+1
  4978.  
  4979. local elementNum = section.elementNum
  4980.  
  4981. local function createElement()
  4982. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  4983. local Converted = {
  4984. ["_6_Interactable"] = Instance.new("Frame");
  4985. ["_UICorner"] = Instance.new("UICorner");
  4986. ["_Interactable"] = Instance.new("Frame");
  4987. ["_Frame"] = Instance.new("Frame");
  4988. ["_UICorner1"] = Instance.new("UICorner");
  4989. ["_0_padding"] = Instance.new("Frame");
  4990. ["_padding"] = Instance.new("Frame");
  4991. ["_UIListLayout"] = Instance.new("UIListLayout");
  4992. ["_Title"] = Instance.new("TextLabel");
  4993. ["_Theme"] = Instance.new("StringValue");
  4994. ["_Category"] = Instance.new("StringValue");
  4995. ["_Ignore"] = Instance.new("BoolValue");
  4996. ["_Theme1"] = Instance.new("StringValue");
  4997. ["_Category1"] = Instance.new("StringValue");
  4998. ["_Ignore1"] = Instance.new("BoolValue");
  4999. ["_Loading"] = Instance.new("Frame");
  5000. ["_UIAspectRatioConstraint"] = Instance.new("UIAspectRatioConstraint");
  5001. ["_Loading1"] = Instance.new("ImageLabel");
  5002. ["_Theme2"] = Instance.new("StringValue");
  5003. ["_Category2"] = Instance.new("StringValue");
  5004. ["_Ignore2"] = Instance.new("BoolValue");
  5005. ["_Title1"] = Instance.new("Frame");
  5006. ["_Main"] = Instance.new("Frame");
  5007. ["_Title2"] = Instance.new("TextLabel");
  5008. ["_Theme3"] = Instance.new("StringValue");
  5009. ["_Category3"] = Instance.new("StringValue");
  5010. ["_Ignore3"] = Instance.new("BoolValue");
  5011. ["_Warning"] = Instance.new("ImageLabel");
  5012. ["_Theme4"] = Instance.new("StringValue");
  5013. ["_Category4"] = Instance.new("StringValue");
  5014. ["_Ignore4"] = Instance.new("BoolValue");
  5015. ["_UIListLayout1"] = Instance.new("UIListLayout");
  5016. ["_Theme5"] = Instance.new("StringValue");
  5017. ["_Category5"] = Instance.new("StringValue");
  5018. ["_Ignore5"] = Instance.new("BoolValue");
  5019. ["_Element"] = Instance.new("StringValue");
  5020. }
  5021.  
  5022. --Properties
  5023.  
  5024. Converted["_6_Interactable"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5025. Converted["_6_Interactable"].Size = UDim2.new(1, 0, 0, 35)
  5026. Converted["_6_Interactable"].Name = "6_Interactable"
  5027.  
  5028. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  5029. Converted["_UICorner"].Parent = Converted["_6_Interactable"]
  5030.  
  5031. Converted["_Interactable"].AnchorPoint = Vector2.new(1, 0.5)
  5032. Converted["_Interactable"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5033. Converted["_Interactable"].BackgroundTransparency = 1
  5034. Converted["_Interactable"].ClipsDescendants = true
  5035. Converted["_Interactable"].Position = UDim2.new(1.00000012, -10, 0.5, 0)
  5036. Converted["_Interactable"].Size = UDim2.new(0.573000014, 0, 0.649999976, 0)
  5037. Converted["_Interactable"].Name = "Interactable"
  5038. Converted["_Interactable"].Parent = Converted["_6_Interactable"]
  5039.  
  5040. Converted["_Frame"].AnchorPoint = Vector2.new(1, 0.5)
  5041. Converted["_Frame"].AutomaticSize = Enum.AutomaticSize.X
  5042. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(164.00000542402267, 53.00000064074993, 90.00000223517418)
  5043. Converted["_Frame"].Position = UDim2.new(1, 0, 0.5, 0)
  5044. Converted["_Frame"].Size = UDim2.new(0, 1, 1, 0)
  5045. Converted["_Frame"].Parent = Converted["_Interactable"]
  5046.  
  5047. Converted["_UICorner1"].CornerRadius = UDim.new(0, 4)
  5048. Converted["_UICorner1"].Parent = Converted["_Frame"]
  5049.  
  5050. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5051. Converted["_0_padding"].BackgroundTransparency = 1
  5052. Converted["_0_padding"].Size = UDim2.new(0, 1, 1, 0)
  5053. Converted["_0_padding"].Name = "0_padding"
  5054. Converted["_0_padding"].Parent = Converted["_Frame"]
  5055.  
  5056. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5057. Converted["_padding"].BackgroundTransparency = 1
  5058. Converted["_padding"].Size = UDim2.new(0, 1, 1, 0)
  5059. Converted["_padding"].Name = "padding"
  5060. Converted["_padding"].Parent = Converted["_Frame"]
  5061.  
  5062. Converted["_UIListLayout"].Padding = UDim.new(0, 6)
  5063. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  5064. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Center
  5065. Converted["_UIListLayout"].Parent = Converted["_Frame"]
  5066.  
  5067. Converted["_Title"].Font = Enum.Font.Gotham
  5068. Converted["_Title"].Text = "Execute"
  5069. Converted["_Title"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5070. Converted["_Title"].TextSize = 14
  5071. Converted["_Title"].AutomaticSize = Enum.AutomaticSize.X
  5072. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5073. Converted["_Title"].BackgroundTransparency = 1
  5074. Converted["_Title"].Size = UDim2.new(0, 1, 1, 0)
  5075. Converted["_Title"].Name = "Title"
  5076. Converted["_Title"].Parent = Converted["_Frame"]
  5077.  
  5078. Converted["_Theme"].Value = "TextColor3"
  5079. Converted["_Theme"].Name = "Theme"
  5080. Converted["_Theme"].Parent = Converted["_Title"]
  5081.  
  5082. Converted["_Category"].Value = "Symbols"
  5083. Converted["_Category"].Name = "Category"
  5084. Converted["_Category"].Parent = Converted["_Theme"]
  5085.  
  5086. Converted["_Ignore"].Name = "Ignore"
  5087. Converted["_Ignore"].Parent = Converted["_Theme"]
  5088.  
  5089. Converted["_Theme1"].Value = "BackgroundColor3"
  5090. Converted["_Theme1"].Name = "Theme"
  5091. Converted["_Theme1"].Parent = Converted["_Frame"]
  5092.  
  5093. Converted["_Category1"].Value = "Main"
  5094. Converted["_Category1"].Name = "Category"
  5095. Converted["_Category1"].Parent = Converted["_Theme1"]
  5096.  
  5097. Converted["_Ignore1"].Name = "Ignore"
  5098. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  5099.  
  5100. Converted["_Loading"].AnchorPoint = Vector2.new(0, 0.5)
  5101. Converted["_Loading"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5102. Converted["_Loading"].BackgroundTransparency = 1
  5103. Converted["_Loading"].Size = UDim2.new(0, 17, 0, 17)
  5104. Converted["_Loading"].Visible = false
  5105. Converted["_Loading"].Name = "Loading"
  5106. Converted["_Loading"].Parent = Converted["_Frame"]
  5107.  
  5108. Converted["_UIAspectRatioConstraint"].Parent = Converted["_Loading"]
  5109.  
  5110. Converted["_Loading1"].Image = "http://www.roblox.com/asset/?id=10262657333"
  5111. Converted["_Loading1"].AnchorPoint = Vector2.new(0.5, 0.5)
  5112. Converted["_Loading1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5113. Converted["_Loading1"].BackgroundTransparency = 1
  5114. Converted["_Loading1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  5115. Converted["_Loading1"].Size = UDim2.new(1, 0, 1, 0)
  5116. Converted["_Loading1"].Name = "Loading"
  5117. Converted["_Loading1"].Parent = Converted["_Loading"]
  5118.  
  5119. Converted["_Theme2"].Value = "ImageColor3"
  5120. Converted["_Theme2"].Name = "Theme"
  5121. Converted["_Theme2"].Parent = Converted["_Loading1"]
  5122.  
  5123. Converted["_Category2"].Value = "SymbolSelect"
  5124. Converted["_Category2"].Name = "Category"
  5125. Converted["_Category2"].Parent = Converted["_Theme2"]
  5126.  
  5127. Converted["_Ignore2"].Name = "Ignore"
  5128. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  5129.  
  5130. Converted["_Title1"].AnchorPoint = Vector2.new(0, 0.5)
  5131. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5132. Converted["_Title1"].BackgroundTransparency = 1
  5133. Converted["_Title1"].Position = UDim2.new(-0, 9, 0.5, 0)
  5134. Converted["_Title1"].Size = UDim2.new(0.453000009, -45, 0, 14)
  5135. Converted["_Title1"].Name = "Title"
  5136. Converted["_Title1"].Parent = Converted["_6_Interactable"]
  5137.  
  5138. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  5139. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5140. Converted["_Main"].BackgroundTransparency = 1
  5141. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  5142. Converted["_Main"].Name = "Main"
  5143. Converted["_Main"].Parent = Converted["_Title1"]
  5144.  
  5145. Converted["_Title2"].Font = Enum.Font.GothamMedium
  5146. Converted["_Title2"].Text = "Interactable"
  5147. Converted["_Title2"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5148. Converted["_Title2"].TextSize = 14
  5149. Converted["_Title2"].TextTruncate = Enum.TextTruncate.AtEnd
  5150. Converted["_Title2"].TextWrapped = true
  5151. Converted["_Title2"].TextXAlignment = Enum.TextXAlignment.Left
  5152. Converted["_Title2"].AutomaticSize = Enum.AutomaticSize.X
  5153. Converted["_Title2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5154. Converted["_Title2"].BackgroundTransparency = 1
  5155. Converted["_Title2"].Size = UDim2.new(0, 1, 1, 0)
  5156. Converted["_Title2"].Name = "Title"
  5157. Converted["_Title2"].Parent = Converted["_Main"]
  5158.  
  5159. Converted["_Theme3"].Value = "TextColor3"
  5160. Converted["_Theme3"].Name = "Theme"
  5161. Converted["_Theme3"].Parent = Converted["_Title2"]
  5162.  
  5163. Converted["_Category3"].Value = "Symbols"
  5164. Converted["_Category3"].Name = "Category"
  5165. Converted["_Category3"].Parent = Converted["_Theme3"]
  5166.  
  5167. Converted["_Ignore3"].Name = "Ignore"
  5168. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  5169.  
  5170. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  5171. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  5172. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  5173. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5174. Converted["_Warning"].BackgroundTransparency = 1
  5175. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  5176. Converted["_Warning"].Visible = false
  5177. Converted["_Warning"].Name = "Warning"
  5178. Converted["_Warning"].Parent = Converted["_Title1"]
  5179.  
  5180. Converted["_Theme4"].Value = "ImageColor3"
  5181. Converted["_Theme4"].Name = "Theme"
  5182. Converted["_Theme4"].Parent = Converted["_Warning"]
  5183.  
  5184. Converted["_Category4"].Value = "Warning"
  5185. Converted["_Category4"].Name = "Category"
  5186. Converted["_Category4"].Parent = Converted["_Theme4"]
  5187.  
  5188. Converted["_Ignore4"].Name = "Ignore"
  5189. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  5190.  
  5191. Converted["_UIListLayout1"].Padding = UDim.new(0, 2)
  5192. Converted["_UIListLayout1"].FillDirection = Enum.FillDirection.Horizontal
  5193. Converted["_UIListLayout1"].SortOrder = Enum.SortOrder.LayoutOrder
  5194. Converted["_UIListLayout1"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  5195. Converted["_UIListLayout1"].Parent = Converted["_Title1"]
  5196.  
  5197. Converted["_Theme5"].Value = "BackgroundColor3"
  5198. Converted["_Theme5"].Name = "Theme"
  5199. Converted["_Theme5"].Parent = Converted["_6_Interactable"]
  5200.  
  5201. Converted["_Category5"].Value = "Element"
  5202. Converted["_Category5"].Name = "Category"
  5203. Converted["_Category5"].Parent = Converted["_Theme5"]
  5204.  
  5205. Converted["_Ignore5"].Name = "Ignore"
  5206. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  5207.  
  5208. Converted["_Element"].Value = "Interactable"
  5209. Converted["_Element"].Name = "Element"
  5210. Converted["_Element"].Parent = Converted["_6_Interactable"]
  5211.  
  5212. return Converted["_6_Interactable"]
  5213. end
  5214.  
  5215. local element = createElement()
  5216. local fr = element.Interactable.Frame
  5217. local color = _self.color
  5218. fr.BackgroundColor3 = color
  5219. fr.Active = true
  5220. local contrast = utility:GetTextContrast(color)
  5221. fr.Title.TextColor3 = contrast
  5222. fr.Title.Text = info.ActionText or "Interact"
  5223. fr.Loading.Loading.ImageColor3 = contrast
  5224.  
  5225. LPH_JIT_MAX(function()
  5226. table.insert(_self._connections,Run.RenderStepped:Connect(function()
  5227. fr.Loading.Loading.Rotation = (os.clock()*550)%360
  5228. end))
  5229. end)()
  5230.  
  5231. do -- interactable
  5232. local btn = fr
  5233.  
  5234. btn.MouseEnter:Connect(function()
  5235. local m = 0.8
  5236. fr.BackgroundColor3 = Color3.new(color.R*m,color.G*m,color.B*m)
  5237. end)
  5238.  
  5239. btn.MouseLeave:Connect(function()
  5240. fr.BackgroundColor3 = color
  5241. end)
  5242.  
  5243. btn.InputBegan:Connect(function(input)
  5244. if input.UserInputType==Enum.UserInputType.MouseButton1 then
  5245. local m = 1.2
  5246. fr.BackgroundColor3 = Color3.new(color.R*m,color.G*m,color.B*m)
  5247. end
  5248. end)
  5249.  
  5250. table.insert(_self._connections,UIS.InputEnded:Connect(function(input)
  5251. if input.UserInputType==Enum.UserInputType.MouseButton1 then
  5252. fr.BackgroundColor3 = color
  5253. end
  5254. end))
  5255.  
  5256. btn.InputEnded:Connect(function(input)
  5257. if input.UserInputType==Enum.UserInputType.MouseButton1 and fr.Loading.Visible==false then
  5258. fr.Loading.Visible = true
  5259. fr.Title.Visible = false
  5260. local s,r = pcall(info.Callback)
  5261. if not s then
  5262. warn("Interactable Callback Error: "..r)
  5263. end
  5264. fr.Loading.Visible = false
  5265. fr.Title.Visible = true
  5266. end
  5267. end)
  5268. end
  5269.  
  5270. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  5271. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  5272. if info.Warning then
  5273. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  5274. element.Title.Warning.Visible = true
  5275. local hint = utility:CreateHint()
  5276. hint.Value = info.Warning
  5277. hint.Parent = element.Title.Warning
  5278. end
  5279.  
  5280. element.Title.Main.Title.Text = info.Name
  5281. element.Name = string.rep("_",elementNum)..info.Name
  5282. element.Parent = section.holder.Contents
  5283. end
  5284. function Element.CreateKeybind(section,info)
  5285. local _self = section._self
  5286. -- Requirements
  5287. utility:Requirement(type(info)=="table","Info must be a table!")
  5288. utility:Requirement(info.Name,"Missing name argument")
  5289. utility:Requirement(info.Flag,"Missing flag argument")
  5290.  
  5291. info.Callback = info.Callback or utility.BlankFunction
  5292. info.KeyPressed = info.KeyPressed or utility.BlankFunction
  5293.  
  5294. if info.Default and type(info.Default)=="string" then
  5295. info.Default = Enum.KeyCode[info.Default]
  5296. end
  5297. info.Default = info.Default or Enum.KeyCode.Unknown
  5298.  
  5299. if _self._usedFlags[info.Flag] then
  5300. warn("Flag must have unique name!")
  5301. return
  5302. else
  5303. _self._usedFlags[info.Flag] = true
  5304. end
  5305.  
  5306. _self.Flags[info.Flag] = _self.Flags[info.Flag] or info.Default
  5307.  
  5308. if info.SavingDisabled then
  5309. _self.Flags[info.Flag] = info.Default
  5310. end
  5311.  
  5312. section.elementNum = section.elementNum+1
  5313.  
  5314. local elementNum = section.elementNum
  5315.  
  5316. local function createElement()
  5317. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  5318. local Converted = {
  5319. ["_7_Keybind"] = Instance.new("Frame");
  5320. ["_UICorner"] = Instance.new("UICorner");
  5321. ["_Frame"] = Instance.new("Frame");
  5322. ["_Frame1"] = Instance.new("Frame");
  5323. ["_UICorner1"] = Instance.new("UICorner");
  5324. ["_0_padding"] = Instance.new("Frame");
  5325. ["_padding"] = Instance.new("Frame");
  5326. ["_UIListLayout"] = Instance.new("UIListLayout");
  5327. ["_Title"] = Instance.new("TextLabel");
  5328. ["_Theme"] = Instance.new("StringValue");
  5329. ["_Category"] = Instance.new("StringValue");
  5330. ["_Ignore"] = Instance.new("BoolValue");
  5331. ["_Symbol"] = Instance.new("ImageLabel");
  5332. ["_UIAspectRatioConstraint"] = Instance.new("UIAspectRatioConstraint");
  5333. ["_Theme1"] = Instance.new("StringValue");
  5334. ["_Category1"] = Instance.new("StringValue");
  5335. ["_Ignore1"] = Instance.new("BoolValue");
  5336. ["_Theme2"] = Instance.new("StringValue");
  5337. ["_Category2"] = Instance.new("StringValue");
  5338. ["_Ignore2"] = Instance.new("BoolValue");
  5339. ["_Title1"] = Instance.new("Frame");
  5340. ["_Main"] = Instance.new("Frame");
  5341. ["_Title2"] = Instance.new("TextLabel");
  5342. ["_Theme3"] = Instance.new("StringValue");
  5343. ["_Category3"] = Instance.new("StringValue");
  5344. ["_Ignore3"] = Instance.new("BoolValue");
  5345. ["_Warning"] = Instance.new("ImageLabel");
  5346. ["_Theme4"] = Instance.new("StringValue");
  5347. ["_Category4"] = Instance.new("StringValue");
  5348. ["_Ignore4"] = Instance.new("BoolValue");
  5349. ["_UIListLayout1"] = Instance.new("UIListLayout");
  5350. ["_Theme5"] = Instance.new("StringValue");
  5351. ["_Category5"] = Instance.new("StringValue");
  5352. ["_Ignore5"] = Instance.new("BoolValue");
  5353. ["_Element"] = Instance.new("StringValue");
  5354. }
  5355.  
  5356. --Properties
  5357.  
  5358. Converted["_7_Keybind"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5359. Converted["_7_Keybind"].Size = UDim2.new(1, 0, 0, 35)
  5360. Converted["_7_Keybind"].Name = "7_Keybind"
  5361. Converted["_7_Keybind"].Parent = game:GetService("CoreGui")
  5362.  
  5363. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  5364. Converted["_UICorner"].Parent = Converted["_7_Keybind"]
  5365.  
  5366. Converted["_Frame"].AnchorPoint = Vector2.new(1, 0.5)
  5367. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5368. Converted["_Frame"].BackgroundTransparency = 1
  5369. Converted["_Frame"].Position = UDim2.new(1.00000012, -10, 0.5, 0)
  5370. Converted["_Frame"].Size = UDim2.new(0.572936594, 1, 0.649999976, 0)
  5371. Converted["_Frame"].Parent = Converted["_7_Keybind"]
  5372.  
  5373. Converted["_Frame1"].AnchorPoint = Vector2.new(1, 0.5)
  5374. Converted["_Frame1"].AutomaticSize = Enum.AutomaticSize.X
  5375. Converted["_Frame1"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  5376. Converted["_Frame1"].Position = UDim2.new(1, 0, 0.5, 0)
  5377. Converted["_Frame1"].Size = UDim2.new(0, 1, 1, 0)
  5378. Converted["_Frame1"].Parent = Converted["_Frame"]
  5379.  
  5380. Converted["_UICorner1"].CornerRadius = UDim.new(0, 4)
  5381. Converted["_UICorner1"].Parent = Converted["_Frame1"]
  5382.  
  5383. Converted["_0_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5384. Converted["_0_padding"].BackgroundTransparency = 1
  5385. Converted["_0_padding"].Size = UDim2.new(0, 1, 1, 0)
  5386. Converted["_0_padding"].Name = "0_padding"
  5387. Converted["_0_padding"].Parent = Converted["_Frame1"]
  5388.  
  5389. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5390. Converted["_padding"].BackgroundTransparency = 1
  5391. Converted["_padding"].Size = UDim2.new(0, 1, 1, 0)
  5392. Converted["_padding"].Name = "padding"
  5393. Converted["_padding"].Parent = Converted["_Frame1"]
  5394.  
  5395. Converted["_UIListLayout"].Padding = UDim.new(0, 5)
  5396. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  5397. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Center
  5398. Converted["_UIListLayout"].Parent = Converted["_Frame1"]
  5399.  
  5400. Converted["_Title"].Font = Enum.Font.Gotham
  5401. Converted["_Title"].Text = "..."
  5402. Converted["_Title"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5403. Converted["_Title"].TextSize = 14
  5404. Converted["_Title"].AutomaticSize = Enum.AutomaticSize.X
  5405. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5406. Converted["_Title"].BackgroundTransparency = 1
  5407. Converted["_Title"].Size = UDim2.new(0, 1, 1, 0)
  5408. Converted["_Title"].Name = "Title"
  5409. Converted["_Title"].Parent = Converted["_Frame1"]
  5410.  
  5411. Converted["_Theme"].Value = "TextColor3"
  5412. Converted["_Theme"].Name = "Theme"
  5413. Converted["_Theme"].Parent = Converted["_Title"]
  5414.  
  5415. Converted["_Category"].Value = "Symbols"
  5416. Converted["_Category"].Name = "Category"
  5417. Converted["_Category"].Parent = Converted["_Theme"]
  5418.  
  5419. Converted["_Ignore"].Name = "Ignore"
  5420. Converted["_Ignore"].Parent = Converted["_Theme"]
  5421.  
  5422. Converted["_Symbol"].Image = "http://www.roblox.com/asset/?id=10298464250"
  5423. Converted["_Symbol"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5424. Converted["_Symbol"].AnchorPoint = Vector2.new(0, 0.5)
  5425. Converted["_Symbol"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5426. Converted["_Symbol"].BackgroundTransparency = 1
  5427. Converted["_Symbol"].Size = UDim2.new(0, 17, 0, 17)
  5428. Converted["_Symbol"].Name = "Symbol"
  5429. Converted["_Symbol"].Parent = Converted["_Frame1"]
  5430.  
  5431. Converted["_UIAspectRatioConstraint"].Parent = Converted["_Symbol"]
  5432.  
  5433. Converted["_Theme1"].Value = "ImageColor3"
  5434. Converted["_Theme1"].Name = "Theme"
  5435. Converted["_Theme1"].Parent = Converted["_Symbol"]
  5436.  
  5437. Converted["_Category1"].Value = "Symbols"
  5438. Converted["_Category1"].Name = "Category"
  5439. Converted["_Category1"].Parent = Converted["_Theme1"]
  5440.  
  5441. Converted["_Ignore1"].Name = "Ignore"
  5442. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  5443.  
  5444. Converted["_Theme2"].Value = "BackgroundColor3"
  5445. Converted["_Theme2"].Name = "Theme"
  5446. Converted["_Theme2"].Parent = Converted["_Frame1"]
  5447.  
  5448. Converted["_Category2"].Value = "Background"
  5449. Converted["_Category2"].Name = "Category"
  5450. Converted["_Category2"].Parent = Converted["_Theme2"]
  5451.  
  5452. Converted["_Ignore2"].Name = "Ignore"
  5453. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  5454.  
  5455. Converted["_Title1"].AnchorPoint = Vector2.new(0, 0.5)
  5456. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5457. Converted["_Title1"].BackgroundTransparency = 1
  5458. Converted["_Title1"].Position = UDim2.new(-0, 9, 0.5, 0)
  5459. Converted["_Title1"].Size = UDim2.new(0.442000002, -45, 0, 14)
  5460. Converted["_Title1"].Name = "Title"
  5461. Converted["_Title1"].Parent = Converted["_7_Keybind"]
  5462.  
  5463. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  5464. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5465. Converted["_Main"].BackgroundTransparency = 1
  5466. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  5467. Converted["_Main"].Name = "Main"
  5468. Converted["_Main"].Parent = Converted["_Title1"]
  5469.  
  5470. Converted["_Title2"].Font = Enum.Font.GothamMedium
  5471. Converted["_Title2"].Text = "Keybind"
  5472. Converted["_Title2"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5473. Converted["_Title2"].TextSize = 14
  5474. Converted["_Title2"].TextTruncate = Enum.TextTruncate.AtEnd
  5475. Converted["_Title2"].TextWrapped = true
  5476. Converted["_Title2"].TextXAlignment = Enum.TextXAlignment.Left
  5477. Converted["_Title2"].AutomaticSize = Enum.AutomaticSize.X
  5478. Converted["_Title2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5479. Converted["_Title2"].BackgroundTransparency = 1
  5480. Converted["_Title2"].Size = UDim2.new(0, 1, 1, 0)
  5481. Converted["_Title2"].Name = "Title"
  5482. Converted["_Title2"].Parent = Converted["_Main"]
  5483.  
  5484. Converted["_Theme3"].Value = "TextColor3"
  5485. Converted["_Theme3"].Name = "Theme"
  5486. Converted["_Theme3"].Parent = Converted["_Title2"]
  5487.  
  5488. Converted["_Category3"].Value = "Symbols"
  5489. Converted["_Category3"].Name = "Category"
  5490. Converted["_Category3"].Parent = Converted["_Theme3"]
  5491.  
  5492. Converted["_Ignore3"].Name = "Ignore"
  5493. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  5494.  
  5495. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  5496. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  5497. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  5498. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5499. Converted["_Warning"].BackgroundTransparency = 1
  5500. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  5501. Converted["_Warning"].Visible = false
  5502. Converted["_Warning"].Name = "Warning"
  5503. Converted["_Warning"].Parent = Converted["_Title1"]
  5504.  
  5505. Converted["_Theme4"].Value = "ImageColor3"
  5506. Converted["_Theme4"].Name = "Theme"
  5507. Converted["_Theme4"].Parent = Converted["_Warning"]
  5508.  
  5509. Converted["_Category4"].Value = "Warning"
  5510. Converted["_Category4"].Name = "Category"
  5511. Converted["_Category4"].Parent = Converted["_Theme4"]
  5512.  
  5513. Converted["_Ignore4"].Name = "Ignore"
  5514. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  5515.  
  5516. Converted["_UIListLayout1"].Padding = UDim.new(0, 2)
  5517. Converted["_UIListLayout1"].FillDirection = Enum.FillDirection.Horizontal
  5518. Converted["_UIListLayout1"].SortOrder = Enum.SortOrder.LayoutOrder
  5519. Converted["_UIListLayout1"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  5520. Converted["_UIListLayout1"].Parent = Converted["_Title1"]
  5521.  
  5522. Converted["_Theme5"].Value = "BackgroundColor3"
  5523. Converted["_Theme5"].Name = "Theme"
  5524. Converted["_Theme5"].Parent = Converted["_7_Keybind"]
  5525.  
  5526. Converted["_Category5"].Value = "Element"
  5527. Converted["_Category5"].Name = "Category"
  5528. Converted["_Category5"].Parent = Converted["_Theme5"]
  5529.  
  5530. Converted["_Ignore5"].Name = "Ignore"
  5531. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  5532.  
  5533. Converted["_Element"].Value = "Keybind"
  5534. Converted["_Element"].Name = "Element"
  5535. Converted["_Element"].Parent = Converted["_7_Keybind"]
  5536.  
  5537. return Converted["_7_Keybind"]
  5538. end
  5539.  
  5540. local element = createElement()
  5541. local fr = element.Frame.Frame
  5542. fr.Active = true
  5543. local key = fr.Title
  5544.  
  5545. do -- keybind
  5546. local listening = false
  5547. local keyLastPressed = nil
  5548. local lastPressed = nil
  5549. table.insert(_self._connections,UIS.InputBegan:Connect(function(input)
  5550. if input.UserInputType==Enum.UserInputType.Keyboard then
  5551. keyLastPressed = input.KeyCode
  5552. lastPressed = os.clock()
  5553. if input.KeyCode == _self.Flags[info.Flag] and input.KeyCode~=Enum.KeyCode.Unknown then
  5554. info.KeyPressed()
  5555. end
  5556. end
  5557. end))
  5558. fr.InputEnded:Connect(function(input)
  5559. if input.UserInputType==Enum.UserInputType.MouseButton1 and listening==false then
  5560. listening = true
  5561. local save = tonumber(lastPressed)
  5562. repeat utility:Wait() until save~=lastPressed
  5563. if keyLastPressed==Enum.KeyCode.Backspace then
  5564. keyLastPressed = Enum.KeyCode.Unknown
  5565. end
  5566. _self.Flags[info.Flag] = keyLastPressed
  5567. listening = false
  5568. info.Callback(keyLastPressed)
  5569. end
  5570. end)
  5571. LPH_JIT_MAX(function()
  5572. table.insert(_self._connections,Run.RenderStepped:Connect(function()
  5573. key.Text = listening and "..." or ((_self.Flags[info.Flag]==nil or _self.Flags[info.Flag].Name=="Unknown") and "None" or _self.Flags[info.Flag].Name)
  5574. end))
  5575. end)()
  5576. end
  5577.  
  5578. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  5579. element.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  5580. if info.Warning then
  5581. element.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  5582. element.Title.Warning.Visible = true
  5583. local hint = utility:CreateHint()
  5584. hint.Value = info.Warning
  5585. hint.Parent = element.Title.Warning
  5586. end
  5587.  
  5588. element.Title.Main.Title.Text = info.Name
  5589. element.Name = string.rep("_",elementNum)..info.Name
  5590. element.Parent = section.holder.Contents
  5591. end
  5592. function Element.CreateDropdown(section,info)
  5593. local _self = section._self
  5594. -- Requirements
  5595. utility:Requirement(type(info)=="table","Info must be a table!")
  5596. utility:Requirement(info.Name,"Missing name argument")
  5597.  
  5598. info.Callback = info.Callback or utility.BlankFunction
  5599. info.Options = info.Options or {}
  5600.  
  5601. if info.ItemSelecting==nil then
  5602. info.ItemSelecting = false
  5603. end
  5604. info.DefaultItemSelected = info.DefaultItemSelected or "None"
  5605.  
  5606. section.elementNum = section.elementNum+1
  5607.  
  5608. local elementNum = section.elementNum
  5609.  
  5610. local function createElement()
  5611. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  5612. local Converted = {
  5613. ["_8_Dropdown"] = Instance.new("Frame");
  5614. ["_Main"] = Instance.new("Frame");
  5615. ["_Arrow"] = Instance.new("ImageLabel");
  5616. ["_Theme"] = Instance.new("StringValue");
  5617. ["_Category"] = Instance.new("StringValue");
  5618. ["_Ignore"] = Instance.new("BoolValue");
  5619. ["_UICorner"] = Instance.new("UICorner");
  5620. ["_Fill"] = Instance.new("Frame");
  5621. ["_Theme1"] = Instance.new("StringValue");
  5622. ["_Category1"] = Instance.new("StringValue");
  5623. ["_Ignore1"] = Instance.new("BoolValue");
  5624. ["_Title"] = Instance.new("Frame");
  5625. ["_Main1"] = Instance.new("Frame");
  5626. ["_Title1"] = Instance.new("TextLabel");
  5627. ["_Theme2"] = Instance.new("StringValue");
  5628. ["_Category2"] = Instance.new("StringValue");
  5629. ["_Ignore2"] = Instance.new("BoolValue");
  5630. ["_Warning"] = Instance.new("ImageLabel");
  5631. ["_Theme3"] = Instance.new("StringValue");
  5632. ["_Category3"] = Instance.new("StringValue");
  5633. ["_Ignore3"] = Instance.new("BoolValue");
  5634. ["_UIListLayout"] = Instance.new("UIListLayout");
  5635. ["_Theme4"] = Instance.new("StringValue");
  5636. ["_Category4"] = Instance.new("StringValue");
  5637. ["_Ignore4"] = Instance.new("BoolValue");
  5638. ["_Secondary"] = Instance.new("Frame");
  5639. ["_ScrollingFrame"] = Instance.new("ScrollingFrame");
  5640. ["_UIListLayout1"] = Instance.new("UIListLayout");
  5641. ["_padding"] = Instance.new("Frame");
  5642. ["_UICorner1"] = Instance.new("UICorner");
  5643. ["_Theme5"] = Instance.new("StringValue");
  5644. ["_Category5"] = Instance.new("StringValue");
  5645. ["_Ignore5"] = Instance.new("BoolValue");
  5646. ["_UIListLayout2"] = Instance.new("UIListLayout");
  5647. ["_Element"] = Instance.new("StringValue");
  5648. }
  5649.  
  5650. --Properties
  5651.  
  5652. Converted["_8_Dropdown"].AutomaticSize = Enum.AutomaticSize.Y
  5653. Converted["_8_Dropdown"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5654. Converted["_8_Dropdown"].BackgroundTransparency = 1
  5655. Converted["_8_Dropdown"].Size = UDim2.new(1, 0, 0, 1)
  5656. Converted["_8_Dropdown"].Name = "8_Dropdown"
  5657. Converted["_8_Dropdown"].Parent = game:GetService("CoreGui")
  5658.  
  5659. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5660. Converted["_Main"].Size = UDim2.new(1, 0, 0, 35)
  5661. Converted["_Main"].Name = "Main"
  5662. Converted["_Main"].Parent = Converted["_8_Dropdown"]
  5663.  
  5664. Converted["_Arrow"].Image = "rbxassetid://10260760054"
  5665. Converted["_Arrow"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5666. Converted["_Arrow"].AnchorPoint = Vector2.new(1, 0.5)
  5667. Converted["_Arrow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5668. Converted["_Arrow"].BackgroundTransparency = 1
  5669. Converted["_Arrow"].Position = UDim2.new(1, -9, 0.5, 0)
  5670. Converted["_Arrow"].Size = UDim2.new(0, 21, 0, 21)
  5671. Converted["_Arrow"].Name = "Arrow"
  5672. Converted["_Arrow"].Parent = Converted["_Main"]
  5673.  
  5674. Converted["_Theme"].Value = "ImageColor3"
  5675. Converted["_Theme"].Name = "Theme"
  5676. Converted["_Theme"].Parent = Converted["_Arrow"]
  5677.  
  5678. Converted["_Category"].Value = "Symbols"
  5679. Converted["_Category"].Name = "Category"
  5680. Converted["_Category"].Parent = Converted["_Theme"]
  5681.  
  5682. Converted["_Ignore"].Name = "Ignore"
  5683. Converted["_Ignore"].Parent = Converted["_Theme"]
  5684.  
  5685. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  5686. Converted["_UICorner"].Parent = Converted["_Main"]
  5687.  
  5688. Converted["_Fill"].AnchorPoint = Vector2.new(0, 0.5)
  5689. Converted["_Fill"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5690. Converted["_Fill"].BorderSizePixel = 0
  5691. Converted["_Fill"].Position = UDim2.new(0, 0, 1, 0)
  5692. Converted["_Fill"].Size = UDim2.new(1, 0, 0, 8)
  5693. Converted["_Fill"].Visible = false
  5694. Converted["_Fill"].ZIndex = 0
  5695. Converted["_Fill"].Name = "Fill"
  5696. Converted["_Fill"].Parent = Converted["_Main"]
  5697.  
  5698. Converted["_Theme1"].Value = "BackgroundColor3"
  5699. Converted["_Theme1"].Name = "Theme"
  5700. Converted["_Theme1"].Parent = Converted["_Fill"]
  5701.  
  5702. Converted["_Category1"].Value = "Element"
  5703. Converted["_Category1"].Name = "Category"
  5704. Converted["_Category1"].Parent = Converted["_Theme1"]
  5705.  
  5706. Converted["_Ignore1"].Name = "Ignore"
  5707. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  5708.  
  5709. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  5710. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5711. Converted["_Title"].BackgroundTransparency = 1
  5712. Converted["_Title"].Position = UDim2.new(-0, 9, 0.5, 0)
  5713. Converted["_Title"].Size = UDim2.new(1, -45, 0, 14)
  5714. Converted["_Title"].Name = "Title"
  5715. Converted["_Title"].Parent = Converted["_Main"]
  5716.  
  5717. Converted["_Main1"].AutomaticSize = Enum.AutomaticSize.X
  5718. Converted["_Main1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5719. Converted["_Main1"].BackgroundTransparency = 1
  5720. Converted["_Main1"].Size = UDim2.new(0, 1, 1, 0)
  5721. Converted["_Main1"].Name = "Main"
  5722. Converted["_Main1"].Parent = Converted["_Title"]
  5723.  
  5724. Converted["_Title1"].Font = Enum.Font.GothamMedium
  5725. Converted["_Title1"].Text = "Dropdown"
  5726. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5727. Converted["_Title1"].TextSize = 14
  5728. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  5729. Converted["_Title1"].TextWrapped = true
  5730. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  5731. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  5732. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5733. Converted["_Title1"].BackgroundTransparency = 1
  5734. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  5735. Converted["_Title1"].Name = "Title"
  5736. Converted["_Title1"].Parent = Converted["_Main1"]
  5737.  
  5738. Converted["_Theme2"].Value = "TextColor3"
  5739. Converted["_Theme2"].Name = "Theme"
  5740. Converted["_Theme2"].Parent = Converted["_Title1"]
  5741.  
  5742. Converted["_Category2"].Value = "Symbols"
  5743. Converted["_Category2"].Name = "Category"
  5744. Converted["_Category2"].Parent = Converted["_Theme2"]
  5745.  
  5746. Converted["_Ignore2"].Name = "Ignore"
  5747. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  5748.  
  5749. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  5750. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  5751. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  5752. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5753. Converted["_Warning"].BackgroundTransparency = 1
  5754. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  5755. Converted["_Warning"].Visible = false
  5756. Converted["_Warning"].Name = "Warning"
  5757. Converted["_Warning"].Parent = Converted["_Title"]
  5758.  
  5759. Converted["_Theme3"].Value = "ImageColor3"
  5760. Converted["_Theme3"].Name = "Theme"
  5761. Converted["_Theme3"].Parent = Converted["_Warning"]
  5762.  
  5763. Converted["_Category3"].Value = "Warning"
  5764. Converted["_Category3"].Name = "Category"
  5765. Converted["_Category3"].Parent = Converted["_Theme3"]
  5766.  
  5767. Converted["_Ignore3"].Name = "Ignore"
  5768. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  5769.  
  5770. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  5771. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  5772. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  5773. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  5774. Converted["_UIListLayout"].Parent = Converted["_Title"]
  5775.  
  5776. Converted["_Theme4"].Value = "BackgroundColor3"
  5777. Converted["_Theme4"].Name = "Theme"
  5778. Converted["_Theme4"].Parent = Converted["_Main"]
  5779.  
  5780. Converted["_Category4"].Value = "Element"
  5781. Converted["_Category4"].Name = "Category"
  5782. Converted["_Category4"].Parent = Converted["_Theme4"]
  5783.  
  5784. Converted["_Ignore4"].Name = "Ignore"
  5785. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  5786.  
  5787. Converted["_Secondary"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  5788. Converted["_Secondary"].BorderSizePixel = 0
  5789. Converted["_Secondary"].ClipsDescendants = true
  5790. Converted["_Secondary"].Position = UDim2.new(0, 0, 0, 35)
  5791. Converted["_Secondary"].Size = UDim2.new(1, 0, 0, 118)
  5792. Converted["_Secondary"].Visible = false
  5793. Converted["_Secondary"].Name = "Secondary"
  5794. Converted["_Secondary"].Parent = Converted["_8_Dropdown"]
  5795.  
  5796. Converted["_ScrollingFrame"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  5797. Converted["_ScrollingFrame"].CanvasSize = UDim2.new(0, 0, 0, 1)
  5798. Converted["_ScrollingFrame"].ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  5799. Converted["_ScrollingFrame"].ScrollBarThickness = 0
  5800. Converted["_ScrollingFrame"].Active = true
  5801. Converted["_ScrollingFrame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5802. Converted["_ScrollingFrame"].BackgroundTransparency = 1
  5803. Converted["_ScrollingFrame"].Size = UDim2.new(1, 0, 0, 117)
  5804. Converted["_ScrollingFrame"].Parent = Converted["_Secondary"]
  5805.  
  5806. Converted["_UIListLayout1"].Padding = UDim.new(0, 4)
  5807. Converted["_UIListLayout1"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  5808. Converted["_UIListLayout1"].Parent = Converted["_ScrollingFrame"]
  5809.  
  5810. Converted["_padding"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5811. Converted["_padding"].BackgroundTransparency = 1
  5812. Converted["_padding"].Size = UDim2.new(1, 0, 0, 0)
  5813. Converted["_padding"].Name = "padding"
  5814. Converted["_padding"].Parent = Converted["_ScrollingFrame"]
  5815.  
  5816. Converted["_UICorner1"].CornerRadius = UDim.new(0, 4)
  5817. Converted["_UICorner1"].Parent = Converted["_Secondary"]
  5818.  
  5819. Converted["_Theme5"].Value = "BackgroundColor3"
  5820. Converted["_Theme5"].Name = "Theme"
  5821. Converted["_Theme5"].Parent = Converted["_Secondary"]
  5822.  
  5823. Converted["_Category5"].Value = "Element"
  5824. Converted["_Category5"].Name = "Category"
  5825. Converted["_Category5"].Parent = Converted["_Theme5"]
  5826.  
  5827. Converted["_Ignore5"].Name = "Ignore"
  5828. Converted["_Ignore5"].Parent = Converted["_Theme5"]
  5829.  
  5830. Converted["_UIListLayout2"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  5831. Converted["_UIListLayout2"].Parent = Converted["_8_Dropdown"]
  5832.  
  5833. Converted["_Element"].Value = "Dropdown"
  5834. Converted["_Element"].Name = "Element"
  5835. Converted["_Element"].Parent = Converted["_8_Dropdown"]
  5836.  
  5837. return Converted["_8_Dropdown"]
  5838. end
  5839.  
  5840. local element = createElement()
  5841.  
  5842. local isOpen,closeDropdown do -- dropdown
  5843. local open = false
  5844. local tween1 = nil
  5845. local tween2
  5846.  
  5847. local openProperty = UDim2.new(1, 0, 0, 118)
  5848. local closeProperty = UDim2.new(1, 0, 0, 0)
  5849.  
  5850. local tweenInfo = TweenInfo.new(0.25,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  5851.  
  5852. element.Secondary.Visible = false
  5853.  
  5854. local function toggleDropdown()
  5855. open = not open
  5856. pcall(function()
  5857. tween1:Cancel()
  5858. tween1:Destroy()
  5859. tween2:Cancel()
  5860. tween2:Destroy()
  5861. end)
  5862. if open then
  5863. element.Main.Fill.Visible = true
  5864. element.Secondary.Visible = true
  5865. element.Secondary.Size = closeProperty
  5866. end
  5867. tween1 = TS:Create(element.Secondary,tweenInfo,{
  5868. ["Size"] = open and openProperty or closeProperty
  5869. })
  5870. tween2 = TS:Create(element.Main.Arrow,tweenInfo,{
  5871. ["Rotation"] = open and 180 or 0
  5872. })
  5873. if not open then
  5874. tween1.Completed:Connect(function(p)
  5875. if p==Enum.PlaybackState.Completed then
  5876. element.Main.Fill.Visible = false
  5877. element.Secondary.Visible = false
  5878. end
  5879. end)
  5880. end
  5881. tween1:Play()
  5882. tween2:Play()
  5883. end
  5884.  
  5885. function isOpen()
  5886. return open
  5887. end
  5888.  
  5889. function closeDropdown()
  5890. if open then toggleDropdown() end
  5891. end
  5892.  
  5893. local btn = utility:CreateButtonObject(element.Main)
  5894.  
  5895. btn.Activated:Connect(toggleDropdown)
  5896. end
  5897.  
  5898. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  5899. element.Main.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  5900. if info.Warning then
  5901. element.Main.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  5902. element.Main.Title.Warning.Visible = true
  5903. local hint = utility:CreateHint()
  5904. hint.Value = info.Warning
  5905. hint.Parent = element.Main.Title.Warning
  5906. end
  5907.  
  5908. element.Main.Title.Main.Title.Text = info.Name .. (info.ItemSelecting and (": "..info.DefaultItemSelected) or "")
  5909. element.Name = string.rep("_",elementNum)..info.Name
  5910. element.Parent = section.holder.Contents
  5911.  
  5912. local scroll = element.Secondary.ScrollingFrame
  5913. local function makeButton(func)
  5914. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  5915. local Converted = {
  5916. ["_1_button"] = Instance.new("Frame");
  5917. ["_UICorner"] = Instance.new("UICorner");
  5918. ["_Image"] = Instance.new("Frame");
  5919. ["_UICorner1"] = Instance.new("UICorner");
  5920. ["_ImageLabel"] = Instance.new("ImageLabel");
  5921. ["_Theme"] = Instance.new("StringValue");
  5922. ["_Category"] = Instance.new("StringValue");
  5923. ["_Ignore"] = Instance.new("BoolValue");
  5924. ["_Title"] = Instance.new("Frame");
  5925. ["_Main"] = Instance.new("Frame");
  5926. ["_Title1"] = Instance.new("TextLabel");
  5927. ["_Theme1"] = Instance.new("StringValue");
  5928. ["_Category1"] = Instance.new("StringValue");
  5929. ["_Ignore1"] = Instance.new("BoolValue");
  5930. ["_Warning"] = Instance.new("ImageLabel");
  5931. ["_Theme2"] = Instance.new("StringValue");
  5932. ["_Category2"] = Instance.new("StringValue");
  5933. ["_Ignore2"] = Instance.new("BoolValue");
  5934. ["_UIListLayout"] = Instance.new("UIListLayout");
  5935. ["_Shade"] = Instance.new("Frame");
  5936. ["_UICorner2"] = Instance.new("UICorner");
  5937. ["_Theme3"] = Instance.new("StringValue");
  5938. ["_Category3"] = Instance.new("StringValue");
  5939. ["_Ignore3"] = Instance.new("BoolValue");
  5940. ["_Theme4"] = Instance.new("StringValue");
  5941. ["_Category4"] = Instance.new("StringValue");
  5942. ["_Ignore4"] = Instance.new("BoolValue");
  5943. }
  5944.  
  5945. --Properties
  5946.  
  5947. Converted["_1_button"].BackgroundColor3 = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  5948. Converted["_1_button"].Size = UDim2.new(0.970000029, 0, 0, 35)
  5949. Converted["_1_button"].Name = "1_button"
  5950.  
  5951. Converted["_UICorner"].CornerRadius = UDim.new(0, 5)
  5952. Converted["_UICorner"].Parent = Converted["_1_button"]
  5953.  
  5954. Converted["_Image"].AnchorPoint = Vector2.new(0.5, 0.5)
  5955. Converted["_Image"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5956. Converted["_Image"].BackgroundTransparency = 1
  5957. Converted["_Image"].Position = UDim2.new(1, -18, 0.5, 0)
  5958. Converted["_Image"].Size = UDim2.new(0, 24, 0, 24)
  5959. Converted["_Image"].Name = "Image"
  5960. Converted["_Image"].Parent = Converted["_1_button"]
  5961.  
  5962. Converted["_UICorner1"].CornerRadius = UDim.new(0, 3)
  5963. Converted["_UICorner1"].Parent = Converted["_Image"]
  5964.  
  5965. Converted["_ImageLabel"].Image = "http://www.roblox.com/asset/?id=10967996591"
  5966. Converted["_ImageLabel"].ImageColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  5967. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  5968. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5969. Converted["_ImageLabel"].BackgroundTransparency = 1
  5970. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  5971. Converted["_ImageLabel"].Size = UDim2.new(1, 0, 1, 0)
  5972. Converted["_ImageLabel"].Parent = Converted["_Image"]
  5973.  
  5974. Converted["_Theme"].Value = "ImageColor3"
  5975. Converted["_Theme"].Name = "Theme"
  5976. Converted["_Theme"].Parent = Converted["_ImageLabel"]
  5977.  
  5978. Converted["_Category"].Value = "Symbols"
  5979. Converted["_Category"].Name = "Category"
  5980. Converted["_Category"].Parent = Converted["_Theme"]
  5981.  
  5982. Converted["_Ignore"].Name = "Ignore"
  5983. Converted["_Ignore"].Parent = Converted["_Theme"]
  5984.  
  5985. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  5986. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5987. Converted["_Title"].BackgroundTransparency = 1
  5988. Converted["_Title"].Position = UDim2.new(-0, 9, 0.5, 0)
  5989. Converted["_Title"].Size = UDim2.new(1, -45, 0, 14)
  5990. Converted["_Title"].Name = "Title"
  5991. Converted["_Title"].Parent = Converted["_1_button"]
  5992.  
  5993. Converted["_Main"].AutomaticSize = Enum.AutomaticSize.X
  5994. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  5995. Converted["_Main"].BackgroundTransparency = 1
  5996. Converted["_Main"].Size = UDim2.new(0, 1, 1, 0)
  5997. Converted["_Main"].Name = "Main"
  5998. Converted["_Main"].Parent = Converted["_Title"]
  5999.  
  6000. Converted["_Title1"].Font = Enum.Font.GothamMedium
  6001. Converted["_Title1"].Text = "Button"
  6002. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  6003. Converted["_Title1"].TextSize = 14
  6004. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  6005. Converted["_Title1"].TextWrapped = true
  6006. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  6007. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  6008. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6009. Converted["_Title1"].BackgroundTransparency = 1
  6010. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  6011. Converted["_Title1"].Name = "Title"
  6012. Converted["_Title1"].Parent = Converted["_Main"]
  6013.  
  6014. Converted["_Theme1"].Value = "TextColor3"
  6015. Converted["_Theme1"].Name = "Theme"
  6016. Converted["_Theme1"].Parent = Converted["_Title1"]
  6017.  
  6018. Converted["_Category1"].Value = "Symbols"
  6019. Converted["_Category1"].Name = "Category"
  6020. Converted["_Category1"].Parent = Converted["_Theme1"]
  6021.  
  6022. Converted["_Ignore1"].Name = "Ignore"
  6023. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  6024.  
  6025. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  6026. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  6027. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  6028. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6029. Converted["_Warning"].BackgroundTransparency = 1
  6030. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  6031. Converted["_Warning"].Visible = false
  6032. Converted["_Warning"].Name = "Warning"
  6033. Converted["_Warning"].Parent = Converted["_Title"]
  6034.  
  6035. Converted["_Theme2"].Value = "ImageColor3"
  6036. Converted["_Theme2"].Name = "Theme"
  6037. Converted["_Theme2"].Parent = Converted["_Warning"]
  6038.  
  6039. Converted["_Category2"].Value = "Warning"
  6040. Converted["_Category2"].Name = "Category"
  6041. Converted["_Category2"].Parent = Converted["_Theme2"]
  6042.  
  6043. Converted["_Ignore2"].Name = "Ignore"
  6044. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  6045.  
  6046. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  6047. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  6048. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  6049. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  6050. Converted["_UIListLayout"].Parent = Converted["_Title"]
  6051.  
  6052. Converted["_Shade"].BackgroundColor3 = Color3.fromRGB(67.00000360608101, 67.00000360608101, 67.00000360608101)
  6053. Converted["_Shade"].BackgroundTransparency = 1
  6054. Converted["_Shade"].Size = UDim2.new(1, 0, 1, 0)
  6055. Converted["_Shade"].Name = "Shade"
  6056. Converted["_Shade"].Parent = Converted["_1_button"]
  6057.  
  6058. Converted["_UICorner2"].CornerRadius = UDim.new(0, 4)
  6059. Converted["_UICorner2"].Parent = Converted["_Shade"]
  6060.  
  6061. Converted["_Theme3"].Value = "BackgroundColor3"
  6062. Converted["_Theme3"].Name = "Theme"
  6063. Converted["_Theme3"].Parent = Converted["_Shade"]
  6064.  
  6065. Converted["_Category3"].Value = "Shade"
  6066. Converted["_Category3"].Name = "Category"
  6067. Converted["_Category3"].Parent = Converted["_Theme3"]
  6068.  
  6069. Converted["_Ignore3"].Name = "Ignore"
  6070. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  6071.  
  6072. Converted["_Theme4"].Value = "BackgroundColor3"
  6073. Converted["_Theme4"].Name = "Theme"
  6074. Converted["_Theme4"].Parent = Converted["_1_button"]
  6075.  
  6076. Converted["_Category4"].Value = "Background"
  6077. Converted["_Category4"].Name = "Category"
  6078. Converted["_Category4"].Parent = Converted["_Theme4"]
  6079.  
  6080. Converted["_Ignore4"].Name = "Ignore"
  6081. Converted["_Ignore4"].Parent = Converted["_Theme4"]
  6082.  
  6083. do -- button
  6084. local element = Converted["_1_button"]
  6085. local btn = utility:CreateButtonObject(element)
  6086. local shade = element.Shade
  6087. shade.ZIndex = -1
  6088.  
  6089. local goal = 0.95
  6090.  
  6091. btn.Activated:Connect(function()
  6092. utility:DoClickEffect(element)
  6093. coroutine.wrap(func)(element)
  6094. end)
  6095.  
  6096. local tweenInfo = TweenInfo.new(0.25,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  6097.  
  6098. local function isMouseHovering()
  6099. local mx,my = mouse.X,mouse.Y
  6100. local ap,as = element.AbsolutePosition,element.AbsoluteSize
  6101. return mx>ap.X and mx<(ap.X+as.X) and my>ap.Y and my<(ap.Y+as.Y)
  6102. end
  6103.  
  6104. local tween
  6105.  
  6106. local con
  6107. local last = nil
  6108. LPH_JIT_MAX(function()
  6109. con = mouse.Move:Connect(function()
  6110. local hovering = isMouseHovering()
  6111.  
  6112. if hovering ~= last then
  6113. pcall(function()
  6114. tween:Disconnect()
  6115. tween:Destroy()
  6116. end)
  6117. tween = TS:Create(shade,tweenInfo,{
  6118. ["BackgroundTransparency"] = hovering and goal or 1
  6119. })
  6120. tween:Play()
  6121. end
  6122.  
  6123. last = hovering
  6124. end)
  6125. end)()
  6126. element.Destroying:Connect(function()
  6127. con:Disconnect()
  6128. end)
  6129. return element
  6130. end
  6131. end
  6132. local function getFrameChildren()
  6133. local i = {}
  6134. for _,v in ipairs(scroll:GetChildren()) do
  6135. if v:IsA("Frame") and v.Name ~= "padding" then
  6136. table.insert(i,v)
  6137. end
  6138. end
  6139. return i
  6140. end
  6141. local function update(tbl)
  6142. local children = getFrameChildren()
  6143. local existing = #children -- ui layout
  6144. local deficit = (#tbl)-existing
  6145.  
  6146. if deficit>0 then
  6147. for _=1,deficit do
  6148. makeButton(function(obj)
  6149. if isOpen() then
  6150. local txt = obj.Title.Main.Title.Text
  6151. coroutine.wrap(info.Callback)(txt)
  6152. if info.ItemSelecting then
  6153. closeDropdown()
  6154. element.Main.Title.Main.Title.Text = info.Name .. (info.ItemSelecting and (": "..txt) or "")
  6155. end
  6156. end
  6157. end).Parent = scroll
  6158. end
  6159. elseif deficit<0 then
  6160. for i=1,-deficit do
  6161. children[i]:Destroy()
  6162. end
  6163. end
  6164.  
  6165. children = getFrameChildren()
  6166.  
  6167. for i,v in ipairs(tbl) do
  6168. local obj = children[i]
  6169. obj.Name = string.rep("!",i)
  6170. obj.Title.Warning.Visible = false -- disabled for now because I don't remember why I included this in the first place
  6171. obj.Title.Main.Title.Text = v or ""
  6172. end
  6173. end
  6174. update(info.Options)
  6175. return {
  6176. ["Update"] = function(self,...)
  6177. return update(...)
  6178. end
  6179. }
  6180. end
  6181. function Element.CreateColorPicker(section,info)
  6182. local _self = section._self
  6183. -- Requirements
  6184. utility:Requirement(type(info)=="table","Info must be a table!")
  6185. utility:Requirement(info.Name,"Missing name argument")
  6186. utility:Requirement(info.Flag,"Missing flag argument")
  6187.  
  6188. info.Callback = info.Callback or utility.BlankFunction
  6189. _self.Flags[info.Flag] = _self.Flags[info.Flag] or info.Default or Color3.new(1,1,1)
  6190.  
  6191. if info.SavingDisabled then
  6192. _self.Flags[info.Flag] = info.Default
  6193. end
  6194.  
  6195. section.elementNum = section.elementNum+1
  6196.  
  6197. local elementNum = section.elementNum
  6198.  
  6199. local function createElement()
  6200. -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
  6201. local Converted = {
  6202. ["_9_ColorPicker"] = Instance.new("Frame");
  6203. ["_Main"] = Instance.new("Frame");
  6204. ["_UICorner"] = Instance.new("UICorner");
  6205. ["_Fill"] = Instance.new("Frame");
  6206. ["_Theme"] = Instance.new("StringValue");
  6207. ["_Category"] = Instance.new("StringValue");
  6208. ["_Ignore"] = Instance.new("BoolValue");
  6209. ["_CurrentColor"] = Instance.new("Frame");
  6210. ["_UICorner1"] = Instance.new("UICorner");
  6211. ["_ImageLabel"] = Instance.new("ImageLabel");
  6212. ["_UICorner2"] = Instance.new("UICorner");
  6213. ["_UIAspectRatioConstraint"] = Instance.new("UIAspectRatioConstraint");
  6214. ["_UIStroke"] = Instance.new("UIStroke");
  6215. ["_Title"] = Instance.new("Frame");
  6216. ["_Main1"] = Instance.new("Frame");
  6217. ["_Title1"] = Instance.new("TextLabel");
  6218. ["_Theme1"] = Instance.new("StringValue");
  6219. ["_Category1"] = Instance.new("StringValue");
  6220. ["_Ignore1"] = Instance.new("BoolValue");
  6221. ["_Warning"] = Instance.new("ImageLabel");
  6222. ["_Theme2"] = Instance.new("StringValue");
  6223. ["_Category2"] = Instance.new("StringValue");
  6224. ["_Ignore2"] = Instance.new("BoolValue");
  6225. ["_UIListLayout"] = Instance.new("UIListLayout");
  6226. ["_Theme3"] = Instance.new("StringValue");
  6227. ["_Category3"] = Instance.new("StringValue");
  6228. ["_Ignore3"] = Instance.new("BoolValue");
  6229. ["_Secondary"] = Instance.new("Frame");
  6230. ["_UICorner3"] = Instance.new("UICorner");
  6231. ["_Frame"] = Instance.new("Frame");
  6232. ["_Frame1"] = Instance.new("Frame");
  6233. ["_Frame2"] = Instance.new("Frame");
  6234. ["_Second"] = Instance.new("Frame");
  6235. ["_UICorner4"] = Instance.new("UICorner");
  6236. ["_UIGradient"] = Instance.new("UIGradient");
  6237. ["_Black"] = Instance.new("Frame");
  6238. ["_UIGradient1"] = Instance.new("UIGradient");
  6239. ["_UICorner5"] = Instance.new("UICorner");
  6240. ["_Frame3"] = Instance.new("Frame");
  6241. ["_ImageLabel1"] = Instance.new("ImageLabel");
  6242. ["_Button"] = Instance.new("TextButton");
  6243. ["_Rainbow"] = Instance.new("Frame");
  6244. ["_Rainbow1"] = Instance.new("UIGradient");
  6245. ["_UICorner6"] = Instance.new("UICorner");
  6246. ["_Frame4"] = Instance.new("Frame");
  6247. ["_UICorner7"] = Instance.new("UICorner");
  6248. ["_ImageLabel2"] = Instance.new("ImageLabel");
  6249. ["_UIAspectRatioConstraint1"] = Instance.new("UIAspectRatioConstraint");
  6250. ["_Button1"] = Instance.new("TextButton");
  6251. ["_UIAspectRatioConstraint2"] = Instance.new("UIAspectRatioConstraint");
  6252. ["_UIListLayout1"] = Instance.new("UIListLayout");
  6253. ["_Element"] = Instance.new("StringValue");
  6254. }
  6255.  
  6256. --Properties
  6257.  
  6258. Converted["_9_ColorPicker"].AutomaticSize = Enum.AutomaticSize.Y
  6259. Converted["_9_ColorPicker"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  6260. Converted["_9_ColorPicker"].BackgroundTransparency = 1
  6261. Converted["_9_ColorPicker"].Size = UDim2.new(1, 0, 0, 1)
  6262. Converted["_9_ColorPicker"].Name = "9_ColorPicker"
  6263.  
  6264. Converted["_Main"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  6265. Converted["_Main"].Size = UDim2.new(1, 0, 0, 35)
  6266. Converted["_Main"].Name = "Main"
  6267. Converted["_Main"].Parent = Converted["_9_ColorPicker"]
  6268.  
  6269. Converted["_UICorner"].CornerRadius = UDim.new(0, 4)
  6270. Converted["_UICorner"].Parent = Converted["_Main"]
  6271.  
  6272. Converted["_Fill"].AnchorPoint = Vector2.new(0, 0.5)
  6273. Converted["_Fill"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  6274. Converted["_Fill"].BorderSizePixel = 0
  6275. Converted["_Fill"].Position = UDim2.new(0, 0, 1, 0)
  6276. Converted["_Fill"].Size = UDim2.new(1, 0, 0, 8)
  6277. Converted["_Fill"].Visible = false
  6278. Converted["_Fill"].ZIndex = 0
  6279. Converted["_Fill"].Name = "Fill"
  6280. Converted["_Fill"].Parent = Converted["_Main"]
  6281.  
  6282. Converted["_Theme"].Value = "BackgroundColor3"
  6283. Converted["_Theme"].Name = "Theme"
  6284. Converted["_Theme"].Parent = Converted["_Fill"]
  6285.  
  6286. Converted["_Category"].Value = "Element"
  6287. Converted["_Category"].Name = "Category"
  6288. Converted["_Category"].Parent = Converted["_Theme"]
  6289.  
  6290. Converted["_Ignore"].Name = "Ignore"
  6291. Converted["_Ignore"].Parent = Converted["_Theme"]
  6292.  
  6293. Converted["_CurrentColor"].AnchorPoint = Vector2.new(1, 0.5)
  6294. Converted["_CurrentColor"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  6295. Converted["_CurrentColor"].Position = UDim2.new(1, -10, 0.5, 0)
  6296. Converted["_CurrentColor"].Size = UDim2.new(0, 40, 0, 20)
  6297. Converted["_CurrentColor"].Name = "CurrentColor"
  6298. Converted["_CurrentColor"].Parent = Converted["_Main"]
  6299.  
  6300. Converted["_UICorner1"].CornerRadius = UDim.new(0, 7)
  6301. Converted["_UICorner1"].Parent = Converted["_CurrentColor"]
  6302.  
  6303. Converted["_ImageLabel"].Image = "rbxassetid://10968541736"
  6304. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  6305. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6306. Converted["_ImageLabel"].BackgroundTransparency = 1
  6307. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  6308. Converted["_ImageLabel"].Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  6309. Converted["_ImageLabel"].Visible = false
  6310. Converted["_ImageLabel"].ZIndex = 3
  6311. Converted["_ImageLabel"].Parent = Converted["_CurrentColor"]
  6312.  
  6313. Converted["_UICorner2"].Parent = Converted["_ImageLabel"]
  6314.  
  6315. Converted["_UIAspectRatioConstraint"].Parent = Converted["_ImageLabel"]
  6316.  
  6317. Converted["_UIStroke"].Color = Color3.fromRGB(18.000000827014446, 18.000000827014446, 18.000000827014446)
  6318. Converted["_UIStroke"].Parent = Converted["_CurrentColor"]
  6319.  
  6320. Converted["_Title"].AnchorPoint = Vector2.new(0, 0.5)
  6321. Converted["_Title"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6322. Converted["_Title"].BackgroundTransparency = 1
  6323. Converted["_Title"].Position = UDim2.new(-0, 9, 0.5, 0)
  6324. Converted["_Title"].Size = UDim2.new(0.936999977, -45, 0, 14)
  6325. Converted["_Title"].Name = "Title"
  6326. Converted["_Title"].Parent = Converted["_Main"]
  6327.  
  6328. Converted["_Main1"].AutomaticSize = Enum.AutomaticSize.X
  6329. Converted["_Main1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6330. Converted["_Main1"].BackgroundTransparency = 1
  6331. Converted["_Main1"].Size = UDim2.new(0, 1, 1, 0)
  6332. Converted["_Main1"].Name = "Main"
  6333. Converted["_Main1"].Parent = Converted["_Title"]
  6334.  
  6335. Converted["_Title1"].Font = Enum.Font.GothamMedium
  6336. Converted["_Title1"].Text = "Color Picker"
  6337. Converted["_Title1"].TextColor3 = Color3.fromRGB(225.00000178813934, 225.00000178813934, 225.00000178813934)
  6338. Converted["_Title1"].TextSize = 14
  6339. Converted["_Title1"].TextTruncate = Enum.TextTruncate.AtEnd
  6340. Converted["_Title1"].TextWrapped = true
  6341. Converted["_Title1"].TextXAlignment = Enum.TextXAlignment.Left
  6342. Converted["_Title1"].AutomaticSize = Enum.AutomaticSize.X
  6343. Converted["_Title1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6344. Converted["_Title1"].BackgroundTransparency = 1
  6345. Converted["_Title1"].Size = UDim2.new(0, 1, 1, 0)
  6346. Converted["_Title1"].Name = "Title"
  6347. Converted["_Title1"].Parent = Converted["_Main1"]
  6348.  
  6349. Converted["_Theme1"].Value = "TextColor3"
  6350. Converted["_Theme1"].Name = "Theme"
  6351. Converted["_Theme1"].Parent = Converted["_Title1"]
  6352.  
  6353. Converted["_Category1"].Value = "Symbols"
  6354. Converted["_Category1"].Name = "Category"
  6355. Converted["_Category1"].Parent = Converted["_Theme1"]
  6356.  
  6357. Converted["_Ignore1"].Name = "Ignore"
  6358. Converted["_Ignore1"].Parent = Converted["_Theme1"]
  6359.  
  6360. Converted["_Warning"].Image = "http://www.roblox.com/asset/?id=10969141992"
  6361. Converted["_Warning"].ImageColor3 = Color3.fromRGB(255, 249.0000155568123, 53.000004440546036)
  6362. Converted["_Warning"].AnchorPoint = Vector2.new(0, 0.5)
  6363. Converted["_Warning"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6364. Converted["_Warning"].BackgroundTransparency = 1
  6365. Converted["_Warning"].Size = UDim2.new(0, 16, 0, 16)
  6366. Converted["_Warning"].Visible = false
  6367. Converted["_Warning"].Name = "Warning"
  6368. Converted["_Warning"].Parent = Converted["_Title"]
  6369.  
  6370. Converted["_Theme2"].Value = "ImageColor3"
  6371. Converted["_Theme2"].Name = "Theme"
  6372. Converted["_Theme2"].Parent = Converted["_Warning"]
  6373.  
  6374. Converted["_Category2"].Value = "Warning"
  6375. Converted["_Category2"].Name = "Category"
  6376. Converted["_Category2"].Parent = Converted["_Theme2"]
  6377.  
  6378. Converted["_Ignore2"].Name = "Ignore"
  6379. Converted["_Ignore2"].Parent = Converted["_Theme2"]
  6380.  
  6381. Converted["_UIListLayout"].Padding = UDim.new(0, 2)
  6382. Converted["_UIListLayout"].FillDirection = Enum.FillDirection.Horizontal
  6383. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  6384. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  6385. Converted["_UIListLayout"].Parent = Converted["_Title"]
  6386.  
  6387. Converted["_Theme3"].Value = "BackgroundColor3"
  6388. Converted["_Theme3"].Name = "Theme"
  6389. Converted["_Theme3"].Parent = Converted["_Main"]
  6390.  
  6391. Converted["_Category3"].Value = "Element"
  6392. Converted["_Category3"].Name = "Category"
  6393. Converted["_Category3"].Parent = Converted["_Theme3"]
  6394.  
  6395. Converted["_Ignore3"].Name = "Ignore"
  6396. Converted["_Ignore3"].Parent = Converted["_Theme3"]
  6397.  
  6398. Converted["_Secondary"].BackgroundColor3 = Color3.fromRGB(28.000000230968, 28.000000230968, 28.000000230968)
  6399. Converted["_Secondary"].BorderSizePixel = 0
  6400. Converted["_Secondary"].ClipsDescendants = true
  6401. Converted["_Secondary"].Position = UDim2.new(0, 0, 0, 35)
  6402. Converted["_Secondary"].Size = UDim2.new(1, 0, 0, 118)
  6403. Converted["_Secondary"].Visible = false
  6404. Converted["_Secondary"].Name = "Secondary"
  6405. Converted["_Secondary"].Parent = Converted["_9_ColorPicker"]
  6406.  
  6407. Converted["_UICorner3"].CornerRadius = UDim.new(0, 4)
  6408. Converted["_UICorner3"].Parent = Converted["_Secondary"]
  6409.  
  6410. Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6411. Converted["_Frame"].BackgroundTransparency = 1
  6412. Converted["_Frame"].Size = UDim2.new(1, 0, 0, 118)
  6413. Converted["_Frame"].Parent = Converted["_Secondary"]
  6414.  
  6415. Converted["_Frame1"].AnchorPoint = Vector2.new(0.5, 0.5)
  6416. Converted["_Frame1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6417. Converted["_Frame1"].BackgroundTransparency = 1
  6418. Converted["_Frame1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  6419. Converted["_Frame1"].Size = UDim2.new(0.899999976, 0, 0.880999982, 0)
  6420. Converted["_Frame1"].Parent = Converted["_Frame"]
  6421.  
  6422. Converted["_Frame2"].AnchorPoint = Vector2.new(0.5, 0.5)
  6423. Converted["_Frame2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6424. Converted["_Frame2"].BackgroundTransparency = 1
  6425. Converted["_Frame2"].Position = UDim2.new(0.5, 0, 0.5, 0)
  6426. Converted["_Frame2"].Size = UDim2.new(1, 0, 1, 0)
  6427. Converted["_Frame2"].Parent = Converted["_Frame1"]
  6428.  
  6429. Converted["_Second"].Active = true
  6430. Converted["_Second"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6431. Converted["_Second"].Size = UDim2.new(0.872727275, 0, 0.980769217, 0)
  6432. Converted["_Second"].Name = "Second"
  6433. Converted["_Second"].Parent = Converted["_Frame2"]
  6434.  
  6435. Converted["_UICorner4"].CornerRadius = UDim.new(0, 3)
  6436. Converted["_UICorner4"].Parent = Converted["_Second"]
  6437.  
  6438. Converted["_UIGradient"].Color = ColorSequence.new{
  6439. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
  6440. ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 0))
  6441. }
  6442. Converted["_UIGradient"].Parent = Converted["_Second"]
  6443.  
  6444. Converted["_Black"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6445. Converted["_Black"].BorderSizePixel = 0
  6446. Converted["_Black"].Size = UDim2.new(1, 0, 1, 0)
  6447. Converted["_Black"].Name = "Black"
  6448. Converted["_Black"].Parent = Converted["_Second"]
  6449.  
  6450. Converted["_UIGradient1"].Color = ColorSequence.new{
  6451. ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)),
  6452. ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))
  6453. }
  6454. Converted["_UIGradient1"].Rotation = 90
  6455. Converted["_UIGradient1"].Transparency = NumberSequence.new{
  6456. NumberSequenceKeypoint.new(0, 1),
  6457. NumberSequenceKeypoint.new(1, 0)
  6458. }
  6459. Converted["_UIGradient1"].Parent = Converted["_Black"]
  6460.  
  6461. Converted["_UICorner5"].CornerRadius = UDim.new(0, 2)
  6462. Converted["_UICorner5"].Parent = Converted["_Black"]
  6463.  
  6464. Converted["_Frame3"].AnchorPoint = Vector2.new(0.5, 0.5)
  6465. Converted["_Frame3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6466. Converted["_Frame3"].BackgroundTransparency = 1
  6467. Converted["_Frame3"].Position = UDim2.new(1, 0, 0, 0)
  6468. Converted["_Frame3"].Size = UDim2.new(0, 18, 0, 18)
  6469. Converted["_Frame3"].Parent = Converted["_Black"]
  6470.  
  6471. Converted["_ImageLabel1"].Image = "rbxassetid://4805639000"
  6472. Converted["_ImageLabel1"].SliceCenter = Rect.new(128, 128, 128, 128)
  6473. Converted["_ImageLabel1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6474. Converted["_ImageLabel1"].BackgroundTransparency = 1
  6475. Converted["_ImageLabel1"].Size = UDim2.new(1, 0, 1, 0)
  6476. Converted["_ImageLabel1"].Parent = Converted["_Frame3"]
  6477.  
  6478. Converted["_Button"].Font = Enum.Font.SourceSans
  6479. Converted["_Button"].Text = ""
  6480. Converted["_Button"].TextColor3 = Color3.fromRGB(0, 0, 0)
  6481. Converted["_Button"].TextSize = 14
  6482. Converted["_Button"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6483. Converted["_Button"].BackgroundTransparency = 1
  6484. Converted["_Button"].Size = UDim2.new(1, 0, 1, 0)
  6485. Converted["_Button"].Name = "Button"
  6486. Converted["_Button"].Parent = Converted["_Second"]
  6487.  
  6488. Converted["_Rainbow"].AnchorPoint = Vector2.new(1, 0)
  6489. Converted["_Rainbow"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6490. Converted["_Rainbow"].Position = UDim2.new(1, 0, 0, 0)
  6491. Converted["_Rainbow"].Size = UDim2.new(0.0909090936, 0, 0.961538434, 0)
  6492. Converted["_Rainbow"].Name = "Rainbow"
  6493. Converted["_Rainbow"].Parent = Converted["_Frame2"]
  6494.  
  6495. Converted["_Rainbow1"].Color = ColorSequence.new{
  6496. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 4.000000236555934)),
  6497. ColorSequenceKeypoint.new(0.20000000298023224, Color3.fromRGB(255, 255, 0)),
  6498. ColorSequenceKeypoint.new(0.4000000059604645, Color3.fromRGB(0, 255, 0)),
  6499. ColorSequenceKeypoint.new(0.6000000238418579, Color3.fromRGB(0, 255, 255)),
  6500. ColorSequenceKeypoint.new(0.800000011920929, Color3.fromRGB(0, 0, 255)),
  6501. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 255))
  6502. }
  6503. Converted["_Rainbow1"].Rotation = 90
  6504. Converted["_Rainbow1"].Name = "Rainbow"
  6505. Converted["_Rainbow1"].Parent = Converted["_Rainbow"]
  6506.  
  6507. Converted["_UICorner6"].CornerRadius = UDim.new(0, 3)
  6508. Converted["_UICorner6"].Parent = Converted["_Rainbow"]
  6509.  
  6510. Converted["_Frame4"].AnchorPoint = Vector2.new(0, 0.5)
  6511. Converted["_Frame4"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6512. Converted["_Frame4"].BackgroundTransparency = 1
  6513. Converted["_Frame4"].Size = UDim2.new(1, 0, 1, 0)
  6514. Converted["_Frame4"].Parent = Converted["_Rainbow"]
  6515.  
  6516. Converted["_UICorner7"].CornerRadius = UDim.new(1, 0)
  6517. Converted["_UICorner7"].Parent = Converted["_Frame4"]
  6518.  
  6519. Converted["_ImageLabel2"].Image = "rbxassetid://4805639000"
  6520. Converted["_ImageLabel2"].SliceCenter = Rect.new(128, 128, 128, 128)
  6521. Converted["_ImageLabel2"].AnchorPoint = Vector2.new(0.5, 0.5)
  6522. Converted["_ImageLabel2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6523. Converted["_ImageLabel2"].BackgroundTransparency = 1
  6524. Converted["_ImageLabel2"].Position = UDim2.new(0.5, 0, 0.5, 0)
  6525. Converted["_ImageLabel2"].Size = UDim2.new(0, 18, 0, 18)
  6526. Converted["_ImageLabel2"].Parent = Converted["_Frame4"]
  6527.  
  6528. Converted["_UIAspectRatioConstraint1"].Parent = Converted["_Frame4"]
  6529.  
  6530. Converted["_Button1"].Font = Enum.Font.SourceSans
  6531. Converted["_Button1"].Text = ""
  6532. Converted["_Button1"].TextColor3 = Color3.fromRGB(0, 0, 0)
  6533. Converted["_Button1"].TextSize = 14
  6534. Converted["_Button1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6535. Converted["_Button1"].BackgroundTransparency = 1
  6536. Converted["_Button1"].Size = UDim2.new(1, 0, 1, 0)
  6537. Converted["_Button1"].Name = "Button"
  6538. Converted["_Button1"].Parent = Converted["_Rainbow"]
  6539.  
  6540. Converted["_UIAspectRatioConstraint2"].AspectRatio = 2.5999999046325684
  6541. Converted["_UIAspectRatioConstraint2"].Parent = Converted["_Frame2"]
  6542.  
  6543. Converted["_UIListLayout1"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  6544. Converted["_UIListLayout1"].Parent = Converted["_9_ColorPicker"]
  6545.  
  6546. Converted["_Element"].Value = "ColorPicker"
  6547. Converted["_Element"].Name = "Element"
  6548. Converted["_Element"].Parent = Converted["_9_ColorPicker"]
  6549.  
  6550. return Converted["_9_ColorPicker"]
  6551. end
  6552.  
  6553. local element = createElement()
  6554.  
  6555. local movingWithCursor = function()
  6556. return false
  6557. end
  6558.  
  6559. do -- dropdown
  6560. local open = false
  6561. local tween1 = nil
  6562.  
  6563. local openProperty = UDim2.new(1, 0, 0, 118)
  6564. local closeProperty = UDim2.new(1, 0, 0, 0)
  6565.  
  6566. local tweenInfo = TweenInfo.new(0.25,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false,0)
  6567.  
  6568. element.Secondary.Visible = false
  6569.  
  6570. local function toggleDropdown()
  6571. open = not open
  6572. pcall(function()
  6573. tween1:Cancel()
  6574. tween1:Destroy()
  6575. end)
  6576. if open then
  6577. element.Main.Fill.Visible = true
  6578. element.Secondary.Visible = true
  6579. element.Secondary.Size = closeProperty
  6580. end
  6581. tween1 = TS:Create(element.Secondary,tweenInfo,{
  6582. ["Size"] = open and openProperty or closeProperty
  6583. })
  6584. if not open then
  6585. tween1.Completed:Connect(function(p)
  6586. if p==Enum.PlaybackState.Completed then
  6587. element.Main.Fill.Visible = false
  6588. element.Secondary.Visible = false
  6589. end
  6590. end)
  6591. end
  6592. tween1:Play()
  6593. end
  6594.  
  6595. local currentcolor = element.Main.CurrentColor
  6596. local btn = utility:CreateButtonObject(currentcolor.Parent)
  6597. local pencil = element.Main.CurrentColor.ImageLabel
  6598.  
  6599. local hovering = false
  6600. btn.MouseEnter:Connect(function()
  6601. hovering = true
  6602. end)
  6603. btn.MouseLeave:Connect(function()
  6604. hovering = false
  6605. end)
  6606. table.insert(_self._connections,UIS.WindowFocusReleased:Connect(function()
  6607. hovering = false
  6608. end))
  6609. LPH_JIT_MAX(function()
  6610. table.insert(_self._connections,Run.RenderStepped:Connect(function()
  6611. pencil.Visible = (not movingWithCursor()) and hovering
  6612. pencil.ImageColor3 = utility:GetTextContrast(currentcolor.BackgroundColor3)
  6613. currentcolor.BackgroundColor3 = _self.Flags[info.Flag]
  6614. end))
  6615. end)()
  6616. btn.Activated:Connect(toggleDropdown)
  6617. end
  6618.  
  6619. do -- color picking
  6620. local frame = element.Secondary.Frame.Frame.Frame
  6621.  
  6622. local rainbow = frame.Rainbow
  6623. local second = frame.Second
  6624. local rainbowBtn = rainbow.Button
  6625. local secondBtn = second.Button
  6626.  
  6627. local d1 = false
  6628. local d2 = false
  6629.  
  6630. rainbowBtn.MouseButton1Down:Connect(function()
  6631. d1 = true
  6632. d2 = false
  6633. end)
  6634.  
  6635. secondBtn.MouseButton1Down:Connect(function()
  6636. d2 = true
  6637. d1 = false
  6638. end)
  6639.  
  6640. table.insert(_self._connections,UIS.InputEnded:Connect(function(inp)
  6641. if inp.UserInputType==Enum.UserInputType.MouseButton1 then
  6642. d1 = false
  6643. d2 = false
  6644. end
  6645. end))
  6646.  
  6647. movingWithCursor = function()
  6648. return d1 or d2
  6649. end
  6650.  
  6651. LPH_JIT_MAX(function()
  6652. local ad1,ad2,l = nil,nil,_self.Flags[info.Flag]
  6653. table.insert(_self._connections,Run.RenderStepped:Connect(function()
  6654. if d1 then
  6655. local percentY = math.clamp((mouse.Y-rainbow.AbsolutePosition.Y)/rainbow.AbsoluteSize.Y,0,1)
  6656. rainbow.Frame.Position = UDim2.fromScale(0,percentY)
  6657. elseif d2 then
  6658. local percentX = math.clamp((mouse.X-second.AbsolutePosition.X)/second.AbsoluteSize.X,0,1)
  6659. local percentY = math.clamp((mouse.Y-second.AbsolutePosition.Y)/second.AbsoluteSize.Y,0,1)
  6660. second.Black.Frame.Position = UDim2.fromScale(percentX,percentY)
  6661. end
  6662. if ad1 or ad2 or l~=_self.Flags[info.Flag] then
  6663. local baseColor = utility:GetColor(rainbow.Frame.Position.Y.Scale,rainbow.Rainbow.Color.Keypoints)
  6664. local percent_x = second.Black.Frame.Position.X.Scale
  6665. local percent_y = second.Black.Frame.Position.Y.Scale
  6666. local mod1Color = Color3.new(utility:Lerp(1,baseColor.R,percent_x),utility:Lerp(1,baseColor.G,percent_x),utility:Lerp(1,baseColor.B,percent_x))
  6667. local final = Color3.new(utility:Lerp(mod1Color.R,0,percent_y),utility:Lerp(mod1Color.G,0,percent_y),utility:Lerp(mod1Color.B,0,percent_y))
  6668. _self.Flags[info.Flag] = final
  6669. info.Callback(final)
  6670. l = final
  6671. second.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(1,1,1)),ColorSequenceKeypoint.new(1, baseColor)})
  6672. end
  6673. ad1,ad2 = d1,d2
  6674. end))
  6675. end)()
  6676. end
  6677.  
  6678. info.WarningIcon = info.WarningIcon or Library.Icons.Warning
  6679. element.Main.Title.Warning.Image = "http://www.roblox.com/asset/?id="..info.WarningIcon
  6680. if info.Warning then
  6681. element.Main.Title.Warning.ImageColor3 = Color3.new(1,1,1)
  6682. element.Main.Title.Warning.Visible = true
  6683. local hint = utility:CreateHint()
  6684. hint.Value = info.Warning
  6685. hint.Parent = element.Main.Title.Warning
  6686. end
  6687.  
  6688. element.Main.Title.Main.Title.Text = info.Name
  6689. element.Name = string.rep("_",elementNum)..info.Name
  6690. element.Parent = section.holder.Contents
  6691.  
  6692. end
  6693. end
  6694.  
  6695. print("Atlas UI Library v"..VERSION.." by RoadToGlory#9879 has initiated")
  6696.  
  6697. return Library
Add Comment
Please, Sign In to add comment