Advertisement
Msizz

INTERNAL-CODER

Jan 19th, 2024 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.50 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.6
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local UIStroke = Instance.new("UIStroke")
  10. local Frame_2 = Instance.new("Frame")
  11. local UIStroke_2 = Instance.new("UIStroke")
  12. local UIGradient = Instance.new("UIGradient")
  13. local EditorFrame = Instance.new("ScrollingFrame")
  14. local Source = Instance.new("TextBox")
  15. local Comments_ = Instance.new("TextLabel")
  16. local Globals_ = Instance.new("TextLabel")
  17. local Keywords_ = Instance.new("TextLabel")
  18. local RemoteHighlight_ = Instance.new("TextLabel")
  19. local Strings_ = Instance.new("TextLabel")
  20. local Tokens_ = Instance.new("TextLabel")
  21. local Numbers_ = Instance.new("TextLabel")
  22. local Lines = Instance.new("TextLabel")
  23. local UIStroke_3 = Instance.new("UIStroke")
  24. local UICorner_2 = Instance.new("UICorner")
  25. local Run = Instance.new("TextButton")
  26. local UIStroke_4 = Instance.new("UIStroke")
  27. local UICorner_3 = Instance.new("UICorner")
  28. local Clear = Instance.new("TextButton")
  29. local UIStroke_5 = Instance.new("UIStroke")
  30. local UICorner_4 = Instance.new("UICorner")
  31. local Auto = Instance.new("TextButton")
  32. local UIStroke_6 = Instance.new("UIStroke")
  33. local UICorner_5 = Instance.new("UICorner")
  34. local Amount = Instance.new("TextBox")
  35. local UIStroke_7 = Instance.new("UIStroke")
  36. local UICorner_6 = Instance.new("UICorner")
  37. local TextLabel = Instance.new("TextLabel")
  38. local gui = Instance.new("ScreenGui",Frame)
  39. local nextb = Instance.new("ImageButton", gui)
  40. local gui = Instance.new("UICorner", nextb)
  41.  
  42. --Properties:
  43.  
  44. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  45. ScreenGui.ResetOnSpawn = false
  46.  
  47. nextb.Position = UDim2.new(0,100,0,60)
  48. nextb.Size = UDim2.new(0,40,0,40)
  49. nextb.BackgroundColor3 = Color3.fromRGB(18,18,18)
  50. nextb.Image = "rbxassetid://7072720870"
  51. nextb.Active = true
  52. nextb.Draggable = true
  53. nextb.MouseButton1Down:connect(function()
  54. nextb.Image = (Frame.Visible and "rbxassetid://7072720870") or "rbxassetid://7072719338"
  55. Frame.Visible = not Frame.Visible
  56. end)
  57.  
  58. Frame.Parent = ScreenGui
  59. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  60. Frame.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  61. Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  62. Frame.Size = UDim2.new(0, 495, 0, 284)
  63.  
  64. UICorner.Parent = Frame
  65.  
  66. UIStroke.Color = Color3.fromRGB(134, 134, 134)
  67. UIStroke.Thickness = 1.2999999523162842
  68. UIStroke.Parent = Frame
  69.  
  70. Frame_2.Parent = Frame
  71. Frame_2.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  72. Frame_2.BackgroundTransparency = 1.000
  73. Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  74. Frame_2.BorderSizePixel = 0
  75. Frame_2.Position = UDim2.new(0, 0, 0.112676054, 0)
  76. Frame_2.Size = UDim2.new(0, 495, 0, 252)
  77.  
  78. UIStroke_2.Color = Color3.fromRGB(134, 134, 134)
  79. UIStroke_2.Thickness = 1.2999999523162842
  80. UIStroke_2.Parent = Frame_2
  81.  
  82. UIGradient.Rotation = 90
  83. UIGradient.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.00), NumberSequenceKeypoint.new(1.00, 1.00), NumberSequenceKeypoint.new(1.00, 0.00)}
  84. UIGradient.Parent = UIStroke_2
  85.  
  86. EditorFrame.Name = "EditorFrame"
  87. EditorFrame.Parent = Frame_2
  88. EditorFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  89. EditorFrame.BorderColor3 = Color3.fromRGB(61, 61, 61)
  90. EditorFrame.BorderSizePixel = 0
  91. EditorFrame.Position = UDim2.new(0, 11, 0, 10)
  92. EditorFrame.Size = UDim2.new(0, 472, 0, 199)
  93. EditorFrame.ZIndex = 3
  94. EditorFrame.BottomImage = "rbxassetid://148970562"
  95. EditorFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  96. EditorFrame.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  97. EditorFrame.MidImage = "rbxassetid://148970562"
  98. EditorFrame.ScrollBarThickness = 5
  99. EditorFrame.TopImage = "rbxassetid://148970562"
  100.  
  101. Source.Name = "Source"
  102. Source.Parent = EditorFrame
  103. Source.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  104. Source.BackgroundTransparency = 1.000
  105. Source.Position = UDim2.new(0, 30, 0, 0)
  106. Source.Size = UDim2.new(1.36652553, 0, 2.13065338, 0)
  107. Source.ZIndex = 3
  108. Source.ClearTextOnFocus = false
  109. Source.Font = Enum.Font.Code
  110. Source.MultiLine = true
  111. Source.PlaceholderColor3 = Color3.fromRGB(204, 204, 204)
  112. Source.Text = ""
  113. Source.TextColor3 = Color3.fromRGB(204, 204, 204)
  114. Source.TextSize = 15.000
  115. Source.TextXAlignment = Enum.TextXAlignment.Left
  116. Source.TextYAlignment = Enum.TextYAlignment.Top
  117.  
  118. Comments_.Name = "Comments_"
  119. Comments_.Parent = Source
  120. Comments_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  121. Comments_.BackgroundTransparency = 1.000
  122. Comments_.Size = UDim2.new(1, 0, 1, 0)
  123. Comments_.ZIndex = 5
  124. Comments_.Font = Enum.Font.Code
  125. Comments_.Text = ""
  126. Comments_.TextColor3 = Color3.fromRGB(153, 153, 153)
  127. Comments_.TextSize = 15.000
  128. Comments_.TextXAlignment = Enum.TextXAlignment.Left
  129. Comments_.TextYAlignment = Enum.TextYAlignment.Top
  130.  
  131. Globals_.Name = "Globals_"
  132. Globals_.Parent = Source
  133. Globals_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  134. Globals_.BackgroundTransparency = 1.000
  135. Globals_.Size = UDim2.new(1, 0, 1, 0)
  136. Globals_.ZIndex = 5
  137. Globals_.Font = Enum.Font.Code
  138. Globals_.Text = ""
  139. Globals_.TextColor3 = Color3.fromRGB(102, 204, 204)
  140. Globals_.TextSize = 15.000
  141. Globals_.TextXAlignment = Enum.TextXAlignment.Left
  142. Globals_.TextYAlignment = Enum.TextYAlignment.Top
  143.  
  144. Keywords_.Name = "Keywords_"
  145. Keywords_.Parent = Source
  146. Keywords_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  147. Keywords_.BackgroundTransparency = 1.000
  148. Keywords_.Size = UDim2.new(1, 0, 1, 0)
  149. Keywords_.ZIndex = 5
  150. Keywords_.Font = Enum.Font.Code
  151. Keywords_.Text = ""
  152. Keywords_.TextColor3 = Color3.fromRGB(242, 119, 122)
  153. Keywords_.TextSize = 15.000
  154. Keywords_.TextXAlignment = Enum.TextXAlignment.Left
  155. Keywords_.TextYAlignment = Enum.TextYAlignment.Top
  156.  
  157. RemoteHighlight_.Name = "RemoteHighlight_"
  158. RemoteHighlight_.Parent = Source
  159. RemoteHighlight_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  160. RemoteHighlight_.BackgroundTransparency = 1.000
  161. RemoteHighlight_.Size = UDim2.new(1, 0, 1, 0)
  162. RemoteHighlight_.ZIndex = 5
  163. RemoteHighlight_.Font = Enum.Font.Code
  164. RemoteHighlight_.Text = ""
  165. RemoteHighlight_.TextColor3 = Color3.fromRGB(102, 153, 204)
  166. RemoteHighlight_.TextSize = 15.000
  167. RemoteHighlight_.TextXAlignment = Enum.TextXAlignment.Left
  168. RemoteHighlight_.TextYAlignment = Enum.TextYAlignment.Top
  169.  
  170. Strings_.Name = "Strings_"
  171. Strings_.Parent = Source
  172. Strings_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  173. Strings_.BackgroundTransparency = 1.000
  174. Strings_.Size = UDim2.new(1, 0, 1, 0)
  175. Strings_.ZIndex = 5
  176. Strings_.Font = Enum.Font.Code
  177. Strings_.Text = ""
  178. Strings_.TextColor3 = Color3.fromRGB(153, 204, 153)
  179. Strings_.TextSize = 15.000
  180. Strings_.TextXAlignment = Enum.TextXAlignment.Left
  181. Strings_.TextYAlignment = Enum.TextYAlignment.Top
  182.  
  183. Tokens_.Name = "Tokens_"
  184. Tokens_.Parent = Source
  185. Tokens_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. Tokens_.BackgroundTransparency = 1.000
  187. Tokens_.Size = UDim2.new(1, 0, 1, 0)
  188. Tokens_.ZIndex = 5
  189. Tokens_.Font = Enum.Font.Code
  190. Tokens_.Text = ""
  191. Tokens_.TextColor3 = Color3.fromRGB(255, 255, 255)
  192. Tokens_.TextSize = 15.000
  193. Tokens_.TextXAlignment = Enum.TextXAlignment.Left
  194. Tokens_.TextYAlignment = Enum.TextYAlignment.Top
  195.  
  196. Numbers_.Name = "Numbers_"
  197. Numbers_.Parent = Source
  198. Numbers_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  199. Numbers_.BackgroundTransparency = 1.000
  200. Numbers_.Size = UDim2.new(1, 0, 1, 0)
  201. Numbers_.ZIndex = 4
  202. Numbers_.Font = Enum.Font.Code
  203. Numbers_.Text = ""
  204. Numbers_.TextColor3 = Color3.fromRGB(255, 204, 102)
  205. Numbers_.TextSize = 15.000
  206. Numbers_.TextXAlignment = Enum.TextXAlignment.Left
  207. Numbers_.TextYAlignment = Enum.TextYAlignment.Top
  208.  
  209. Lines.Name = "Lines"
  210. Lines.Parent = EditorFrame
  211. Lines.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  212. Lines.BackgroundTransparency = 1.000
  213. Lines.Size = UDim2.new(0, 30, 1, 0)
  214. Lines.ZIndex = 4
  215. Lines.Font = Enum.Font.Code
  216. Lines.Text = "1"
  217. Lines.TextColor3 = Color3.fromRGB(255, 255, 255)
  218. Lines.TextSize = 15.000
  219. Lines.TextYAlignment = Enum.TextYAlignment.Top
  220.  
  221. UIStroke_3.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  222. UIStroke_3.Color = Color3.fromRGB(134, 134, 134)
  223. UIStroke_3.Thickness = 1.2999999523162842
  224. UIStroke_3.Parent = EditorFrame
  225.  
  226. UICorner_2.Parent = EditorFrame
  227.  
  228. Run.Name = "Run"
  229. Run.Parent = Frame_2
  230. Run.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  231. Run.BorderColor3 = Color3.fromRGB(0, 0, 0)
  232. Run.BorderSizePixel = 0
  233. Run.Position = UDim2.new(0.0222222228, 0, 0.869047642, 0)
  234. Run.Size = UDim2.new(0, 123, 0, 23)
  235. Run.AutoButtonColor = false
  236. Run.Font = Enum.Font.Unknown
  237. Run.Text = "Run"
  238. Run.TextColor3 = Color3.fromRGB(255, 255, 255)
  239. Run.TextSize = 15.000
  240.  
  241. UIStroke_4.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  242. UIStroke_4.Color = Color3.fromRGB(134, 134, 134)
  243. UIStroke_4.Thickness = 1.2999999523162842
  244. UIStroke_4.Parent = Run
  245.  
  246. UICorner_3.Parent = Run
  247.  
  248. Clear.Name = "Clear"
  249. Clear.Parent = Frame_2
  250. Clear.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  251. Clear.BorderColor3 = Color3.fromRGB(0, 0, 0)
  252. Clear.BorderSizePixel = 0
  253. Clear.Position = UDim2.new(0.294949502, 0, 0.869047642, 0)
  254. Clear.Size = UDim2.new(0, 82, 0, 23)
  255. Clear.AutoButtonColor = false
  256. Clear.Font = Enum.Font.Unknown
  257. Clear.Text = "Clear"
  258. Clear.TextColor3 = Color3.fromRGB(255, 255, 255)
  259. Clear.TextSize = 15.000
  260.  
  261. UIStroke_5.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  262. UIStroke_5.Color = Color3.fromRGB(134, 134, 134)
  263. UIStroke_5.Thickness = 1.2999999523162842
  264. UIStroke_5.Parent = Clear
  265.  
  266. UICorner_4.Parent = Clear
  267.  
  268. Auto.Name = "Auto"
  269. Auto.Parent = Frame_2
  270. Auto.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  271. Auto.BorderColor3 = Color3.fromRGB(0, 0, 0)
  272. Auto.BorderSizePixel = 0
  273. Auto.Position = UDim2.new(0.866666675, 0, 0.869047642, 0)
  274. Auto.Size = UDim2.new(0, 54, 0, 23)
  275. Auto.AutoButtonColor = false
  276. Auto.Font = Enum.Font.Unknown
  277. Auto.Text = "Auto"
  278. Auto.TextColor3 = Color3.fromRGB(255, 83, 83)
  279. Auto.TextSize = 15.000
  280.  
  281. UIStroke_6.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  282. UIStroke_6.Color = Color3.fromRGB(134, 134, 134)
  283. UIStroke_6.Thickness = 1.2999999523162842
  284. UIStroke_6.Parent = Auto
  285.  
  286. UICorner_5.Parent = Auto
  287.  
  288. Amount.Name = "Amount"
  289. Amount.Parent = Frame_2
  290. Amount.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  291. Amount.BorderColor3 = Color3.fromRGB(0, 0, 0)
  292. Amount.BorderSizePixel = 0
  293. Amount.Position = UDim2.new(0.733333349, 0, 0.869047642, 0)
  294. Amount.Size = UDim2.new(0, 59, 0, 23)
  295. Amount.ClearTextOnFocus = false
  296. Amount.Font = Enum.Font.Unknown
  297. Amount.Text = "1"
  298. Amount.TextColor3 = Color3.fromRGB(255, 255, 255)
  299. Amount.TextSize = 18.000
  300.  
  301. UIStroke_7.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  302. UIStroke_7.Color = Color3.fromRGB(134, 134, 134)
  303. UIStroke_7.Thickness = 1.2999999523162842
  304. UIStroke_7.Parent = Amount
  305.  
  306. UICorner_6.Parent = Amount
  307.  
  308. TextLabel.Parent = Frame
  309. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  310. TextLabel.BackgroundTransparency = 1.000
  311. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  312. TextLabel.BorderSizePixel = 0
  313. TextLabel.Size = UDim2.new(0, 494, 0, 32)
  314. TextLabel.Font = Enum.Font.Unknown
  315. TextLabel.Text = "INTERNAL-CODER"
  316. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  317. TextLabel.TextSize = 25.000
  318.  
  319. -- Scripts:
  320.  
  321. local function JNEOZH_fake_script() -- Frame.Dragify
  322. local script = Instance.new('LocalScript', Frame)
  323.  
  324. local UserInputService = game:GetService("UserInputService")
  325.  
  326. local gui = script.Parent
  327.  
  328. local dragging
  329. local dragInput
  330. local dragStart
  331. local startPos
  332.  
  333. local function update(input)
  334. local delta = input.Position - dragStart
  335. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  336. end
  337.  
  338. gui.InputBegan:Connect(function(input)
  339. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  340. dragging = true
  341. dragStart = input.Position
  342. startPos = gui.Position
  343.  
  344. input.Changed:Connect(function()
  345. if input.UserInputState == Enum.UserInputState.End then
  346. dragging = false
  347. end
  348. end)
  349. end
  350. end)
  351.  
  352. gui.InputChanged:Connect(function(input)
  353. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  354. dragInput = input
  355. end
  356. end)
  357.  
  358. UserInputService.InputChanged:Connect(function(input)
  359. if input == dragInput and dragging then
  360. update(input)
  361. end
  362. end)
  363. end
  364. coroutine.wrap(JNEOZH_fake_script)()
  365. local function AXDJZNN_fake_script() -- Frame_2.Function
  366. local script = Instance.new('LocalScript', Frame_2)
  367.  
  368. local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while", "is_synapse_function","is_protosmasher_caller", "execute","foreach","foreachi","insert","syn","HttpGet","HttpPost","__index","__namecall","__add","__call","__tostring","__tonumber","__div"}
  369. local global_env = {"getrawmetatable", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16","run_secure_function","create_secure_function","hookfunc","hookfunction","newcclosure","replaceclosure","islclosure","getgc","gcinfo","rconsolewarn","rconsoleprint","rconsoleinfo","rconsoleinput","rconsoleinputasync","rconsoleclear","rconsoleerr",}
  370.  
  371. local src = script.Parent.EditorFrame.Source
  372. local lin = script.Parent.EditorFrame.Lines
  373.  
  374. local Highlight = function(string, keywords)
  375. local K = {}
  376. local S = string
  377. local Token =
  378. {
  379. ["="] = true,
  380. ["."] = true,
  381. [","] = true,
  382. ["("] = true,
  383. [")"] = true,
  384. ["["] = true,
  385. ["]"] = true,
  386. ["{"] = true,
  387. ["}"] = true,
  388. [":"] = true,
  389. ["*"] = true,
  390. ["/"] = true,
  391. ["+"] = true,
  392. ["-"] = true,
  393. ["%"] = true,
  394. [";"] = true,
  395. ["~"] = true
  396. }
  397. for i, v in pairs(keywords) do
  398. K[v] = true
  399. end
  400. S = S:gsub(".", function(c)
  401. if Token[c] ~= nil then
  402. return "\32"
  403. else
  404. return c
  405. end
  406. end)
  407. S = S:gsub("%S+", function(c)
  408. if K[c] ~= nil then
  409. return c
  410. else
  411. return (" "):rep(#c)
  412. end
  413. end)
  414.  
  415. return S
  416. end
  417.  
  418. local hTokens = function(string)
  419. local Token =
  420. {
  421. ["="] = true,
  422. ["."] = true,
  423. [","] = true,
  424. ["("] = true,
  425. [")"] = true,
  426. ["["] = true,
  427. ["]"] = true,
  428. ["{"] = true,
  429. ["}"] = true,
  430. [":"] = true,
  431. ["*"] = true,
  432. ["/"] = true,
  433. ["+"] = true,
  434. ["-"] = true,
  435. ["%"] = true,
  436. [";"] = true,
  437. ["~"] = true
  438. }
  439. local A = ""
  440. local B = [[]]
  441. string:gsub(".", function(c)
  442. if Token[c] ~= nil then
  443. A = A .. c
  444. elseif c == "\n" then
  445. A = A .. "\n"
  446. elseif c == "\t" then
  447. A = A .. "\t"
  448. else
  449. A = A .. "\32"
  450. end
  451. end)
  452. return A
  453. end
  454.  
  455.  
  456. local strings = function(string)
  457. local highlight = ""
  458. local quote = false
  459. string:gsub(".", function(c)
  460. if quote == false and c == "\"" then
  461. quote = true
  462. elseif quote == true and c == "\"" then
  463. quote = false
  464. end
  465. if quote == false and c == "\"" then
  466. highlight = highlight .. "\""
  467. elseif c == "\n" then
  468. highlight = highlight .. "\n"
  469. elseif c == "\t" then
  470. highlight = highlight .. "\t"
  471. elseif quote == true then
  472. highlight = highlight .. c
  473. elseif quote == false then
  474. highlight = highlight .. "\32"
  475. end
  476. end)
  477.  
  478. return highlight
  479. end
  480.  
  481. local comments = function(string)
  482. local ret = ""
  483. string:gsub("[^\r\n]+", function(c)
  484. local comm = false
  485. local i = 0
  486. c:gsub(".", function(n)
  487. i = i + 1
  488. if c:sub(i, i + 1) == "--" then
  489. comm = true
  490. end
  491. if comm == true then
  492. ret = ret .. n
  493. else
  494. ret = ret .. "\32"
  495. end
  496. end)
  497. ret = ret
  498. end)
  499.  
  500. return ret
  501. end
  502.  
  503. local numbers = function(string)
  504. local A = ""
  505. string:gsub(".", function(c)
  506. if tonumber(c) ~= nil then
  507. A = A .. c
  508. elseif c == "\n" then
  509. A = A .. "\n"
  510. elseif c == "\t" then
  511. A = A .. "\t"
  512. else
  513. A = A .. "\32"
  514. end
  515. end)
  516.  
  517. return A
  518. end
  519.  
  520. local highlight_source = function(type)
  521. if type == "Text" then
  522. src.Text = script.Parent.EditorFrame.Source.Text:gsub("\13", "")
  523. src.Text = script.Parent.EditorFrame.Source.Text:gsub("\t", " ")
  524. local s = src.Text
  525. src.Keywords_.Text = Highlight(s, lua_keywords)
  526. src.Globals_.Text = Highlight(s, global_env)
  527. src.RemoteHighlight_.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  528. src.Tokens_.Text = hTokens(s)
  529. src.Numbers_.Text = numbers(s)
  530. src.Strings_.Text = strings(s)
  531. local lin = 1
  532. s:gsub("\n", function()
  533. lin = lin + 1
  534. end)
  535. script.Parent.EditorFrame.Lines.Text = ""
  536. for i = 1, lin do
  537. script.Parent.EditorFrame.Lines.Text = script.Parent.EditorFrame.Lines.Text .. i .. "\n"
  538. end
  539. end
  540. end
  541.  
  542. highlight_source("Text")
  543.  
  544. src.Changed:Connect(highlight_source)
  545. end
  546. coroutine.wrap(AXDJZNN_fake_script)()
  547. local function NQLCOI_fake_script() -- Frame_2.Executor
  548. local script = Instance.new('LocalScript', Frame_2)
  549.  
  550. local run = script.Parent.Run
  551. local Clear = script.Parent.Clear
  552. local auto = script.Parent.Auto
  553. local amount = script.Parent.Amount
  554. local editor = script.Parent.EditorFrame.Source
  555.  
  556. local Toggle = false
  557.  
  558. local function Run()
  559. for i = 1, amount.Text do
  560. assert(loadstring(editor.Text))()
  561. Wait()
  562. end
  563. end
  564.  
  565. local function clear()
  566. editor.Text=""
  567. end
  568.  
  569. local function ToggleAuto()
  570. if Toggle == false then
  571. auto.TextColor3 = Color3.fromRGB(100,255,100)
  572. Toggle = true
  573. else
  574. auto.TextColor3 = Color3.fromRGB(255, 83, 83)
  575. Toggle = false
  576. end
  577. while Toggle == true do
  578. assert(loadstring(editor.Text))()
  579. wait()
  580. end
  581. end
  582.  
  583. run.MouseButton1Down:Connect(function()
  584. Run()
  585. end)
  586. Clear.MouseButton1Down:Connect(function()
  587. clear()
  588. end)
  589. auto.MouseButton1Down:Connect(function()
  590. ToggleAuto()
  591. end)
  592.  
  593. while true do
  594. run.Text = "Run ["..amount.Text.."]"
  595. wait()
  596. end
  597.  
  598. end
  599. coroutine.wrap(NQLCOI_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement