Advertisement
9_cVv

THExecutor

Jun 17th, 2021 (edited)
1,093
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 32.53 KB | None | 0 0
  1. --gui to lua v1
  2.  
  3. --objects
  4. local THExecutor = Instance.new"ScreenGui"
  5. local mf = Instance.new"Frame"
  6. local UICorner = Instance.new"UICorner"
  7. local sidebar = Instance.new"Frame"
  8. local home = Instance.new"TextButton"
  9. local UIListLayout = Instance.new"UIListLayout"
  10. local execution = Instance.new"TextButton"
  11. local scripts = Instance.new"TextButton"
  12. local settings = Instance.new"TextButton"
  13. local sidebarHandler = Instance.new"LocalScript"
  14. local selectedSection = Instance.new"StringValue"
  15. local sidebarline = Instance.new"Frame"
  16. local linegradient = Instance.new"UIGradient"
  17. local linehandler = Instance.new"LocalScript"
  18. local titleline = Instance.new"Frame"
  19. local linegradient_2 = Instance.new"UIGradient"
  20. local linehandler_2 = Instance.new"LocalScript"
  21. local TextLabel = Instance.new"TextLabel"
  22. local mainscript = Instance.new"LocalScript"
  23. local smooth_drag = Instance.new"LocalScript"
  24. local sections = Instance.new"ScrollingFrame"
  25. local home_2 = Instance.new"Frame"
  26. local TextLabel_2 = Instance.new"TextLabel"
  27. local lol = Instance.new"LocalScript"
  28. local execution_2 = Instance.new"Frame"
  29. local buttons = Instance.new"Frame"
  30. local execute = Instance.new"TextButton"
  31. local title = Instance.new"TextLabel"
  32. local UIListLayout_2 = Instance.new"UIListLayout"
  33. local clear = Instance.new"TextButton"
  34. local title_2 = Instance.new"TextLabel"
  35. local hide = Instance.new"TextButton"
  36. local title_3 = Instance.new"TextLabel"
  37. local save = Instance.new"TextButton"
  38. local title_4 = Instance.new"TextLabel"
  39. local buttonHandler = Instance.new"LocalScript"
  40. local ScrollingFrame = Instance.new"ScrollingFrame"
  41. local box = Instance.new"TextBox"
  42. local lines = Instance.new"TextLabel"
  43. local linehandler_3 = Instance.new"LocalScript"
  44. local clearTextOnExecute = Instance.new"BoolValue"
  45. local savescript = Instance.new"Frame"
  46. local name = Instance.new"TextBox"
  47. local UICorner_2 = Instance.new"UICorner"
  48. local save_2 = Instance.new"TextButton"
  49. local title_5 = Instance.new"TextLabel"
  50. local UICorner_3 = Instance.new"UICorner"
  51. local save_3 = Instance.new"LocalScript"
  52. local UICorner_4 = Instance.new"UICorner"
  53. local scripts_2 = Instance.new"Frame"
  54. local container = Instance.new"ScrollingFrame"
  55. local template = Instance.new"TextButton"
  56. local UIListLayout_3 = Instance.new"UIListLayout"
  57. local handler = Instance.new"LocalScript"
  58. local info = Instance.new"TextLabel"
  59. local settings_2 = Instance.new"Frame"
  60. local container_2 = Instance.new"ScrollingFrame"
  61. local template_2 = Instance.new"TextButton"
  62. local UIListLayout_4 = Instance.new"UIListLayout"
  63. local handler_2 = Instance.new"LocalScript"
  64. local theme = Instance.new"StringValue"
  65.  
  66. --properties
  67. THExecutor.Name = 'THExecutor'
  68. pcall(function() syn.protect_gui(THExecutor) end)
  69. pcall(function() THExecutor.Parent = game:GetService"CoreGui" end)
  70. THExecutor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  71.  
  72. mf.BackgroundColor3 = Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634)
  73. mf.BorderSizePixel = 0
  74. mf.Name = 'mf'
  75. mf.Parent = THExecutor
  76. mf.Position = UDim2.new(0.248715311, 0, 0.298906475, 0)
  77. mf.Size = UDim2.new(0, 507, 0, 331)
  78.  
  79. UICorner.Parent = mf
  80.  
  81. sidebar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  82. sidebar.BackgroundTransparency = 1
  83. sidebar.BorderSizePixel = 0
  84. sidebar.Name = 'sidebar'
  85. sidebar.Parent = mf
  86. sidebar.Position = UDim2.new(0, 0, 0.132930517, 0)
  87. sidebar.Size = UDim2.new(0, 102, 0, 287)
  88.  
  89. home.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  90. home.BackgroundTransparency = 1
  91. home.BorderSizePixel = 0
  92. home.Name = 'home'
  93. home.Parent = sidebar
  94. home.Size = UDim2.new(0, 102, 0, 71)
  95. home.Font = Enum.Font.Gotham
  96. home.Text = 'Home'
  97. home.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. home.TextScaled = true
  99. home.TextSize = 14
  100. home.TextWrapped = true
  101.  
  102. UIListLayout.Parent = sidebar
  103. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  104.  
  105. execution.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  106. execution.BackgroundTransparency = 1
  107. execution.BorderSizePixel = 0
  108. execution.Name = 'execution'
  109. execution.Parent = sidebar
  110. execution.Position = UDim2.new(0, 0, 0.247386754, 0)
  111. execution.Size = UDim2.new(0, 102, 0, 71)
  112. execution.Font = Enum.Font.Gotham
  113. execution.Text = 'Execution'
  114. execution.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. execution.TextScaled = true
  116. execution.TextSize = 14
  117. execution.TextWrapped = true
  118.  
  119. scripts.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  120. scripts.BackgroundTransparency = 1
  121. scripts.BorderSizePixel = 0
  122. scripts.Name = 'scripts'
  123. scripts.Parent = sidebar
  124. scripts.Position = UDim2.new(0, 0, 0.494773507, 0)
  125. scripts.Size = UDim2.new(0, 102, 0, 71)
  126. scripts.Font = Enum.Font.Gotham
  127. scripts.Text = 'Scripts'
  128. scripts.TextColor3 = Color3.fromRGB(255, 255, 255)
  129. scripts.TextScaled = true
  130. scripts.TextSize = 14
  131. scripts.TextWrapped = true
  132.  
  133. settings.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  134. settings.BackgroundTransparency = 1
  135. settings.BorderSizePixel = 0
  136. settings.Name = 'settings'
  137. settings.Parent = sidebar
  138. settings.Position = UDim2.new(0, 0, 0.742160261, 0)
  139. settings.Size = UDim2.new(0, 102, 0, 71)
  140. settings.Font = Enum.Font.Gotham
  141. settings.Text = 'Settings'
  142. settings.TextColor3 = Color3.fromRGB(255, 255, 255)
  143. settings.TextScaled = true
  144. settings.TextSize = 14
  145. settings.TextWrapped = true
  146.  
  147. sidebarHandler.Name = 'sidebarHandler'
  148. sidebarHandler.Parent = sidebar
  149.  
  150. selectedSection.Name = 'selectedSection'
  151. selectedSection.Parent = mf
  152. selectedSection.Value = 'home'
  153.  
  154. sidebarline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  155. sidebarline.BorderSizePixel = 0
  156. sidebarline.Name = 'sidebarline'
  157. sidebarline.Parent = mf
  158. sidebarline.Position = UDim2.new(0.201183438, 0, 0, 0)
  159. sidebarline.Size = UDim2.new(0, 2, 0, 331)
  160.  
  161. linegradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634))})
  162. linegradient.Offset = Vector2.new(0, -1)
  163. linegradient.Rotation = -90
  164. linegradient.Name = 'linegradient'
  165. linegradient.Parent = sidebarline
  166.  
  167. linehandler.Name = 'linehandler'
  168. linehandler.Parent = linegradient
  169.  
  170. titleline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  171. titleline.BorderSizePixel = 0
  172. titleline.Name = 'titleline'
  173. titleline.Parent = mf
  174. titleline.Position = UDim2.new(0, 0, 0.126888216, 0)
  175. titleline.Size = UDim2.new(0, 507, 0, 2)
  176.  
  177. linegradient_2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634))})
  178. linegradient_2.Offset = Vector2.new(1, 0)
  179. linegradient_2.Name = 'linegradient'
  180. linegradient_2.Parent = titleline
  181.  
  182. linehandler_2.Name = 'linehandler'
  183. linehandler_2.Parent = linegradient_2
  184.  
  185. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. TextLabel.BackgroundTransparency = 1
  187. TextLabel.BorderSizePixel = 0
  188. TextLabel.Parent = mf
  189. TextLabel.Size = UDim2.new(0, 507, 0, 42)
  190. TextLabel.Font = Enum.Font.Gotham
  191. TextLabel.Text = 'THExecutor'
  192. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  193. TextLabel.TextScaled = true
  194. TextLabel.TextSize = 14
  195. TextLabel.TextWrapped = true
  196.  
  197. mainscript.Name = 'mainscript'
  198. mainscript.Parent = mf
  199.  
  200. smooth_drag.Name = 'smooth_drag'
  201. smooth_drag.Parent = mf
  202.  
  203. sections.Active = true
  204. sections.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  205. sections.BackgroundTransparency = 1
  206. sections.BorderSizePixel = 0
  207. sections.Name = 'sections'
  208. sections.Parent = mf
  209. sections.Position = UDim2.new(0.205128208, 0, 0.132930517, 0)
  210. sections.Size = UDim2.new(0, 403, 0, 287)
  211. sections.CanvasSize = UDim2.new(5, 0, 5, 0)
  212. sections.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  213. sections.ScrollBarImageTransparency = 1
  214. sections.ScrollBarThickness = 0
  215. sections.ScrollingEnabled = false
  216.  
  217. home_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  218. home_2.BackgroundTransparency = 1
  219. home_2.BorderSizePixel = 0
  220. home_2.Name = 'home'
  221. home_2.Parent = sections
  222. home_2.Size = UDim2.new(0, 403, 0, 287)
  223. home_2.Visible = false
  224.  
  225. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. TextLabel_2.BackgroundTransparency = 1
  227. TextLabel_2.BorderSizePixel = 0
  228. TextLabel_2.Parent = home_2
  229. TextLabel_2.Position = UDim2.new(0, 0, 0.0348432064, 0)
  230. TextLabel_2.Size = UDim2.new(0, 403, 0, 50)
  231. TextLabel_2.Font = Enum.Font.Gotham
  232. TextLabel_2.Text = 'You have executed THExecutor made by TechHog#8984'
  233. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  234. TextLabel_2.TextScaled = true
  235. TextLabel_2.TextSize = 14
  236. TextLabel_2.TextWrapped = true
  237.  
  238. lol.Name = 'lol'
  239. lol.Parent = TextLabel_2
  240.  
  241. execution_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  242. execution_2.BackgroundTransparency = 1
  243. execution_2.BorderSizePixel = 0
  244. execution_2.Name = 'execution'
  245. execution_2.Parent = sections
  246. execution_2.Size = UDim2.new(0, 403, 0, 287)
  247.  
  248. buttons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  249. buttons.BackgroundTransparency = 1
  250. buttons.BorderSizePixel = 0
  251. buttons.Name = 'buttons'
  252. buttons.Parent = execution_2
  253. buttons.Position = UDim2.new(0, 0, 0.850174189, 0)
  254. buttons.Size = UDim2.new(0, 403, 0, 43)
  255.  
  256. execute.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  257. execute.BackgroundTransparency = 1
  258. execute.BorderSizePixel = 0
  259. execute.Name = 'execute'
  260. execute.Parent = buttons
  261. execute.Size = UDim2.new(0, 100, 0, 43)
  262. execute.Font = Enum.Font.Gotham
  263. execute.Text = 'Execute'
  264. execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  265. execute.TextSize = 19
  266. execute.TextTransparency = 1
  267. execute.TextWrapped = true
  268.  
  269. title.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  270. title.BorderSizePixel = 0
  271. title.Name = 'title'
  272. title.Parent = execute
  273. title.Size = UDim2.new(0, 100, 0, 43)
  274. title.Font = Enum.Font.Gotham
  275. title.Text = 'Execute'
  276. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  277. title.TextSize = 19
  278. title.TextWrapped = true
  279.  
  280. UIListLayout_2.Parent = buttons
  281. UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
  282. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  283.  
  284. clear.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  285. clear.BackgroundTransparency = 1
  286. clear.BorderSizePixel = 0
  287. clear.Name = 'clear'
  288. clear.Parent = buttons
  289. clear.Position = UDim2.new(0.235111669, 0, 0, 0)
  290. clear.Size = UDim2.new(0, 100, 0, 43)
  291. clear.Font = Enum.Font.Gotham
  292. clear.Text = 'Clear'
  293. clear.TextColor3 = Color3.fromRGB(255, 255, 255)
  294. clear.TextSize = 19
  295. clear.TextTransparency = 1
  296. clear.TextWrapped = true
  297.  
  298. title_2.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  299. title_2.BorderSizePixel = 0
  300. title_2.Name = 'title'
  301. title_2.Parent = clear
  302. title_2.Position = UDim2.new(-0.00249999994, 0, 0, 0)
  303. title_2.Size = UDim2.new(0, 100, 0, 43)
  304. title_2.Font = Enum.Font.Gotham
  305. title_2.Text = 'Clear'
  306. title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  307. title_2.TextSize = 19
  308. title_2.TextWrapped = true
  309.  
  310. hide.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  311. hide.BackgroundTransparency = 1
  312. hide.BorderSizePixel = 0
  313. hide.Name = 'hide'
  314. hide.Parent = buttons
  315. hide.Position = UDim2.new(0.497518599, 0, 0, 0)
  316. hide.Size = UDim2.new(0, 100, 0, 43)
  317. hide.Font = Enum.Font.Gotham
  318. hide.Text = 'Hide-Script'
  319. hide.TextColor3 = Color3.fromRGB(255, 255, 255)
  320. hide.TextSize = 19
  321. hide.TextTransparency = 1
  322. hide.TextWrapped = true
  323.  
  324. title_3.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  325. title_3.BorderSizePixel = 0
  326. title_3.Name = 'title'
  327. title_3.Parent = hide
  328. title_3.Position = UDim2.new(-0.00249999994, 0, 0, 0)
  329. title_3.Size = UDim2.new(0, 101, 0, 43)
  330. title_3.Font = Enum.Font.Gotham
  331. title_3.Text = 'Hide-Script'
  332. title_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  333. title_3.TextSize = 19
  334. title_3.TextWrapped = true
  335.  
  336. save.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  337. save.BackgroundTransparency = 1
  338. save.BorderSizePixel = 0
  339. save.Name = 'save'
  340. save.Parent = buttons
  341. save.Position = UDim2.new(0.735111654, 0, 0, 0)
  342. save.Size = UDim2.new(0, 100, 0, 43)
  343. save.Font = Enum.Font.Gotham
  344. save.Text = 'Save-Script'
  345. save.TextColor3 = Color3.fromRGB(255, 255, 255)
  346. save.TextSize = 19
  347. save.TextTransparency = 1
  348. save.TextWrapped = true
  349.  
  350. title_4.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  351. title_4.BorderSizePixel = 0
  352. title_4.Name = 'title'
  353. title_4.Parent = save
  354. title_4.Size = UDim2.new(0, 100, 0, 43)
  355. title_4.Font = Enum.Font.Gotham
  356. title_4.Text = 'Save-Script'
  357. title_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  358. title_4.TextSize = 19
  359. title_4.TextWrapped = true
  360.  
  361. buttonHandler.Name = 'buttonHandler'
  362. buttonHandler.Parent = buttons
  363.  
  364. ScrollingFrame.Active = true
  365. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(30.000000111759, 30.000000111759, 30.000000111759)
  366. ScrollingFrame.BorderSizePixel = 0
  367. ScrollingFrame.Parent = execution_2
  368. ScrollingFrame.Position = UDim2.new(0, 0, 0.00278741401, 0)
  369. ScrollingFrame.Size = UDim2.new(0, 403, 0, 243)
  370. ScrollingFrame.CanvasSize = UDim2.new(999, 0, 999, 0)
  371. ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  372. ScrollingFrame.ScrollBarThickness = 0
  373.  
  374. box.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  375. box.BackgroundTransparency = 1
  376. box.BorderSizePixel = 0
  377. box.ClearTextOnFocus = false
  378. box.MultiLine = true
  379. box.Name = 'box'
  380. box.Parent = ScrollingFrame
  381. box.Position = UDim2.new(0, 20, 0, 0)
  382. box.Size = UDim2.new(999, 0, 999, 0)
  383. box.Font = Enum.Font.Gotham
  384. box.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  385. box.Text = ''
  386. box.TextColor3 = Color3.fromRGB(255, 255, 255)
  387. box.TextSize = 16
  388. box.TextXAlignment = Enum.TextXAlignment.Left
  389. box.TextYAlignment = Enum.TextYAlignment.Top
  390.  
  391. lines.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  392. lines.BackgroundTransparency = 1
  393. lines.BorderSizePixel = 0
  394. lines.Name = 'lines'
  395. lines.Parent = ScrollingFrame
  396. lines.Size = UDim2.new(0, 20, 999, 0)
  397. lines.Font = Enum.Font.Gotham
  398. lines.Text = '1'
  399. lines.TextColor3 = Color3.fromRGB(255, 255, 255)
  400. lines.TextSize = 16
  401. lines.TextYAlignment = Enum.TextYAlignment.Top
  402.  
  403. linehandler_3.Name = 'linehandler'
  404. linehandler_3.Parent = lines
  405.  
  406. clearTextOnExecute.Name = 'clearTextOnExecute'
  407. clearTextOnExecute.Parent = execution_2
  408.  
  409. savescript.BackgroundColor3 = Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634)
  410. savescript.BorderSizePixel = 0
  411. savescript.Name = 'savescript'
  412. savescript.Parent = execution_2
  413. savescript.Position = UDim2.new(0.295285374, 0, 0.229965165, 0)
  414. savescript.Size = UDim2.new(0, 165, 0, 112)
  415. savescript.Visible = false
  416.  
  417. name.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  418. name.BorderSizePixel = 0
  419. name.Name = 'name'
  420. name.Parent = savescript
  421. name.Position = UDim2.new(0, 0, 0.063929826, 0)
  422. name.Size = UDim2.new(0, 165, 0, 31)
  423. name.Font = Enum.Font.Gotham
  424. name.PlaceholderText = 'name'
  425. name.Text = ''
  426. name.TextColor3 = Color3.fromRGB(255, 255, 255)
  427. name.TextScaled = true
  428. name.TextSize = 14
  429. name.TextWrapped = true
  430.  
  431. UICorner_2.Parent = name
  432.  
  433. save_2.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  434. save_2.BackgroundTransparency = 1
  435. save_2.BorderSizePixel = 0
  436. save_2.Name = 'save'
  437. save_2.Parent = savescript
  438. save_2.Position = UDim2.new(0, 0, 0.495131642, 0)
  439. save_2.Size = UDim2.new(0, 165, 0, 43)
  440. save_2.Font = Enum.Font.Gotham
  441. save_2.Text = 'Execute'
  442. save_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  443. save_2.TextSize = 19
  444. save_2.TextTransparency = 1
  445. save_2.TextWrapped = true
  446.  
  447. title_5.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
  448. title_5.BorderSizePixel = 0
  449. title_5.Name = 'title'
  450. title_5.Parent = save_2
  451. title_5.Size = UDim2.new(0, 165, 0, 43)
  452. title_5.Font = Enum.Font.Gotham
  453. title_5.Text = 'save'
  454. title_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  455. title_5.TextSize = 19
  456. title_5.TextWrapped = true
  457.  
  458. UICorner_3.Parent = title_5
  459.  
  460. save_3.Name = 'save'
  461. save_3.Parent = save_2
  462.  
  463. UICorner_4.Parent = savescript
  464.  
  465. scripts_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  466. scripts_2.BackgroundTransparency = 1
  467. scripts_2.BorderSizePixel = 0
  468. scripts_2.Name = 'scripts'
  469. scripts_2.Parent = sections
  470. scripts_2.Size = UDim2.new(0, 403, 0, 287)
  471. scripts_2.Visible = false
  472.  
  473. container.Active = true
  474. container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  475. container.BackgroundTransparency = 1
  476. container.BorderSizePixel = 0
  477. container.Name = 'container'
  478. container.Parent = scripts_2
  479. container.Size = UDim2.new(0, 403, 0, 287)
  480. container.CanvasSize = UDim2.new(0, 0, 0, 0)
  481. container.ScrollBarThickness = 6
  482. container.ScrollingDirection = Enum.ScrollingDirection.Y
  483.  
  484. template.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  485. template.BackgroundTransparency = 1
  486. template.BorderSizePixel = 0
  487. template.Name = 'template'
  488. template.Parent = container
  489. template.Size = UDim2.new(0, 403, 0, 35)
  490. template.Visible = false
  491. template.Font = Enum.Font.Gotham
  492. template.Text = 'script'
  493. template.TextColor3 = Color3.fromRGB(255, 255, 255)
  494. template.TextScaled = true
  495. template.TextSize = 14
  496. template.TextWrapped = true
  497.  
  498. UIListLayout_3.Parent = container
  499. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  500.  
  501. handler.Name = 'handler'
  502. handler.Parent = container
  503.  
  504. info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  505. info.BackgroundTransparency = 1
  506. info.BorderSizePixel = 0
  507. info.Name = 'info'
  508. info.Parent = container
  509. info.Size = UDim2.new(0, 403, 0, 35)
  510. info.Font = Enum.Font.GothamBold
  511. info.Text = 'No scripts found, save scripts in the execution tab.'
  512. info.TextColor3 = Color3.fromRGB(255, 255, 255)
  513. info.TextScaled = true
  514. info.TextSize = 14
  515. info.TextWrapped = true
  516.  
  517. settings_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  518. settings_2.BackgroundTransparency = 1
  519. settings_2.BorderSizePixel = 0
  520. settings_2.Name = 'settings'
  521. settings_2.Parent = sections
  522. settings_2.Size = UDim2.new(0, 403, 0, 287)
  523. settings_2.Visible = false
  524.  
  525. container_2.Active = true
  526. container_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  527. container_2.BackgroundTransparency = 1
  528. container_2.BorderSizePixel = 0
  529. container_2.Name = 'container'
  530. container_2.Parent = settings_2
  531. container_2.Size = UDim2.new(0, 403, 0, 287)
  532. container_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  533. container_2.ScrollBarThickness = 6
  534. container_2.ScrollingDirection = Enum.ScrollingDirection.Y
  535.  
  536. template_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  537. template_2.BackgroundTransparency = 1
  538. template_2.BorderSizePixel = 0
  539. template_2.Name = 'template'
  540. template_2.Parent = container_2
  541. template_2.Size = UDim2.new(0, 403, 0, 35)
  542. template_2.Visible = false
  543. template_2.Font = Enum.Font.Gotham
  544. template_2.Text = 'script'
  545. template_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  546. template_2.TextScaled = true
  547. template_2.TextSize = 14
  548. template_2.TextWrapped = true
  549.  
  550. UIListLayout_4.Parent = container_2
  551. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  552.  
  553. handler_2.Name = 'handler'
  554. handler_2.Parent = container_2
  555.  
  556. theme.Name = 'theme'
  557. theme.Parent = mf
  558. theme.Value = 'gray'
  559.  
  560. --attributes
  561.  
  562. --scripts
  563. function sidebar_sidebarHandlerjvnwi()
  564. local script = sidebarHandler
  565.  
  566. local oldsize = {}
  567.    
  568.     function tween(object, t, i)
  569.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  570.     end
  571.    
  572.     for a,b in pairs(script.Parent:GetChildren()) do
  573.         if b then
  574.             if b:IsA'TextButton' then
  575.                 oldsize[b] = b.Size
  576.                 b.MouseButton1Click:connect(function()
  577.                     script.Parent.Parent.selectedSection.Value = b.Name
  578.                 end)
  579.                 b.MouseEnter:connect(function()
  580.                     tween(b, .3, {Size=UDim2.new(oldsize[b].X.Scale, oldsize[b].X.Offset+5, oldsize[b].Y.Scale, oldsize[b].Y.Offset+5)})
  581.                 end)
  582.                 b.MouseLeave:connect(function()
  583.                     tween(b, .3, {Size=oldsize[b]})
  584.                 end)
  585.             end
  586.         end
  587.     end
  588. end
  589. coroutine.wrap(sidebar_sidebarHandlerjvnwi)()
  590. function linegradient_linehandlerciszj()
  591. local script = linehandler
  592.  
  593. local x1 = false
  594.     function tween(object, t, i)
  595.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  596.     end
  597.    
  598.     while wait(1.5) do
  599.         x1 = not x1
  600.         if x1 then
  601.             tween(script.Parent, 1, {Offset=Vector2.new(0, 1)})
  602.             wait(.9)
  603.             script.Parent.Offset = Vector2.new(0, -1)
  604.             script.Parent.Rotation = 90
  605.             tween(script.Parent, 1, {Offset=Vector2.new(0, 1)})
  606.         else
  607.             tween(script.Parent, 1, {Offset=Vector2.new(0, -1)})
  608.             wait(.9)
  609.             script.Parent.Offset = Vector2.new(0, 1)
  610.             script.Parent.Rotation = -90
  611.             tween(script.Parent, 1, {Offset=Vector2.new(0, -1)})
  612.         end
  613.     end
  614. end
  615. coroutine.wrap(linegradient_linehandlerciszj)()
  616. function linegradient_2_linehandler_2itkpe()
  617. local script = linehandler_2
  618.  
  619. local x1 = true
  620.     function tween(object, t, i)
  621.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  622.     end
  623.    
  624.     while wait(1.5) do
  625.         x1 = not x1
  626.         if x1 then
  627.             tween(script.Parent, 1, {Offset=Vector2.new(1, 0)})
  628.             wait(.9)
  629.             script.Parent.Offset = Vector2.new(-1, 0)
  630.             script.Parent.Rotation = 0
  631.             tween(script.Parent, 1, {Offset=Vector2.new(1, 0)})
  632.         else
  633.             tween(script.Parent, 1, {Offset=Vector2.new(-1, 0)})
  634.             wait(.9)
  635.             script.Parent.Offset = Vector2.new(1, 0)
  636.             script.Parent.Rotation = 180
  637.             tween(script.Parent, 1, {Offset=Vector2.new(-1, 0)})
  638.         end
  639.     end
  640. end
  641. coroutine.wrap(linegradient_2_linehandler_2itkpe)()
  642. function mf_mainscriptumgsa()
  643. local script = mainscript
  644.  
  645. local frame = script.Parent
  646.     local functions = {}
  647.     local themes = {}
  648.    
  649.     function tween(object, t, i)
  650.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  651.     end
  652.    
  653.     for a,b in pairs(script.Parent.sections:GetChildren()) do
  654.         if b then
  655.             b.Visible = true
  656.             if b~= script.Parent.sections.home then
  657.                 local x1 = math.random(1,2)
  658.                 local x2 = math.random(1,2)
  659.                 local x = 0
  660.                 local y = 0
  661.                 if x1 == 1 then
  662.                     x = .2
  663.                 else
  664.                     x = -.2
  665.                 end
  666.                 if x2 == 1 then
  667.                     y = .2
  668.                 else
  669.                     y = -.2
  670.                 end
  671.                 b.Position = UDim2.new(x, 0, y, 0)
  672.             end
  673.         end
  674.     end
  675.    
  676.     themes['gray'] = Color3.fromRGB(35,35,35)
  677.     themes['gray_up'] = Color3.fromRGB(40,40,40)
  678.     themes['gray_down']= Color3.fromRGB(30,30,30)
  679.     themes['peach'] = Color3.fromRGB(255, 116, 118)
  680.     themes['peach_up'] = Color3.fromRGB(255, 121, 123)
  681.     themes['peach_down']= Color3.fromRGB(250, 111, 113)
  682.     themes['purple'] = Color3.fromRGB(127, 101, 255)
  683.     themes['purple_up'] = Color3.fromRGB(132, 106, 255)
  684.     themes['purple_down']= Color3.fromRGB(122, 96, 250)
  685.    
  686.     functions.home_selected = function()
  687.         tween(frame.sections.home, .4, {Position=UDim2.new(0, 0, 0, 0)})
  688.         for a,b in pairs(frame.sections:GetChildren()) do
  689.             if b then
  690.                 if b:IsA'Frame' then
  691.                     if b~= frame.sections.home then
  692.                         tween(b, .4, {Position=UDim2.new(0, 0, -.2, 0)})
  693.                     end
  694.                 end
  695.             end
  696.         end
  697.     end
  698.     functions.execution_selected = function()
  699.         tween(frame.sections.execution, .4, {Position=UDim2.new(0, 0, 0, 0)})
  700.         for a,b in pairs(frame.sections:GetChildren()) do
  701.             if b then
  702.                 if b:IsA'Frame' then
  703.                     if b~= frame.sections.execution then
  704.                         tween(b, .4, {Position=UDim2.new(0, 0, .2, 0)})
  705.                     end
  706.                 end
  707.             end
  708.         end
  709.     end
  710.     functions.scripts_selected = function()
  711.         tween(frame.sections.scripts, .4, {Position=UDim2.new(0, 0, 0, 0)})
  712.         for a,b in pairs(frame.sections:GetChildren()) do
  713.             if b then
  714.                 if b:IsA'Frame' then
  715.                     if b~= frame.sections.scripts then
  716.                         tween(b, .4, {Position=UDim2.new(-.2, 0, 0, 0)})
  717.                     end
  718.                 end
  719.             end
  720.         end
  721.     end
  722.     functions.settings_selected = function()
  723.         tween(frame.sections.settings, .4, {Position=UDim2.new(0, 0, 0, 0)})
  724.         for a,b in pairs(frame.sections:GetChildren()) do
  725.             if b then
  726.                 if b:IsA'Frame' then
  727.                     if b~= frame.sections.settings then
  728.                         tween(b, .4, {Position=UDim2.new(.2, 0, 0, 0)})
  729.                     end
  730.                 end
  731.             end
  732.         end
  733.     end
  734.    
  735.     frame.selectedSection.Changed:connect(function()
  736.         local selected = frame.selectedSection.Value
  737.         functions[selected..'_selected']()
  738.     end)
  739.     frame.theme.Changed:connect(function()
  740.         local theme = frame.theme.Value
  741.         local color = themes[theme]
  742.         local up = themes[theme..'_up']
  743.         local down = themes[theme..'_down']
  744.         frame.BackgroundColor3 = color
  745.         for a,b in pairs(script.Parent:GetDescendants()) do
  746.             if b then
  747.                 if b.Name == 'linegradient' then
  748.                     b.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,255)), ColorSequenceKeypoint.new(1, color)}
  749.                 end
  750.             end
  751.         end
  752.         frame.sections.execution.ScrollingFrame.BackgroundColor3 = down
  753.         for a,b in pairs(frame.sections.execution.buttons:GetChildren()) do
  754.             if b then
  755.                 if b:IsA'TextButton' then
  756.                     b.title.BackgroundColor3 = up
  757.                 end
  758.             end
  759.         end
  760.     end)
  761. end
  762. coroutine.wrap(mf_mainscriptumgsa)()
  763. function mf_smooth_dragpklal()
  764. local script = smooth_drag
  765.  
  766. function dragify(Frame)
  767.         local dragToggle = nil
  768.         local dragSpeed = .25
  769.         local dragInput = nil
  770.         local dragStart = nil
  771.         local dragPos = nil
  772.        
  773.         function updateInput(input)
  774.             local Delta = input.Position - dragStart
  775.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  776.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  777.         end
  778.        
  779.         Frame.InputBegan:Connect(function(input)
  780.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  781.                 dragToggle = true
  782.                 dragStart = input.Position
  783.                 startPos = Frame.Position
  784.                 input.Changed:Connect(function()
  785.                     if (input.UserInputState == Enum.UserInputState.End) then
  786.                         dragToggle = false
  787.                     end
  788.                 end)
  789.             end
  790.         end)
  791.        
  792.         Frame.InputChanged:Connect(function(input)
  793.             if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  794.                 dragInput = input
  795.             end
  796.         end)
  797.        
  798.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  799.             if input == dragInput and dragToggle then
  800.                 updateInput(input)
  801.             end
  802.         end)   
  803.     end
  804.    
  805.     dragify(script.Parent)
  806. end
  807. coroutine.wrap(mf_smooth_dragpklal)()
  808. function TextLabel_2_lolshflp()
  809. local script = lol
  810.  
  811. local message1 = 'You have executed THExecutor made by TechHog#8984'
  812.     local message2 = 'You have executed THExecutor made by TechHog#8984 SK3 is gay.'
  813.    
  814.     function tween(object, t, i)
  815.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  816.     end
  817.    
  818.     script.Parent.MouseEnter:connect(function()
  819.         tween(script.Parent, .3, {TextTransparency = 1})
  820.         wait(.3)
  821.         script.Parent.Text = message2
  822.         tween(script.Parent, .3, {TextTransparency = 0})
  823.     end)
  824.     script.Parent.MouseLeave:connect(function()
  825.         tween(script.Parent, .3, {TextTransparency = 1})
  826.         wait(.3)
  827.         script.Parent.Text = message1
  828.         tween(script.Parent, .3, {TextTransparency = 0})
  829.     end)
  830. end
  831. coroutine.wrap(TextLabel_2_lolshflp)()
  832. function buttons_buttonHandlertlhwu()
  833. local script = buttonHandler
  834.  
  835. local box = script.Parent.Parent.ScrollingFrame.box
  836.     local oldsize = {}
  837.     local functions = {}
  838.     local hidden = false
  839.    
  840.     function tween(object, t, i)
  841.         local info = TweenInfo.new(t, Enum.EasingStyle.Exponential)
  842.         game:GetService'TweenService':Create(object, info, i):Play()
  843.     end
  844.    
  845.     functions.clear = function()
  846.         tween(box, .3, {TextTransparency=1})
  847.         wait(.35)
  848.         box.Text = ''
  849.         tween(box, .3, {TextTransparency=0})
  850.     end
  851.     functions.execute = function()
  852.         local text = box.Text
  853.         if script.Parent.Parent.clearTextOnExecute.Value then
  854.             functions.clear()
  855.         end
  856.         local success, err = loadstring(text)
  857.         if success then
  858.             success()
  859.         else
  860.             warn(err)
  861.         end
  862.     end
  863.     functions.hide = function()
  864.         hidden = not hidden
  865.         tween(script.Parent.hide.title, .2, {TextTransparency=1})
  866.         if hidden then
  867.             tween(box, .3, {TextTransparency=1})
  868.         else
  869.             tween(box, .3, {TextTransparency=0})
  870.         end
  871.         wait(.2)
  872.         if hidden then
  873.             script.Parent.hide.title.Text = 'Unhide'
  874.         else
  875.             script.Parent.hide.title.Text='Hide-Script'
  876.         end
  877.         tween(script.Parent.hide.title, .2, {TextTransparency=0})
  878.     end
  879.     functions.save = function()
  880.         script.Parent.Parent.savescript.Visible = true
  881.     end
  882.    
  883.     for a,b in pairs(script.Parent:GetChildren()) do
  884.         if b then
  885.             if b:IsA'TextButton' then
  886.                 oldsize[b] = b.title.Size
  887.                 b.MouseButton1Click:connect(functions[b.Name])
  888.                 b.MouseEnter:connect(function()
  889.                     tween(b.title, .3, {Size=UDim2.new(oldsize[b].X.Scale, oldsize[b].X.Offset+5, oldsize[b].Y.Scale, oldsize[b].Y.Offset+5)})
  890.                 end)
  891.                 b.MouseLeave:connect(function()
  892.                     tween(b.title, .3, {Size=oldsize[b]})
  893.                 end)
  894.             end
  895.         end
  896.     end
  897. end
  898. coroutine.wrap(buttons_buttonHandlertlhwu)()
  899. function lines_linehandler_3acllj()
  900. local script = linehandler_3
  901.  
  902. local box = script.Parent.Parent.box
  903.     local lines = 1
  904.     local label = script.Parent
  905.    
  906.     box:GetPropertyChangedSignal'Text':connect(function()
  907.         local text = box.Text
  908.         lines = 1
  909.         text:gsub('\n', function()
  910.             lines += 1
  911.         end)
  912.         label.Text = ''
  913.         for line = 1, lines do
  914.             label.Text = label.Text .. tostring(line) .. '\n'
  915.         end
  916.     end)
  917. end
  918. coroutine.wrap(lines_linehandler_3acllj)()
  919. function save_2_save_3emzgj()
  920. local script = save_3
  921.  
  922. local box = script.Parent.Parent.Parent.ScrollingFrame.box
  923.     local container = script.Parent.Parent.Parent.Parent.scripts.container
  924.    
  925.     script.Parent.MouseButton1Click:connect(function()
  926.         script.Parent.Parent.Visible = false
  927.         local text = box.Text
  928.         local name = script.Parent.Parent.name.Text
  929.         if text and text ~= '' and text ~= ' ' and text~=string.char(0) then
  930.             local scripts = 1
  931.             if not isfile('THExecutor') then
  932.                 makefolder('THExecutor')
  933.             end
  934.             if isfile('THExecutor/scriptlist.lua') then
  935.                 scripts = tonumber(readfile('THExecutor/scriptlist.lua'))
  936.                 scripts += 1
  937.             end
  938.             writefile('THExecutor/scriptlist.lua', tostring(scripts))
  939.             local saved = 'THExecutor/script'..name..'#'..tostring(scripts)..'.lua'
  940.             writefile(saved, text)
  941.             shared['THExecutorScripts_'..tostring(scripts)] = saved
  942.             local clone = container.template:Clone()
  943.             clone.Parent = container
  944.             clone.Visible = true
  945.             clone.Name = name
  946.             clone.Text = name
  947.             clone.MouseButton1Click:connect(loadstring(text))
  948.             container.info.Visible = false
  949.         end
  950.     end)
  951. end
  952. coroutine.wrap(save_2_save_3emzgj)()
  953. function container_handlerikdof()
  954. local script = handler
  955.  
  956. local a,has = pcall(function() if isfile then return true else return false end end)
  957.     if not has then return end
  958.     if isfile('THExecutor/scriptlist.lua') then
  959.         script.Parent.info.Visible = false
  960.         pcall(function()
  961.             for i = 1, tonumber(readfile('THExecutor/scriptlist.lua')) do
  962.                 local _script = shared['THExecutor/Scripts_'..tostring(i)]
  963.                 local text = readfile(_script)
  964.                 local clone = script.Parent.template:Clone()
  965.                 clone.Parent = script.Parent
  966.                 clone.Visible = true
  967.                 clone.Name = text
  968.                 clone.Text = text
  969.                 clone.MouseButton1Click:connect(loadstring(text))
  970.             end
  971.         end)
  972.     end
  973.    
  974.     script.Parent.ChildAdded:connect(function(c)
  975.         if c then
  976.             if string.find(c.Name, 'script') then
  977.                 script.Parent.info.Visible = false
  978.             end
  979.         end
  980.     end)
  981. end
  982. coroutine.wrap(container_handlerikdof)()
  983. function container_2_handler_2bmugg()
  984. local script = handler_2
  985.  
  986. function tween(object, t, i)
  987.         game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
  988.     end
  989.    
  990.     local buttons = {}
  991.    
  992.     buttons.theme = {}
  993.     buttons.theme.name,buttons.theme.text = 'theme','Theme: gray'
  994.     buttons.theme.click = function()
  995.         local themes = {'gray','peach','purple'}
  996.         local theme = script.Parent.Parent.Parent.Parent.theme
  997.         local xtheme = table.find(themes, theme.Value)
  998.        
  999.         if xtheme == 1 then
  1000.             xtheme = 2
  1001.         elseif xtheme == 2 then
  1002.             xtheme = 3
  1003.         elseif xtheme == 3 then
  1004.             xtheme = 1
  1005.         end
  1006.         theme.Value = themes[xtheme]
  1007.         local button = script.Parent:WaitForChild('theme')
  1008.         button.Text = 'Theme: '..theme.Value
  1009.     end
  1010.    
  1011.     buttons.cleartextonexecute = {}
  1012.     buttons.cleartextonexecute.toggle = false
  1013.     buttons.cleartextonexecute.name,buttons.cleartextonexecute.text = 'CTOE', 'Clear Text On Execute'
  1014.     buttons.cleartextonexecute.click = function()
  1015.         local button = script.Parent:WaitForChild('CTOE')
  1016.         buttons.cleartextonexecute.toggle = not buttons.cleartextonexecute.toggle
  1017.         script.Parent.Parent.Parent.execution.clearTextOnExecute.Value = buttons.cleartextonexecute.toggle
  1018.         if buttons.cleartextonexecute.toggle then
  1019.             tween(button, .3, {TextColor3 = Color3.fromRGB(35, 255, 35)})
  1020.         else
  1021.             tween(button, .3, {TextColor3 = Color3.fromRGB(255, 35, 35)})
  1022.         end
  1023.     end
  1024.    
  1025.     for a,button in pairs(buttons) do
  1026.         local clone = script.Parent.template:Clone()
  1027.         clone.Name = button.name
  1028.         clone.Text = button.text
  1029.         clone.Visible = true
  1030.         clone.Parent = script.Parent
  1031.        
  1032.         clone.MouseButton1Click:connect(button.click)
  1033.     end
  1034. end
  1035. coroutine.wrap(container_2_handler_2bmugg)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement