Advertisement
Msizz

dada

May 30th, 2023 (edited)
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.06 KB | None | 0 0
  1. UI = {}
  2.  
  3. function UI:New(key)
  4. for i,v in pairs(game.CoreGui:GetChildren()) do
  5. if v.Name == "InternalUI" then
  6. v:Destroy()
  7. else
  8. end
  9. end
  10.  
  11. local InternalUI = Instance.new("ScreenGui")
  12. local Executer = Instance.new("Frame")
  13. local UICorner = Instance.new("UICorner")
  14. local UIStroke = Instance.new("UIStroke")
  15. local Header = Instance.new("TextLabel")
  16. local Minimize = Instance.new("TextButton")
  17. local ScriptHub = Instance.new("Frame")
  18. local UICorner_2 = Instance.new("UICorner")
  19. local UIStroke_2 = Instance.new("UIStroke")
  20. local Run = Instance.new("TextButton")
  21. local UIStroke_3 = Instance.new("UIStroke")
  22. local UICorner_3 = Instance.new("UICorner")
  23. local Scripts = Instance.new("TextButton")
  24. local Frame = Instance.new("Frame")
  25. local UIListLayout = Instance.new("UIListLayout")
  26. local UICorner_4 = Instance.new("UICorner")
  27. local UIStroke_4 = Instance.new("UIStroke")
  28. local UIStroke_6 = Instance.new("UIStroke")
  29. local UICorner_6 = Instance.new("UICorner")
  30. local Clear = Instance.new("TextButton")
  31. local UIStroke_7 = Instance.new("UIStroke")
  32. local UICorner_7 = Instance.new("UICorner")
  33. local EditorFrame = Instance.new("ScrollingFrame")
  34. local Source = Instance.new("TextBox")
  35. local Comments_ = Instance.new("TextLabel")
  36. local Globals_ = Instance.new("TextLabel")
  37. local Keywords_ = Instance.new("TextLabel")
  38. local RemoteHighlight_ = Instance.new("TextLabel")
  39. local Strings_ = Instance.new("TextLabel")
  40. local Tokens_ = Instance.new("TextLabel")
  41. local Numbers_ = Instance.new("TextLabel")
  42. local Lines = Instance.new("TextLabel")
  43. local UIStroke_8 = Instance.new("UIStroke")
  44. local UICorner_8 = Instance.new("UICorner")
  45.  
  46. --Properties:
  47.  
  48. InternalUI.Name = "InternalUI"
  49. InternalUI.Parent = game.CoreGui
  50.  
  51. Executer.Name = "Executer"
  52. Executer.Parent = InternalUI
  53. Executer.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  54. Executer.Position = UDim2.new(0.145468369, 0, 0.256790131, 0)
  55. Executer.Size = UDim2.new(0, 424, 0, 22)
  56. Executer.Visible = false
  57.  
  58. UICorner.CornerRadius = UDim.new(0, 4)
  59. UICorner.Parent = Executer
  60.  
  61. UIStroke.Color = Color3.fromRGB(255, 255, 255)
  62. UIStroke.Parent = Executer
  63.  
  64. Header.Name = "Header"
  65. Header.Parent = Executer
  66. Header.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  67. Header.BackgroundTransparency = 1.000
  68. Header.Position = UDim2.new(0.00941176433, 0, 0, 0)
  69. Header.Size = UDim2.new(0, 404, 0, 21)
  70. Header.ZIndex = 2
  71. Header.Font = Enum.Font.SourceSans
  72. Header.Text = "Executer"
  73. Header.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. Header.TextSize = 14.000
  75. Header.TextXAlignment = Enum.TextXAlignment.Left
  76.  
  77. Minimize.Name = "Minimize"
  78. Minimize.Parent = Executer
  79. Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. Minimize.BackgroundTransparency = 1.000
  81. Minimize.Position = UDim2.new(0.943396211, 0, 0.13636364, 0)
  82. Minimize.Size = UDim2.new(0, 23, 0, 16)
  83. Minimize.ZIndex = 2
  84. Minimize.Font = Enum.Font.SourceSans
  85. Minimize.LineHeight = 3.000
  86. Minimize.Text = "-"
  87. Minimize.TextColor3 = Color3.fromRGB(255, 255, 255)
  88. Minimize.TextSize = 40.000
  89. Minimize.TextWrapped = true
  90.  
  91. ScriptHub.Name = "ScriptHub"
  92. ScriptHub.Parent = Executer
  93. ScriptHub.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  94. ScriptHub.Position = UDim2.new(-0.000596532307, 0, 0.0075211958, 0)
  95. ScriptHub.Size = UDim2.new(0, 425, 0, 354)
  96.  
  97. UICorner_2.CornerRadius = UDim.new(0, 4)
  98. UICorner_2.Parent = ScriptHub
  99.  
  100. UIStroke_2.Color = Color3.fromRGB(255, 255, 255)
  101. UIStroke_2.Parent = ScriptHub
  102.  
  103. Run.Name = "Run"
  104. Run.Parent = ScriptHub
  105. Run.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  106. Run.Position = UDim2.new(0.256470591, 0, 0.92937851, 0)
  107. Run.Size = UDim2.new(0, 46, 0, 18)
  108. Run.Font = Enum.Font.SourceSans
  109. Run.Text = "Run"
  110. Run.TextColor3 = Color3.fromRGB(255, 255, 255)
  111. Run.TextSize = 14.000
  112.  
  113. UIStroke_3.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  114. UIStroke_3.Color = Color3.fromRGB(255, 255, 255)
  115. UIStroke_3.Parent = Run
  116.  
  117. UICorner_3.CornerRadius = UDim.new(0, 4)
  118. UICorner_3.Parent = Run
  119.  
  120. Scripts.Name = "Scripts"
  121. Scripts.Parent = ScriptHub
  122. Scripts.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  123. Scripts.Position = UDim2.new(0.00941176433, 0, 0.0593220331, 0)
  124. Scripts.Size = UDim2.new(0, 98, 0, 18)
  125. Scripts.Font = Enum.Font.SourceSans
  126. Scripts.Text = "Scripts"
  127. Scripts.TextColor3 = Color3.fromRGB(255, 255, 255)
  128. Scripts.TextSize = 14.000
  129.  
  130. Frame.Parent = Scripts
  131. Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  132. Frame.Position = UDim2.new(-0.0102040814, 0, 1.38888884, 0)
  133. Frame.Size = UDim2.new(0, 100, 0, 301)
  134.  
  135. UIListLayout.Parent = Frame
  136. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  137. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  138. UIListLayout.Padding = UDim.new(0, 8)
  139.  
  140. UICorner_4.CornerRadius = UDim.new(0, 4)
  141. UICorner_4.Parent = Frame
  142.  
  143. UIStroke_4.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  144. UIStroke_4.Color = Color3.fromRGB(255, 255, 255)
  145. UIStroke_4.Parent = Frame
  146.  
  147. UIStroke_6.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  148. UIStroke_6.Color = Color3.fromRGB(255, 255, 255)
  149. UIStroke_6.Parent = Scripts
  150.  
  151. UICorner_6.CornerRadius = UDim.new(0, 4)
  152. UICorner_6.Parent = Scripts
  153.  
  154. Clear.Name = "Clear"
  155. Clear.Parent = ScriptHub
  156. Clear.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  157. Clear.Position = UDim2.new(0.381176472, 0, 0.92937851, 0)
  158. Clear.Size = UDim2.new(0, 46, 0, 18)
  159. Clear.Font = Enum.Font.SourceSans
  160. Clear.Text = "Clear"
  161. Clear.TextColor3 = Color3.fromRGB(255, 255, 255)
  162. Clear.TextSize = 14.000
  163.  
  164. UIStroke_7.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  165. UIStroke_7.Color = Color3.fromRGB(255, 255, 255)
  166. UIStroke_7.Parent = Clear
  167.  
  168. UICorner_7.CornerRadius = UDim.new(0, 4)
  169. UICorner_7.Parent = Clear
  170.  
  171. EditorFrame.Name = "EditorFrame"
  172. EditorFrame.Parent = ScriptHub
  173. EditorFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  174. EditorFrame.BorderColor3 = Color3.fromRGB(61, 61, 61)
  175. EditorFrame.BorderSizePixel = 0
  176. EditorFrame.Position = UDim2.new(0, 109, 0, 21)
  177. EditorFrame.Size = UDim2.new(0, 311, 0, 300)
  178. EditorFrame.ZIndex = 3
  179. EditorFrame.BottomImage = "rbxassetid://148970562"
  180. EditorFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  181. EditorFrame.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  182. EditorFrame.MidImage = "rbxassetid://148970562"
  183. EditorFrame.ScrollBarThickness = 5
  184. EditorFrame.TopImage = "rbxassetid://148970562"
  185.  
  186. Source.Name = "Source"
  187. Source.Parent = EditorFrame
  188. Source.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  189. Source.BackgroundTransparency = 1.000
  190. Source.Position = UDim2.new(0, 29, 0, 0)
  191. Source.Size = UDim2.new(0, 9999, 0, 9999)
  192. Source.ZIndex = 3
  193. Source.ClearTextOnFocus = false
  194. Source.Font = Enum.Font.Code
  195. Source.MultiLine = true
  196. Source.PlaceholderColor3 = Color3.fromRGB(204, 204, 204)
  197. Source.Text = "print(\"...\")"
  198. Source.TextColor3 = Color3.fromRGB(255, 255, 255)
  199. Source.TextSize = 15.000
  200. Source.TextXAlignment = Enum.TextXAlignment.Left
  201. Source.TextYAlignment = Enum.TextYAlignment.Top
  202.  
  203. Comments_.Name = "Comments_"
  204. Comments_.Parent = Source
  205. Comments_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  206. Comments_.BackgroundTransparency = 1.000
  207. Comments_.Size = UDim2.new(1, 0, 1, 0)
  208. Comments_.ZIndex = 5
  209. Comments_.Font = Enum.Font.Code
  210. Comments_.Text = ""
  211. Comments_.TextColor3 = Color3.fromRGB(255, 170, 0)
  212. Comments_.TextSize = 15.000
  213. Comments_.TextXAlignment = Enum.TextXAlignment.Left
  214. Comments_.TextYAlignment = Enum.TextYAlignment.Top
  215.  
  216. Globals_.Name = "Globals_"
  217. Globals_.Parent = Source
  218. Globals_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  219. Globals_.BackgroundTransparency = 1.000
  220. Globals_.Size = UDim2.new(1, 0, 1, 0)
  221. Globals_.ZIndex = 5
  222. Globals_.Font = Enum.Font.Code
  223. Globals_.Text = ""
  224. Globals_.TextColor3 = Color3.fromRGB(140, 142, 255)
  225. Globals_.TextSize = 15.000
  226. Globals_.TextXAlignment = Enum.TextXAlignment.Left
  227. Globals_.TextYAlignment = Enum.TextYAlignment.Top
  228.  
  229. Keywords_.Name = "Keywords_"
  230. Keywords_.Parent = Source
  231. Keywords_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  232. Keywords_.BackgroundTransparency = 1.000
  233. Keywords_.Size = UDim2.new(1, 0, 1, 0)
  234. Keywords_.ZIndex = 5
  235. Keywords_.Font = Enum.Font.Code
  236. Keywords_.Text = ""
  237. Keywords_.TextColor3 = Color3.fromRGB(140, 142, 255)
  238. Keywords_.TextSize = 15.000
  239. Keywords_.TextXAlignment = Enum.TextXAlignment.Left
  240. Keywords_.TextYAlignment = Enum.TextYAlignment.Top
  241.  
  242. RemoteHighlight_.Name = "RemoteHighlight_"
  243. RemoteHighlight_.Parent = Source
  244. RemoteHighlight_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  245. RemoteHighlight_.BackgroundTransparency = 1.000
  246. RemoteHighlight_.Size = UDim2.new(1, 0, 1, 0)
  247. RemoteHighlight_.ZIndex = 5
  248. RemoteHighlight_.Font = Enum.Font.Code
  249. RemoteHighlight_.Text = ""
  250. RemoteHighlight_.TextColor3 = Color3.fromRGB(140, 142, 255)
  251. RemoteHighlight_.TextSize = 15.000
  252. RemoteHighlight_.TextXAlignment = Enum.TextXAlignment.Left
  253. RemoteHighlight_.TextYAlignment = Enum.TextYAlignment.Top
  254.  
  255. Strings_.Name = "Strings_"
  256. Strings_.Parent = Source
  257. Strings_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  258. Strings_.BackgroundTransparency = 1.000
  259. Strings_.Size = UDim2.new(1, 0, 1, 0)
  260. Strings_.ZIndex = 5
  261. Strings_.Font = Enum.Font.Code
  262. Strings_.Text = ""
  263. Strings_.TextColor3 = Color3.fromRGB(140, 142, 255)
  264. Strings_.TextSize = 15.000
  265. Strings_.TextXAlignment = Enum.TextXAlignment.Left
  266. Strings_.TextYAlignment = Enum.TextYAlignment.Top
  267.  
  268. Tokens_.Name = "Tokens_"
  269. Tokens_.Parent = Source
  270. Tokens_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  271. Tokens_.BackgroundTransparency = 1.000
  272. Tokens_.Size = UDim2.new(1, 0, 1, 0)
  273. Tokens_.ZIndex = 5
  274. Tokens_.Font = Enum.Font.Code
  275. Tokens_.Text = ""
  276. Tokens_.TextColor3 = Color3.fromRGB(255, 170, 0)
  277. Tokens_.TextSize = 15.000
  278. Tokens_.TextXAlignment = Enum.TextXAlignment.Left
  279. Tokens_.TextYAlignment = Enum.TextYAlignment.Top
  280.  
  281. Numbers_.Name = "Numbers_"
  282. Numbers_.Parent = Source
  283. Numbers_.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  284. Numbers_.BackgroundTransparency = 1.000
  285. Numbers_.Size = UDim2.new(1, 0, 1, 0)
  286. Numbers_.ZIndex = 4
  287. Numbers_.Font = Enum.Font.Code
  288. Numbers_.Text = ""
  289. Numbers_.TextColor3 = Color3.fromRGB(140, 142, 255)
  290. Numbers_.TextSize = 15.000
  291. Numbers_.TextXAlignment = Enum.TextXAlignment.Left
  292. Numbers_.TextYAlignment = Enum.TextYAlignment.Top
  293.  
  294. Lines.Name = "Lines"
  295. Lines.Parent = EditorFrame
  296. Lines.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  297. Lines.BackgroundTransparency = 1.000
  298. Lines.Size = UDim2.new(0, 30, 1, 0)
  299. Lines.ZIndex = 4
  300. Lines.Font = Enum.Font.Code
  301. Lines.Text = "1"
  302. Lines.TextColor3 = Color3.fromRGB(255, 255, 255)
  303. Lines.TextSize = 15.000
  304. Lines.TextYAlignment = Enum.TextYAlignment.Top
  305.  
  306. UIStroke_8.Color = Color3.fromRGB(255, 255, 255)
  307. UIStroke_8.Parent = EditorFrame
  308.  
  309. UICorner_8.CornerRadius = UDim.new(0, 4)
  310. UICorner_8.Parent = EditorFrame
  311.  
  312. -- Scripts:
  313.  
  314. local function KNYLAC_fake_script() -- Executer.Dragify
  315. local script = Instance.new('LocalScript', Executer)
  316.  
  317. local UserInputService = game:GetService("UserInputService")
  318.  
  319. local gui = script.Parent
  320.  
  321. local dragging
  322. local dragInput
  323. local dragStart
  324. local startPos
  325.  
  326. local function update(input)
  327. local delta = input.Position - dragStart
  328. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  329. end
  330.  
  331. gui.InputBegan:Connect(function(input)
  332. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  333. dragging = true
  334. dragStart = input.Position
  335. startPos = gui.Position
  336.  
  337. input.Changed:Connect(function()
  338. if input.UserInputState == Enum.UserInputState.End then
  339. dragging = false
  340. end
  341. end)
  342. end
  343. end)
  344.  
  345. gui.InputChanged:Connect(function(input)
  346. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  347. dragInput = input
  348. end
  349. end)
  350.  
  351. UserInputService.InputChanged:Connect(function(input)
  352. if input == dragInput and dragging then
  353. update(input)
  354. end
  355. end)
  356. end
  357. coroutine.wrap(KNYLAC_fake_script)()
  358. local function WZFRK_fake_script() -- Executer.LocalScript
  359. local script = Instance.new('LocalScript', Executer)
  360.  
  361. script.Parent.Minimize.MouseButton1Click:Connect(function()
  362. script.Parent.ScriptHub.Visible = not script.Parent.ScriptHub.Visible
  363. end)
  364. end
  365. coroutine.wrap(WZFRK_fake_script)()
  366. local function UQKA_fake_script() -- Run.LocalScript
  367. local script = Instance.new('LocalScript', Run)
  368.  
  369. script.Parent.MouseButton1Click:Connect(function()
  370. assert(loadstring(script.Parent.Parent.EditorFrame.Source.Text))()
  371. end)
  372. end
  373. coroutine.wrap(UQKA_fake_script)()
  374. local function TTKFVE_fake_script() -- ScriptHub.LocalScript
  375. local script = Instance.new('LocalScript', ScriptHub)
  376.  
  377. 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"}
  378. 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",}
  379.  
  380. local src = script.Parent.EditorFrame.Source
  381. local lin = script.Parent.EditorFrame.Lines
  382.  
  383. local Highlight = function(string, keywords)
  384. local K = {}
  385. local S = string
  386. local Token =
  387. {
  388. ["="] = true,
  389. ["."] = true,
  390. [","] = true,
  391. ["("] = true,
  392. [")"] = true,
  393. ["["] = true,
  394. ["]"] = true,
  395. ["{"] = true,
  396. ["}"] = true,
  397. [":"] = true,
  398. ["*"] = true,
  399. ["/"] = true,
  400. ["+"] = true,
  401. ["-"] = true,
  402. ["%"] = true,
  403. [";"] = true,
  404. ["~"] = true
  405. }
  406. for i, v in pairs(keywords) do
  407. K[v] = true
  408. end
  409. S = S:gsub(".", function(c)
  410. if Token[c] ~= nil then
  411. return "\32"
  412. else
  413. return c
  414. end
  415. end)
  416. S = S:gsub("%S+", function(c)
  417. if K[c] ~= nil then
  418. return c
  419. else
  420. return (" "):rep(#c)
  421. end
  422. end)
  423.  
  424. return S
  425. end
  426.  
  427. local hTokens = function(string)
  428. local Token =
  429. {
  430. ["="] = true,
  431. ["."] = true,
  432. [","] = true,
  433. ["("] = true,
  434. [")"] = true,
  435. ["["] = true,
  436. ["]"] = true,
  437. ["{"] = true,
  438. ["}"] = true,
  439. [":"] = true,
  440. ["*"] = true,
  441. ["/"] = true,
  442. ["+"] = true,
  443. ["-"] = true,
  444. ["%"] = true,
  445. [";"] = true,
  446. ["~"] = true
  447. }
  448. local A = ""
  449. local B = [[]]
  450. string:gsub(".", function(c)
  451. if Token[c] ~= nil then
  452. A = A .. c
  453. elseif c == "\n" then
  454. A = A .. "\n"
  455. elseif c == "\t" then
  456. A = A .. "\t"
  457. else
  458. A = A .. "\32"
  459. end
  460. end)
  461. return A
  462. end
  463.  
  464.  
  465. local strings = function(string)
  466. local highlight = ""
  467. local quote = false
  468. string:gsub(".", function(c)
  469. if quote == false and c == "\"" then
  470. quote = true
  471. elseif quote == true and c == "\"" then
  472. quote = false
  473. end
  474. if quote == false and c == "\"" then
  475. highlight = highlight .. "\""
  476. elseif c == "\n" then
  477. highlight = highlight .. "\n"
  478. elseif c == "\t" then
  479. highlight = highlight .. "\t"
  480. elseif quote == true then
  481. highlight = highlight .. c
  482. elseif quote == false then
  483. highlight = highlight .. "\32"
  484. end
  485. end)
  486.  
  487. return highlight
  488. end
  489.  
  490. local comments = function(string)
  491. local ret = ""
  492. string:gsub("[^\r\n]+", function(c)
  493. local comm = false
  494. local i = 0
  495. c:gsub(".", function(n)
  496. i = i + 1
  497. if c:sub(i, i + 1) == "--" then
  498. comm = true
  499. end
  500. if comm == true then
  501. ret = ret .. n
  502. else
  503. ret = ret .. "\32"
  504. end
  505. end)
  506. ret = ret
  507. end)
  508.  
  509. return ret
  510. end
  511.  
  512. local numbers = function(string)
  513. local A = ""
  514. string:gsub(".", function(c)
  515. if tonumber(c) ~= nil then
  516. A = A .. c
  517. elseif c == "\n" then
  518. A = A .. "\n"
  519. elseif c == "\t" then
  520. A = A .. "\t"
  521. else
  522. A = A .. "\32"
  523. end
  524. end)
  525.  
  526. return A
  527. end
  528.  
  529. local highlight_source = function(type)
  530. if type == "Text" then
  531. src.Text = script.Parent.EditorFrame.Source.Text:gsub("\13", "")
  532. src.Text = script.Parent.EditorFrame.Source.Text:gsub("\t", " ")
  533. local s = src.Text
  534. src.Keywords_.Text = Highlight(s, lua_keywords)
  535. src.Globals_.Text = Highlight(s, global_env)
  536. src.RemoteHighlight_.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  537. src.Tokens_.Text = hTokens(s)
  538. src.Numbers_.Text = numbers(s)
  539. src.Strings_.Text = strings(s)
  540. local lin = 1
  541. s:gsub("\n", function()
  542. lin = lin + 1
  543. end)
  544. script.Parent.EditorFrame.Lines.Text = ""
  545. for i = 1, lin do
  546. script.Parent.EditorFrame.Lines.Text = script.Parent.EditorFrame.Lines.Text .. i .. "\n"
  547. end
  548. end
  549. end
  550.  
  551. highlight_source("Text")
  552.  
  553. src.Changed:Connect(highlight_source)
  554. end
  555. coroutine.wrap(TTKFVE_fake_script)()
  556. local function KHCN_fake_script() -- Clear.LocalScript
  557. local script = Instance.new('LocalScript', Clear)
  558.  
  559. script.Parent.MouseButton1Click:Connect(function()
  560. script.Parent.Parent.EditorFrame.Source.Text=""
  561. end)
  562. end
  563. coroutine.wrap(KHCN_fake_script)()
  564. local function HLIV_fake_script() -- InternalUI.LocalScript
  565. local script = Instance.new('LocalScript', InternalUI)
  566.  
  567. local UserInputService = game:GetService("UserInputService")
  568.  
  569. UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  570. if input.KeyCode == Enum.KeyCode[key] and not gameProcessedEvent then
  571. Executer.Visible = not Executer.Visible
  572. end
  573. end)
  574. end
  575. coroutine.wrap(HLIV_fake_script)()
  576.  
  577. _G.Frame = {}
  578.  
  579. function _G.Frame:Button(Text,Call)
  580. local Template = Instance.new("TextButton")
  581. local UIStroke_5 = Instance.new("UIStroke")
  582. local UICorner_5 = Instance.new("UICorner")
  583. Template.Name = Text
  584. Template.Parent = Frame
  585. Template.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  586. Template.Position = UDim2.new(0.0149999997, 0, 0, 0)
  587. Template.Size = UDim2.new(0, 99, 0, 18)
  588. Template.Font = Enum.Font.SourceSans
  589. Template.Text = Text
  590. Template.TextColor3 = Color3.fromRGB(255, 255, 255)
  591. Template.TextSize = 14.000
  592.  
  593. UIStroke_5.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  594. UIStroke_5.Color = Color3.fromRGB(255, 255, 255)
  595. UIStroke_5.Parent = Template
  596.  
  597. UICorner_5.CornerRadius = UDim.new(0, 4)
  598. UICorner_5.Parent = Template
  599.  
  600. Template.MouseButton1Click:Connect(function()
  601. pcall(Call)
  602. end)
  603. end
  604.  
  605. return _G.Frame
  606.  
  607. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement