Advertisement
-Sizz-

Nova UI

May 10th, 2024 (edited)
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 35.87 KB | None | 0 0
  1. local G2L = {};
  2.  
  3. -- StarterGui.Nova
  4. G2L["1"] = Instance.new("ScreenGui", game:GetService("CoreGui"));
  5. G2L["1"]["IgnoreGuiInset"] = true;
  6. G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
  7. G2L["1"]["Name"] = [[Nova]];
  8. G2L["1"]["ResetOnSpawn"] = false;
  9.  
  10. -- StarterGui.Nova.UI
  11. G2L["2"] = Instance.new("Frame", G2L["1"]);
  12. G2L["2"]["BorderSizePixel"] = 0;
  13. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  14. G2L["2"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  15. G2L["2"]["Size"] = UDim2.new(0, 488, 0, 318);
  16. G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  17. G2L["2"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  18. G2L["2"]["Name"] = [[UI]];
  19.  
  20. -- StarterGui.Nova.UI.UICorner
  21. G2L["3"] = Instance.new("UICorner", G2L["2"]);
  22. G2L["3"]["CornerRadius"] = UDim.new(0, 13);
  23.  
  24. -- StarterGui.Nova.UI.TOPBAR
  25. G2L["4"] = Instance.new("Frame", G2L["2"]);
  26. G2L["4"]["BorderSizePixel"] = 0;
  27. G2L["4"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  28. G2L["4"]["Size"] = UDim2.new(0.9980039596557617, 0, 0.138364776968956, 0);
  29. G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  30. G2L["4"]["Position"] = UDim2.new(-1.2182664477222716e-07, 0, 0, 0);
  31. G2L["4"]["Name"] = [[TOPBAR]];
  32.  
  33. -- StarterGui.Nova.UI.TOPBAR.UICorner
  34. G2L["5"] = Instance.new("UICorner", G2L["4"]);
  35. G2L["5"]["CornerRadius"] = UDim.new(0, 13);
  36.  
  37. -- StarterGui.Nova.UI.TOPBAR.Logo
  38. G2L["6"] = Instance.new("ImageLabel", G2L["4"]);
  39. G2L["6"]["BorderSizePixel"] = 0;
  40. G2L["6"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  41. G2L["6"]["Image"] = [[rbxassetid://17448986013]];
  42. G2L["6"]["Size"] = UDim2.new(0, 44, 0, 44);
  43. G2L["6"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  44. G2L["6"]["Name"] = [[Logo]];
  45. G2L["6"]["BackgroundTransparency"] = 1;
  46.  
  47. -- StarterGui.Nova.UI.TOPBAR.options
  48. G2L["7"] = Instance.new("Frame", G2L["4"]);
  49. G2L["7"]["BorderSizePixel"] = 0;
  50. G2L["7"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  51. G2L["7"]["Size"] = UDim2.new(0, 25, 0, 25);
  52. G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  53. G2L["7"]["Position"] = UDim2.new(0.9300000071525574, 0, 0.20454545319080353, 0);
  54. G2L["7"]["Name"] = [[options]];
  55.  
  56. -- StarterGui.Nova.UI.TOPBAR.options.UICorner
  57. G2L["8"] = Instance.new("UICorner", G2L["7"]);
  58. G2L["8"]["CornerRadius"] = UDim.new(0, 7);
  59.  
  60. -- StarterGui.Nova.UI.TOPBAR.options.UIStroke
  61. G2L["9"] = Instance.new("UIStroke", G2L["7"]);
  62. G2L["9"]["Color"] = Color3.fromRGB(41, 41, 41);
  63.  
  64. -- StarterGui.Nova.UI.TOPBAR.options.CLOSE
  65. G2L["a"] = Instance.new("ImageButton", G2L["7"]);
  66. G2L["a"]["BorderSizePixel"] = 0;
  67. G2L["a"]["AutoButtonColor"] = false;
  68. G2L["a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  69. G2L["a"]["Size"] = UDim2.new(1, 0, 1, 0);
  70. G2L["a"]["Name"] = [[CLOSE]];
  71. G2L["a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  72. G2L["a"]["BackgroundTransparency"] = 1;
  73.  
  74. -- StarterGui.Nova.UI.TOPBAR.options.CLOSE.ImageLabel
  75. G2L["b"] = Instance.new("ImageLabel", G2L["a"]);
  76. G2L["b"]["BorderSizePixel"] = 0;
  77. G2L["b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  78. G2L["b"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  79. G2L["b"]["Image"] = [[rbxassetid://7072725342]];
  80. G2L["b"]["Size"] = UDim2.new(0.5, 0, 0.6000000238418579, 0);
  81. G2L["b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  82. G2L["b"]["BackgroundTransparency"] = 1;
  83. G2L["b"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  84.  
  85. -- StarterGui.Nova.UI.TOPBAR.options.UIListLayout
  86. G2L["c"] = Instance.new("UIListLayout", G2L["7"]);
  87. G2L["c"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
  88. G2L["c"]["FillDirection"] = Enum.FillDirection.Horizontal;
  89. G2L["c"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
  90. G2L["c"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  91.  
  92. -- StarterGui.Nova.UI.TOPBAR.cover
  93. G2L["d"] = Instance.new("Frame", G2L["4"]);
  94. G2L["d"]["BorderSizePixel"] = 0;
  95. G2L["d"]["BackgroundColor3"] = Color3.fromRGB(41, 41, 41);
  96. G2L["d"]["Size"] = UDim2.new(1, 0, 0.022727273404598236, 0);
  97. G2L["d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  98. G2L["d"]["Position"] = UDim2.new(0, 0, 1, 0);
  99. G2L["d"]["Name"] = [[cover]];
  100.  
  101. -- StarterGui.Nova.UI.TOPBAR.TextLabel
  102. G2L["e"] = Instance.new("TextLabel", G2L["4"]);
  103. G2L["e"]["BorderSizePixel"] = 0;
  104. G2L["e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  105. G2L["e"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  106. G2L["e"]["TextSize"] = 13;
  107. G2L["e"]["TextColor3"] = Color3.fromRGB(95, 95, 95);
  108. G2L["e"]["AnchorPoint"] = Vector2.new(0, 0.5);
  109. G2L["e"]["Size"] = UDim2.new(0, 108, 0, 36);
  110. G2L["e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  111. G2L["e"]["Text"] = [[v0.0.1]];
  112. G2L["e"]["BackgroundTransparency"] = 1;
  113. G2L["e"]["Position"] = UDim2.new(0, 0, 0, 27);
  114.  
  115. -- StarterGui.Nova.UI.Dragify
  116. G2L["f"] = Instance.new("LocalScript", G2L["2"]);
  117. G2L["f"]["Name"] = [[Dragify]];
  118.  
  119. -- StarterGui.Nova.UI.Content
  120. G2L["10"] = Instance.new("Frame", G2L["2"]);
  121. G2L["10"]["BorderSizePixel"] = 0;
  122. G2L["10"]["BackgroundColor3"] = Color3.fromRGB(22, 22, 22);
  123. G2L["10"]["BackgroundTransparency"] = 1;
  124. G2L["10"]["Size"] = UDim2.new(0, 488, 0, 273);
  125. G2L["10"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  126. G2L["10"]["Position"] = UDim2.new(-1.2483100420013216e-07, 0, 0.14150942862033844, 0);
  127. G2L["10"]["Name"] = [[Content]];
  128.  
  129. -- StarterGui.Nova.UI.Content.Editor
  130. G2L["11"] = Instance.new("Frame", G2L["10"]);
  131. G2L["11"]["BorderSizePixel"] = 0;
  132. G2L["11"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  133. G2L["11"]["AnchorPoint"] = Vector2.new(0.5, 0);
  134. G2L["11"]["BackgroundTransparency"] = 1;
  135. G2L["11"]["Size"] = UDim2.new(0.9639999866485596, 0, 0.8278388381004333, 0);
  136. G2L["11"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  137. G2L["11"]["Position"] = UDim2.new(0.5, 0, 0.028999999165534973, 0);
  138. G2L["11"]["Name"] = [[Editor]];
  139.  
  140. -- StarterGui.Nova.UI.Content.Editor.Display
  141. G2L["12"] = Instance.new("Frame", G2L["11"]);
  142. G2L["12"]["BorderSizePixel"] = 0;
  143. G2L["12"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  144. G2L["12"]["BackgroundTransparency"] = 1;
  145. G2L["12"]["Size"] = UDim2.new(1, 0, 1, 0);
  146. G2L["12"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  147. G2L["12"]["Name"] = [[Display]];
  148.  
  149. -- StarterGui.Nova.UI.Content.Editor.Display.UICorner
  150. G2L["13"] = Instance.new("UICorner", G2L["12"]);
  151. G2L["13"]["CornerRadius"] = UDim.new(0, 5);
  152.  
  153. -- StarterGui.Nova.UI.Content.Editor.Display.UIStroke
  154. G2L["14"] = Instance.new("UIStroke", G2L["12"]);
  155. G2L["14"]["Color"] = Color3.fromRGB(41, 41, 41);
  156. G2L["14"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  157.  
  158. -- StarterGui.Nova.UI.Content.Editor.Display.Alert
  159. G2L["15"] = Instance.new("TextLabel", G2L["12"]);
  160. G2L["15"]["ZIndex"] = 999999999;
  161. G2L["15"]["BorderSizePixel"] = 0;
  162. G2L["15"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  163. G2L["15"]["FontFace"] = Font.new([[rbxasset://fonts/families/Arial.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  164. G2L["15"]["TextSize"] = 17;
  165. G2L["15"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  166. G2L["15"]["Size"] = UDim2.new(1, 0, 1, 0);
  167. G2L["15"]["ClipsDescendants"] = true;
  168. G2L["15"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  169. G2L["15"]["Text"] = [[waiting for connection]];
  170. G2L["15"]["Name"] = [[Alert]];
  171. G2L["15"]["BackgroundTransparency"] = 1;
  172.  
  173. -- StarterGui.Nova.UI.Content.Editor.Display.Holder
  174. G2L["16"] = Instance.new("ScrollingFrame", G2L["12"]);
  175. G2L["16"]["Active"] = true;
  176. G2L["16"]["ZIndex"] = 999999999;
  177. G2L["16"]["BorderSizePixel"] = 0;
  178. G2L["16"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
  179. G2L["16"]["TopImage"] = [[rbxasset://textures/ui/Scroll/scroll-middle.png]];
  180. G2L["16"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  181. G2L["16"]["AutomaticCanvasSize"] = Enum.AutomaticSize.XY;
  182. G2L["16"]["BackgroundTransparency"] = 1;
  183. G2L["16"]["Size"] = UDim2.new(1, 0, 1, 0);
  184. G2L["16"]["ScrollBarImageColor3"] = Color3.fromRGB(61, 61, 61);
  185. G2L["16"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  186. G2L["16"]["ScrollBarThickness"] = 7;
  187. G2L["16"]["Visible"] = false;
  188. G2L["16"]["Name"] = [[Holder]];
  189. G2L["16"]["BottomImage"] = [[rbxasset://textures/ui/Scroll/scroll-middle.png]];
  190.  
  191. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.UIListLayout
  192. G2L["17"] = Instance.new("UIListLayout", G2L["16"]);
  193. G2L["17"]["FillDirection"] = Enum.FillDirection.Horizontal;
  194. G2L["17"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  195.  
  196. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.padding
  197. G2L["18"] = Instance.new("UIPadding", G2L["16"]);
  198. G2L["18"]["Name"] = [[padding]];
  199. G2L["18"]["PaddingRight"] = UDim.new(0, 10);
  200.  
  201. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.Lines
  202. G2L["19"] = Instance.new("TextLabel", G2L["16"]);
  203. G2L["19"]["ZIndex"] = 4;
  204. G2L["19"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  205. G2L["19"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  206. G2L["19"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  207. G2L["19"]["TextSize"] = 15;
  208. G2L["19"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  209. G2L["19"]["AutomaticSize"] = Enum.AutomaticSize.Y;
  210. G2L["19"]["Size"] = UDim2.new(0.029661016538739204, 30, 1, 0);
  211. G2L["19"]["Text"] = [[1]];
  212. G2L["19"]["Name"] = [[Lines]];
  213. G2L["19"]["BackgroundTransparency"] = 1;
  214.  
  215. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.Lines.Frame
  216. G2L["1a"] = Instance.new("Frame", G2L["19"]);
  217. G2L["1a"]["BorderSizePixel"] = 0;
  218. G2L["1a"]["BackgroundColor3"] = Color3.fromRGB(41, 41, 41);
  219. G2L["1a"]["AnchorPoint"] = Vector2.new(0, 0.5);
  220. G2L["1a"]["Size"] = UDim2.new(0, 1, 1, 8);
  221. G2L["1a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  222. G2L["1a"]["Position"] = UDim2.new(1, 0, 0.5, -6);
  223.  
  224. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.Lines.padding
  225. G2L["1b"] = Instance.new("UIPadding", G2L["19"]);
  226. G2L["1b"]["PaddingTop"] = UDim.new(0, 6);
  227. G2L["1b"]["Name"] = [[padding]];
  228.  
  229. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame
  230. G2L["1c"] = Instance.new("ImageButton", G2L["16"]);
  231. G2L["1c"]["ZIndex"] = 10;
  232. G2L["1c"]["BorderSizePixel"] = 0;
  233. G2L["1c"]["SliceCenter"] = Rect.new(512, 512, 512, 512);
  234. G2L["1c"]["ScaleType"] = Enum.ScaleType.Crop;
  235. G2L["1c"]["AutoButtonColor"] = false;
  236. G2L["1c"]["SliceScale"] = 4;
  237. G2L["1c"]["BackgroundColor3"] = Color3.fromRGB(26, 26, 39);
  238. G2L["1c"]["AutomaticSize"] = Enum.AutomaticSize.XY;
  239. G2L["1c"]["ImageColor3"] = Color3.fromRGB(26, 26, 39);
  240. G2L["1c"]["Selectable"] = false;
  241. G2L["1c"]["AnchorPoint"] = Vector2.new(0.5, 0);
  242. G2L["1c"]["Name"] = [[EditorFrame]];
  243. G2L["1c"]["ClipsDescendants"] = true;
  244. G2L["1c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  245. G2L["1c"]["Position"] = UDim2.new(2.124176263809204, 0, -0.9952167272567749, 30);
  246. G2L["1c"]["BackgroundTransparency"] = 1;
  247.  
  248. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Source
  249. G2L["1d"] = Instance.new("TextLabel", G2L["1c"]);
  250. G2L["1d"]["BorderSizePixel"] = 0;
  251. G2L["1d"]["RichText"] = true;
  252. G2L["1d"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  253. G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  254. G2L["1d"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  255. G2L["1d"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  256. G2L["1d"]["TextTransparency"] = 0.20000000298023224;
  257. G2L["1d"]["TextSize"] = 13;
  258. G2L["1d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  259. G2L["1d"]["AutomaticSize"] = Enum.AutomaticSize.XY;
  260. G2L["1d"]["ClipsDescendants"] = true;
  261. G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  262. G2L["1d"]["Text"] = [[print("Nova test")]]
  263. G2L["1d"]["Name"] = [[Source]];
  264. G2L["1d"]["BackgroundTransparency"] = 1;
  265.  
  266. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Source.padding
  267. G2L["1e"] = Instance.new("UIPadding", G2L["1d"]);
  268. G2L["1e"]["PaddingTop"] = UDim.new(0, 8);
  269. G2L["1e"]["Name"] = [[padding]];
  270.  
  271. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.UIPadding
  272. G2L["1f"] = Instance.new("UIPadding", G2L["1c"]);
  273. G2L["1f"]["PaddingLeft"] = UDim.new(0, 6);
  274.  
  275. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Comments_
  276. G2L["20"] = Instance.new("TextLabel", G2L["1c"]);
  277. G2L["20"]["ZIndex"] = 5;
  278. G2L["20"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  279. G2L["20"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  280. G2L["20"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  281. G2L["20"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  282. G2L["20"]["TextSize"] = 13;
  283. G2L["20"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  284. G2L["20"]["Size"] = UDim2.new(1, 0, 1, 0);
  285. G2L["20"]["Text"] = [[]];
  286. G2L["20"]["Name"] = [[Comments_]];
  287. G2L["20"]["BackgroundTransparency"] = 1;
  288.  
  289. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Comments_.padding
  290. G2L["21"] = Instance.new("UIPadding", G2L["20"]);
  291. G2L["21"]["PaddingTop"] = UDim.new(0, 8);
  292. G2L["21"]["Name"] = [[padding]];
  293.  
  294. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Globals_
  295. G2L["22"] = Instance.new("TextLabel", G2L["1c"]);
  296. G2L["22"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  297. G2L["22"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  298. G2L["22"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  299. G2L["22"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  300. G2L["22"]["TextSize"] = 13;
  301. G2L["22"]["TextColor3"] = Color3.fromRGB(98, 176, 240);
  302. G2L["22"]["Size"] = UDim2.new(1, 0, 1, 0);
  303. G2L["22"]["Text"] = [[]];
  304. G2L["22"]["Name"] = [[Globals_]];
  305. G2L["22"]["BackgroundTransparency"] = 1;
  306.  
  307. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Globals_.padding
  308. G2L["23"] = Instance.new("UIPadding", G2L["22"]);
  309. G2L["23"]["PaddingTop"] = UDim.new(0, 8);
  310. G2L["23"]["Name"] = [[padding]];
  311.  
  312. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Keywords_
  313. G2L["24"] = Instance.new("TextLabel", G2L["1c"]);
  314. G2L["24"]["ZIndex"] = 5;
  315. G2L["24"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  316. G2L["24"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  317. G2L["24"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  318. G2L["24"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  319. G2L["24"]["TextSize"] = 13;
  320. G2L["24"]["TextColor3"] = Color3.fromRGB(199, 121, 222);
  321. G2L["24"]["Size"] = UDim2.new(1, 0, 1, 0);
  322. G2L["24"]["Text"] = [[]];
  323. G2L["24"]["Name"] = [[Keywords_]];
  324. G2L["24"]["BackgroundTransparency"] = 1;
  325.  
  326. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Keywords_.padding
  327. G2L["25"] = Instance.new("UIPadding", G2L["24"]);
  328. G2L["25"]["PaddingTop"] = UDim.new(0, 8);
  329. G2L["25"]["Name"] = [[padding]];
  330.  
  331. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Numbers_
  332. G2L["26"] = Instance.new("TextLabel", G2L["1c"]);
  333. G2L["26"]["ZIndex"] = 4;
  334. G2L["26"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  335. G2L["26"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  336. G2L["26"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  337. G2L["26"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  338. G2L["26"]["TextSize"] = 13;
  339. G2L["26"]["TextColor3"] = Color3.fromRGB(210, 155, 103);
  340. G2L["26"]["Size"] = UDim2.new(1, 0, 1, 0);
  341. G2L["26"]["Text"] = [[]];
  342. G2L["26"]["Name"] = [[Numbers_]];
  343. G2L["26"]["BackgroundTransparency"] = 1;
  344.  
  345. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Numbers_.padding
  346. G2L["27"] = Instance.new("UIPadding", G2L["26"]);
  347. G2L["27"]["PaddingTop"] = UDim.new(0, 8);
  348. G2L["27"]["Name"] = [[padding]];
  349.  
  350. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.RemoteHighlight_
  351. G2L["28"] = Instance.new("TextLabel", G2L["1c"]);
  352. G2L["28"]["ZIndex"] = 5;
  353. G2L["28"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  354. G2L["28"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  355. G2L["28"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  356. G2L["28"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  357. G2L["28"]["TextSize"] = 13;
  358. G2L["28"]["TextColor3"] = Color3.fromRGB(103, 154, 205);
  359. G2L["28"]["Size"] = UDim2.new(1, 0, 1, 0);
  360. G2L["28"]["Text"] = [[]];
  361. G2L["28"]["Name"] = [[RemoteHighlight_]];
  362. G2L["28"]["BackgroundTransparency"] = 1;
  363.  
  364. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.RemoteHighlight_.padding
  365. G2L["29"] = Instance.new("UIPadding", G2L["28"]);
  366. G2L["29"]["PaddingTop"] = UDim.new(0, 8);
  367. G2L["29"]["Name"] = [[padding]];
  368.  
  369. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Strings_
  370. G2L["2a"] = Instance.new("TextLabel", G2L["1c"]);
  371. G2L["2a"]["ZIndex"] = 5;
  372. G2L["2a"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  373. G2L["2a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  374. G2L["2a"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  375. G2L["2a"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  376. G2L["2a"]["TextSize"] = 13;
  377. G2L["2a"]["TextColor3"] = Color3.fromRGB(153, 196, 122);
  378. G2L["2a"]["Size"] = UDim2.new(1, 0, 1, 0);
  379. G2L["2a"]["Text"] = [[]];
  380. G2L["2a"]["Name"] = [[Strings_]];
  381. G2L["2a"]["BackgroundTransparency"] = 1;
  382.  
  383. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Strings_.padding
  384. G2L["2b"] = Instance.new("UIPadding", G2L["2a"]);
  385. G2L["2b"]["PaddingTop"] = UDim.new(0, 8);
  386. G2L["2b"]["Name"] = [[padding]];
  387.  
  388. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Tokens_
  389. G2L["2c"] = Instance.new("TextLabel", G2L["1c"]);
  390. G2L["2c"]["ZIndex"] = 5;
  391. G2L["2c"]["TextYAlignment"] = Enum.TextYAlignment.Top;
  392. G2L["2c"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  393. G2L["2c"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  394. G2L["2c"]["FontFace"] = Font.new([[rbxasset://fonts/families/Inconsolata.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  395. G2L["2c"]["TextSize"] = 13;
  396. G2L["2c"]["TextColor3"] = Color3.fromRGB(199, 199, 199);
  397. G2L["2c"]["Size"] = UDim2.new(1, 0, 1, 0);
  398. G2L["2c"]["Text"] = [[]];
  399. G2L["2c"]["Name"] = [[Tokens_]];
  400. G2L["2c"]["BackgroundTransparency"] = 1;
  401.  
  402. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.EditorFrame.Tokens_.padding
  403. G2L["2d"] = Instance.new("UIPadding", G2L["2c"]);
  404. G2L["2d"]["PaddingTop"] = UDim.new(0, 8);
  405. G2L["2d"]["Name"] = [[padding]];
  406.  
  407. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.LocalScript
  408. G2L["2e"] = Instance.new("LocalScript", G2L["16"]);
  409.  
  410.  
  411. -- StarterGui.Nova.UI.Options
  412. G2L["2f"] = Instance.new("Frame", G2L["2"]);
  413. G2L["2f"]["BorderSizePixel"] = 0;
  414. G2L["2f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  415. G2L["2f"]["BackgroundTransparency"] = 1;
  416. G2L["2f"]["Size"] = UDim2.new(0.9612587094306946, 0, 0.12264151126146317, 0);
  417. G2L["2f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  418. G2L["2f"]["Position"] = UDim2.new(0.017964055761694908, 0, 0.8773584961891174, 0);
  419. G2L["2f"]["Name"] = [[Options]];
  420.  
  421. -- StarterGui.Nova.UI.Options.UIListLayout
  422. G2L["30"] = Instance.new("UIListLayout", G2L["2f"]);
  423. G2L["30"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
  424. G2L["30"]["FillDirection"] = Enum.FillDirection.Horizontal;
  425. G2L["30"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Right;
  426. G2L["30"]["Padding"] = UDim.new(0, 8);
  427. G2L["30"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  428.  
  429. -- StarterGui.Nova.UI.Options.load
  430. G2L["31"] = Instance.new("ImageButton", G2L["2f"]);
  431. G2L["31"]["BorderSizePixel"] = 0;
  432. G2L["31"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  433. G2L["31"]["Size"] = UDim2.new(0, 69, 0, 25);
  434. G2L["31"]["Name"] = [[load]];
  435. G2L["31"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  436. G2L["31"]["Position"] = UDim2.new(0.8565488457679749, 0, 0.11538461595773697, 0);
  437.  
  438. -- StarterGui.Nova.UI.Options.load.UICorner
  439. G2L["32"] = Instance.new("UICorner", G2L["31"]);
  440. G2L["32"]["CornerRadius"] = UDim.new(0, 5);
  441.  
  442. -- StarterGui.Nova.UI.Options.load.Label
  443. G2L["33"] = Instance.new("TextLabel", G2L["31"]);
  444. G2L["33"]["ZIndex"] = 999999999;
  445. G2L["33"]["BorderSizePixel"] = 0;
  446. G2L["33"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  447. G2L["33"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  448. G2L["33"]["TextSize"] = 14;
  449. G2L["33"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  450. G2L["33"]["Size"] = UDim2.new(1, 0, 1, 0);
  451. G2L["33"]["ClipsDescendants"] = true;
  452. G2L["33"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  453. G2L["33"]["Text"] = [[Load]];
  454. G2L["33"]["Name"] = [[Label]];
  455. G2L["33"]["BackgroundTransparency"] = 1;
  456.  
  457. -- StarterGui.Nova.UI.Options.load.UIStroke
  458. G2L["34"] = Instance.new("UIStroke", G2L["31"]);
  459. G2L["34"]["Color"] = Color3.fromRGB(41, 41, 41);
  460. G2L["34"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  461.  
  462. -- StarterGui.Nova.UI.Options.save
  463. G2L["35"] = Instance.new("ImageButton", G2L["2f"]);
  464. G2L["35"]["BorderSizePixel"] = 0;
  465. G2L["35"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  466. G2L["35"]["Size"] = UDim2.new(0, 69, 0, 25);
  467. G2L["35"]["Name"] = [[save]];
  468. G2L["35"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  469. G2L["35"]["Position"] = UDim2.new(0.8565488457679749, 0, 0.11538461595773697, 0);
  470.  
  471. -- StarterGui.Nova.UI.Options.save.UICorner
  472. G2L["36"] = Instance.new("UICorner", G2L["35"]);
  473. G2L["36"]["CornerRadius"] = UDim.new(0, 5);
  474.  
  475. -- StarterGui.Nova.UI.Options.save.Label
  476. G2L["37"] = Instance.new("TextLabel", G2L["35"]);
  477. G2L["37"]["ZIndex"] = 999999999;
  478. G2L["37"]["BorderSizePixel"] = 0;
  479. G2L["37"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  480. G2L["37"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  481. G2L["37"]["TextSize"] = 14;
  482. G2L["37"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  483. G2L["37"]["Size"] = UDim2.new(1, 0, 1, 0);
  484. G2L["37"]["ClipsDescendants"] = true;
  485. G2L["37"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  486. G2L["37"]["Text"] = [[Save]];
  487. G2L["37"]["Name"] = [[Label]];
  488. G2L["37"]["BackgroundTransparency"] = 1;
  489.  
  490. -- StarterGui.Nova.UI.Options.save.UIStroke
  491. G2L["38"] = Instance.new("UIStroke", G2L["35"]);
  492. G2L["38"]["Color"] = Color3.fromRGB(41, 41, 41);
  493. G2L["38"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  494.  
  495. -- StarterGui.Nova.UI.Options.clear
  496. G2L["39"] = Instance.new("ImageButton", G2L["2f"]);
  497. G2L["39"]["BorderSizePixel"] = 0;
  498. G2L["39"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  499. G2L["39"]["Size"] = UDim2.new(0, 69, 0, 25);
  500. G2L["39"]["Name"] = [[clear]];
  501. G2L["39"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  502. G2L["39"]["Position"] = UDim2.new(0.8565488457679749, 0, 0.11538461595773697, 0);
  503.  
  504. -- StarterGui.Nova.UI.Options.clear.UICorner
  505. G2L["3a"] = Instance.new("UICorner", G2L["39"]);
  506. G2L["3a"]["CornerRadius"] = UDim.new(0, 5);
  507.  
  508. -- StarterGui.Nova.UI.Options.clear.Label
  509. G2L["3b"] = Instance.new("TextLabel", G2L["39"]);
  510. G2L["3b"]["ZIndex"] = 999999999;
  511. G2L["3b"]["BorderSizePixel"] = 0;
  512. G2L["3b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  513. G2L["3b"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  514. G2L["3b"]["TextSize"] = 14;
  515. G2L["3b"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  516. G2L["3b"]["Size"] = UDim2.new(1, 0, 1, 0);
  517. G2L["3b"]["ClipsDescendants"] = true;
  518. G2L["3b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  519. G2L["3b"]["Text"] = [[Clear]];
  520. G2L["3b"]["Name"] = [[Label]];
  521. G2L["3b"]["BackgroundTransparency"] = 1;
  522.  
  523. -- StarterGui.Nova.UI.Options.clear.UIStroke
  524. G2L["3c"] = Instance.new("UIStroke", G2L["39"]);
  525. G2L["3c"]["Color"] = Color3.fromRGB(41, 41, 41);
  526. G2L["3c"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  527.  
  528. -- StarterGui.Nova.UI.Options.execute
  529. G2L["3d"] = Instance.new("ImageButton", G2L["2f"]);
  530. G2L["3d"]["BorderSizePixel"] = 0;
  531. G2L["3d"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  532. G2L["3d"]["Size"] = UDim2.new(0, 69, 0, 25);
  533. G2L["3d"]["Name"] = [[execute]];
  534. G2L["3d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  535. G2L["3d"]["Position"] = UDim2.new(0.8565488457679749, 0, 0.11538461595773697, 0);
  536.  
  537. -- StarterGui.Nova.UI.Options.execute.UICorner
  538. G2L["3e"] = Instance.new("UICorner", G2L["3d"]);
  539. G2L["3e"]["CornerRadius"] = UDim.new(0, 5);
  540.  
  541. -- StarterGui.Nova.UI.Options.execute.Label
  542. G2L["3f"] = Instance.new("TextLabel", G2L["3d"]);
  543. G2L["3f"]["ZIndex"] = 999999999;
  544. G2L["3f"]["BorderSizePixel"] = 0;
  545. G2L["3f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  546. G2L["3f"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  547. G2L["3f"]["TextSize"] = 14;
  548. G2L["3f"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  549. G2L["3f"]["Size"] = UDim2.new(1, 0, 1, 0);
  550. G2L["3f"]["ClipsDescendants"] = true;
  551. G2L["3f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  552. G2L["3f"]["Text"] = [[Execute]];
  553. G2L["3f"]["Name"] = [[Label]];
  554. G2L["3f"]["BackgroundTransparency"] = 1;
  555.  
  556. -- StarterGui.Nova.UI.Options.execute.UIStroke
  557. G2L["40"] = Instance.new("UIStroke", G2L["3d"]);
  558. G2L["40"]["Color"] = Color3.fromRGB(41, 41, 41);
  559. G2L["40"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  560.  
  561. -- StarterGui.Nova.UI.func
  562. G2L["41"] = Instance.new("LocalScript", G2L["2"]);
  563. G2L["41"]["Name"] = [[func]];
  564.  
  565. -- StarterGui.Nova.UI.Dragify
  566. local function C_f()
  567. local script = G2L["f"];
  568.     local UserInputService = game:GetService("UserInputService")
  569.    
  570.     local gui = script.Parent
  571.     local ui = gui.TOPBAR
  572.    
  573.     local dragging
  574.     local dragInput
  575.     local dragStart
  576.     local startPos
  577.    
  578.     local function update(input)
  579.         local delta = input.Position - dragStart
  580.         gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  581.     end
  582.    
  583.     ui.InputBegan:Connect(function(input)
  584.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  585.             dragging = true
  586.             dragStart = input.Position
  587.             startPos = gui.Position
  588.    
  589.             input.Changed:Connect(function()
  590.                 if input.UserInputState == Enum.UserInputState.End then
  591.                     dragging = false
  592.                 end
  593.             end)
  594.         end
  595.     end)
  596.    
  597.     ui.InputChanged:Connect(function(input)
  598.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  599.             dragInput = input
  600.         end
  601.     end)
  602.    
  603.     UserInputService.InputChanged:Connect(function(input)
  604.         if input == dragInput and dragging then
  605.             update(input)
  606.         end
  607.     end)
  608. end;
  609. task.spawn(C_f);
  610. -- StarterGui.Nova.UI.Content.Editor.Display.Holder.LocalScript
  611. local function C_2e()
  612. local script = G2L["2e"];
  613.     local syntax = {
  614.         ["comment"] = {["fore"] = '5c6370'; ["fontStyle"] = Enum.FontStyle.Italic;};
  615.         ["keyword"] = {["fore"] = 'c678dd';};
  616.         ["number"] = {["fore"] = 'd19a66';};
  617.         ["string"] = {["fore"] = '98c379';};
  618.         ["property"] = {["fore"] = "fff"};
  619.         ["global"] = {["fore"] = '61afef;'}
  620.     }
  621.    
  622.     local luaKeywords = {
  623.         "and", "break", "do", "else", "elseif", "end", "false", "for", "function",
  624.         "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then",
  625.         "true", "until", "while"
  626.     }
  627.    
  628.     local globalEnv = {
  629.         "_G", "_VERSION", "getgenv()", "Enum", "game", "plugin", "shared", "script",
  630.         "workspace", "DebuggerManager", "elapsedTime", "LoadLibrary", "PluginManager",
  631.         "settings", "tick", "time", "typeof", "UserSettings", 'assert', 'collectgarbage',
  632.         'error', 'getfenv', "getgenv", 'getmetatable', 'ipairs', 'loadfile', 'loadstring',
  633.         'newproxy', 'next', 'pairs', 'pcall', 'print', 'rawequal', 'rawget', 'rawset',
  634.         'select', 'setfenv', 'setmetatable', 'tonumber', 'tostring', "getsynasset",
  635.         "getcustomasset", 'type', 'unpack', 'xpcall', '_G', 'shared', 'delay', 'require',
  636.         'spawn', 'tick', 'typeof', 'wait', 'warn', 'game', 'Enum', 'script', 'workspace',
  637.         'printidentity',"math.abs", "math.acos", "math.asin", "math.atan", "math.atan2", "math.ceil", "math.cos", "math.cosh", "math.deg", "math.exp", "math.floor", "math.fmod", "math.frexp", "math.huge", "math.ldexp", "math.log", "math.max", "math.min", "math.modf", "math.pi", "math.pow", "math.rad", "math.random", "math.randomseed", "math.sin", "math.sinh", "math.sqrt", "math.tan", "math.tanh", "table.concat", "table.foreach", "table.foreachi", "table.sort", "table.insert", "table.remove", "Color3.new", "Instance.new", "BrickColor.new", "Vector3.new", "Vector2.new", "debug.gethook", "debug.getinfo", "debug.getlocal", "debug.getmetatable", "debug.getregistry", "debug.getupvalue", "debug.getuservalue", "debug.sethook", "debug.setlocal", "debug.setmetatable", "debug.setupvalue", "debug.setuservalue", "debug.traceback", "debug.upvalueid", "debug.upvaluejoin", "string.byte", "string.char", "string.dump", "string.find", "string.format", "string.gmatch", "string.gsub", "string.len", "string.lower", "string.match", "string.rep", "string.reverse", "string.sub", "string.upper", "coroutine.create", "coroutine.resume", "coroutine.running", "coroutine.status", "coroutine.wrap", "coroutine.yield","print", "_G", "warn", "wait", "info", "printidentity", "assert", "collectgarbage", "error", "getfenv", "getmetatable", "setmetatable", "hookmetamethod", "getsynasset", "getcustomasset", "", "ipairs", "loadfile", "loadstring", "newproxy", "next", "pairs", "pcall", "spawn", "rawequal", "rawget", "rawset", "select", "tonumber", "tostring", "type", "unpack", "xpcall", "delay", "stats", ":Remove()", ":BreakJoints()", ":GetChildren()", ":FindFirstChild()", ":FireServer()", ":InvokeServer()", ":ClearAllChildren()", ":Clone()", ":Destroy()", ":FindFirstAncestor()", ":FindFirstAncestorOfClass()", ":FindFirstAncestorWhichIsA()", ":FindFirstChildOfClass()", ":FindFirstChildWhichIsA()", ":GetDebugId()", ":GetDescendants()", ":GetFullName()", ":IsA()", ":GetPropertyChangedSignal()", ":IsAncestorOf()", ":IsDescendantOf()", ":WaitForChild()", ":Connect()", ":AncestryChanged()", ":Changed()", ":ChildAdded()", ":ChildRemoved()", ":DescendantAdded()", ":DescendantRemoving()", ":GetService()", ":GetObjects()", ":HttpGet()", ":Wait()"
  638.     }
  639.    
  640.     local editor = script.Parent.EditorFrame.Source
  641.    
  642.     local function highlightString(string, keywords)
  643.         local highlight = ""
  644.         local quote = false
  645.         string:gsub(".", function(c)
  646.             if quote == false and c == "\"" then
  647.                 quote = true
  648.             elseif quote == true and c == "\"" then
  649.                 quote = false
  650.             end
  651.             if quote == false and c == "\"" then
  652.                 highlight = highlight .. "\""
  653.             elseif c == "\n" then
  654.                 highlight = highlight .. "\n"
  655.             elseif c == "\t" then
  656.                 highlight = highlight .. "\t"
  657.             elseif quote == true then
  658.                 highlight = highlight .. c
  659.             elseif quote == false then
  660.                 highlight = highlight .. "\32"
  661.             end
  662.         end)
  663.    
  664.         return highlight
  665.     end
  666.    
  667.     local function Highlight(string, keywords)
  668.         local K = {}
  669.         local S = string
  670.         local Token = {
  671.             ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true,
  672.             ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true,
  673.             ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true,
  674.             [";"] = true, ["~"] = true
  675.         }
  676.         for _, v in pairs(keywords) do K[v] = true end
  677.         S = S:gsub(".", function(c)
  678.             if Token[c] ~= nil then return "\32"
  679.             else return c end
  680.         end)
  681.         S = S:gsub("%S+", function(c)
  682.             if K[c] ~= nil then return c
  683.             else return (" "):rep(#c) end
  684.         end)
  685.         return S
  686.     end
  687.    
  688.     local function HTokens(string)
  689.         local Token = {
  690.             ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true,
  691.             ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true,
  692.             ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true,
  693.             [";"] = true, ["~"] = true
  694.         }
  695.         local A = ""
  696.         string:gsub(".", function(c)
  697.             if Token[c] ~= nil then A = A .. c
  698.             elseif c == "\n" then A = A .. "\n"
  699.             elseif c == "\t" then A = A .. "\t"
  700.             else A = A .. "\32" end
  701.         end)
  702.         return A
  703.     end
  704.    
  705.     local function Comments(string)
  706.         local ret = ""
  707.         string:gsub("[^\r\n]+", function(c)
  708.             local comm = false
  709.             local i = 0
  710.             c:gsub(".", function(n)
  711.                 i = i + 1
  712.                 --if c:sub(i, i + 1) == "--" or c:sub(i, i + 1) == "--[[" then comm = true end
  713.                 if comm == true then ret = ret .. n
  714.                 else ret = ret .. "\32" end
  715.             end)
  716.             ret = ret
  717.         end)
  718.         return ret
  719.     end
  720.    
  721.     local function Numbers(string)
  722.         local A = ""
  723.         string:gsub(".", function(c)
  724.             if tonumber(c) ~= nil then A = A .. c
  725.             elseif c == "\n" then A = A .. "\n"
  726.             elseif c == "\t" then A = A .. "\t"
  727.             else A = A .. "\32" end
  728.         end)
  729.         return A
  730.     end
  731.    
  732.     local function highlightSource(type)
  733.         if type == "Text" then
  734.             editor.Text = editor.Text:gsub("\13", "")
  735.             editor.Text = editor.Text:gsub("\t", "      ")
  736.             local s = editor.Text
  737.             editor.Parent.Keywords_.Text = Highlight(s, luaKeywords)
  738.             editor.Parent.Globals_.Text = Highlight(s, globalEnv)
  739.             editor.Parent.RemoteHighlight_.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  740.             editor.Parent.Tokens_.Text = HTokens(s)
  741.             editor.Parent.Numbers_.Text = Numbers(s)
  742.             editor.Parent.Strings_.Text = highlightString(s)
  743.             local lin = 1
  744.             s:gsub("\n", function()
  745.                 lin = lin + 1
  746.             end)
  747.             script.Parent.Lines.Text = ""
  748.             for i = 1, lin do
  749.                 script.Parent.Lines.Text = script.Parent.Lines.Text .. i .. "\n"
  750.             end
  751.         end
  752.     end
  753.    
  754.     editor.Changed:Connect(highlightSource)
  755.     highlightSource("Text")
  756. end;
  757. task.spawn(C_2e);
  758.  
  759. local script = G2L["41"];
  760.     -- script.Parent.Content.Editor.Display.Holder.EditorFrame.Source.Text
  761.     -- i love functions (cause im stupid) so heres my useless functions :))
  762.     if not isfolder("Nova") then makefolder("Nova") end
  763.    
  764.     local editorcode = script.Parent.Content.Editor.Display.Holder.EditorFrame.Source
  765.     local manual_code = {["enabled"]=false;["code"]="no."}
  766.  
  767.     local function clear()
  768.         editorcode.Text = "";
  769.     end
  770.     local function execute(code)
  771.         if manual_code.enabled == true then
  772.             runcode(manual_code.code)
  773.         else
  774.             runcode(code)
  775.         end
  776.     end
  777.     local function loadfile()
  778.         if not isfile("Nova/saved.lua") then warn("[✕] Missing Save File!") return end
  779.         editorcode.Text = readfile("Nova/saved.lua")
  780.         print("[✓] Successfuly loaded save file")
  781.     end
  782.     local function savefile(code)
  783.         writefile("Nova/saved.lua", code)
  784.     end
  785.     local function getcode()
  786.         return game:HttpGet(getfenv().settings["api"].."editor/get") or game:HttpGet("https://41bdfdf4-c39c-44d3-b5f6-331b629528f6-00-3gvatu1h6snaa.picard.replit.dev/editor/get")
  787.     end
  788.     local function setaction(action, actiontext)
  789.         if action == "loading" and actiontext ~= nil then
  790.             script.Parent.Content.Editor.Display.Holder.Visible = false;
  791.             script.Parent.Content.Editor.Display.Alert.Visible = true;
  792.             script.Parent.Content.Editor.Display.Alert.Text = actiontext;
  793.         elseif action == "codeview" and actiontext == nil then
  794.             script.Parent.Content.Editor.Display.Alert.Visible = false;
  795.             script.Parent.Content.Editor.Display.Holder.Visible = true;
  796.         end
  797.     end
  798.     local function close()
  799.         pcall(function() getgenv().LOADED = false; getgenv().NOVA = nil end)
  800.         G2L["1"]:Destroy()
  801.     end
  802.    
  803.     local function update()
  804.         local code = getcode();
  805.         if code ~= "" or "aniexe" and code ~= editorcode.Text then
  806.             setaction("codeview")
  807.             script.Parent.Content.Editor.Display.Holder.EditorFrame.Source.Text = code
  808.             print("valid code")
  809.         end
  810.     end
  811.     script.Parent.Options.save.MouseButton1Click:Connect(function() savefile(editorcode) end)
  812.     script.Parent.Options.load.MouseButton1Click:Connect(loadfile)
  813.     script.Parent.Options.clear.MouseButton1Click:Connect(clear)
  814.     script.Parent.Options.execute.MouseButton1Click:Connect(function() execute(editorcode.Text) end)
  815.     script.Parent.TOPBAR.options.CLOSE.MouseButton1Click:Connect(close)
  816.     local rs = game:GetService("RunService")
  817.     --rs.Stepped:Connect(update)
  818.     while true do
  819.         local content = game:HttpGet(getgenv().settings["api"].."editor/get")
  820.         content = string.split(content, "<editor>")[2];
  821.         if #content >= 16383 then manual_code["enabled"]=true;manual_code["code"]=content;script.Parent.Content.Editor.Display.Holder.EditorFrame.Source.Text = "<code is to long to display, "..#content.." (maximum: 16394)>" end
  822.         if content ~= "" or "aniexe" or nil or "nil" then
  823.             setaction("codeview")
  824.             script.Parent.Content.Editor.Display.Holder.EditorFrame.Source.Text = content
  825.             --print(content)      
  826.         end
  827.         wait(0.3)
  828.     end
  829.  
  830. return G2L["1"];
  831.  
  832. --[[
  833. while true do
  834.     local content = game:HttpGet(getgenv().settings["api"].."editor/get")
  835.     content = string.split(content, "<editor>")[2];
  836.     if content ~= "" or "aniexe" or nil or "nil" then
  837.         runcode(content)
  838.     end
  839.     wait(0.3)
  840. end
  841. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement