Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --gui to lua v1
- --objects
- local THExecutor = Instance.new"ScreenGui"
- local mf = Instance.new"Frame"
- local UICorner = Instance.new"UICorner"
- local sidebar = Instance.new"Frame"
- local home = Instance.new"TextButton"
- local UIListLayout = Instance.new"UIListLayout"
- local execution = Instance.new"TextButton"
- local scripts = Instance.new"TextButton"
- local settings = Instance.new"TextButton"
- local sidebarHandler = Instance.new"LocalScript"
- local selectedSection = Instance.new"StringValue"
- local sidebarline = Instance.new"Frame"
- local linegradient = Instance.new"UIGradient"
- local linehandler = Instance.new"LocalScript"
- local titleline = Instance.new"Frame"
- local linegradient_2 = Instance.new"UIGradient"
- local linehandler_2 = Instance.new"LocalScript"
- local TextLabel = Instance.new"TextLabel"
- local mainscript = Instance.new"LocalScript"
- local smooth_drag = Instance.new"LocalScript"
- local sections = Instance.new"ScrollingFrame"
- local home_2 = Instance.new"Frame"
- local TextLabel_2 = Instance.new"TextLabel"
- local lol = Instance.new"LocalScript"
- local execution_2 = Instance.new"Frame"
- local buttons = Instance.new"Frame"
- local execute = Instance.new"TextButton"
- local title = Instance.new"TextLabel"
- local UIListLayout_2 = Instance.new"UIListLayout"
- local clear = Instance.new"TextButton"
- local title_2 = Instance.new"TextLabel"
- local hide = Instance.new"TextButton"
- local title_3 = Instance.new"TextLabel"
- local save = Instance.new"TextButton"
- local title_4 = Instance.new"TextLabel"
- local buttonHandler = Instance.new"LocalScript"
- local ScrollingFrame = Instance.new"ScrollingFrame"
- local box = Instance.new"TextBox"
- local lines = Instance.new"TextLabel"
- local linehandler_3 = Instance.new"LocalScript"
- local clearTextOnExecute = Instance.new"BoolValue"
- local savescript = Instance.new"Frame"
- local name = Instance.new"TextBox"
- local UICorner_2 = Instance.new"UICorner"
- local save_2 = Instance.new"TextButton"
- local title_5 = Instance.new"TextLabel"
- local UICorner_3 = Instance.new"UICorner"
- local save_3 = Instance.new"LocalScript"
- local UICorner_4 = Instance.new"UICorner"
- local scripts_2 = Instance.new"Frame"
- local container = Instance.new"ScrollingFrame"
- local template = Instance.new"TextButton"
- local UIListLayout_3 = Instance.new"UIListLayout"
- local handler = Instance.new"LocalScript"
- local info = Instance.new"TextLabel"
- local settings_2 = Instance.new"Frame"
- local container_2 = Instance.new"ScrollingFrame"
- local template_2 = Instance.new"TextButton"
- local UIListLayout_4 = Instance.new"UIListLayout"
- local handler_2 = Instance.new"LocalScript"
- local theme = Instance.new"StringValue"
- --properties
- THExecutor.Name = 'THExecutor'
- pcall(function() syn.protect_gui(THExecutor) end)
- pcall(function() THExecutor.Parent = game:GetService"CoreGui" end)
- THExecutor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- mf.BackgroundColor3 = Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634)
- mf.BorderSizePixel = 0
- mf.Name = 'mf'
- mf.Parent = THExecutor
- mf.Position = UDim2.new(0.248715311, 0, 0.298906475, 0)
- mf.Size = UDim2.new(0, 507, 0, 331)
- UICorner.Parent = mf
- sidebar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- sidebar.BackgroundTransparency = 1
- sidebar.BorderSizePixel = 0
- sidebar.Name = 'sidebar'
- sidebar.Parent = mf
- sidebar.Position = UDim2.new(0, 0, 0.132930517, 0)
- sidebar.Size = UDim2.new(0, 102, 0, 287)
- home.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- home.BackgroundTransparency = 1
- home.BorderSizePixel = 0
- home.Name = 'home'
- home.Parent = sidebar
- home.Size = UDim2.new(0, 102, 0, 71)
- home.Font = Enum.Font.Gotham
- home.Text = 'Home'
- home.TextColor3 = Color3.fromRGB(255, 255, 255)
- home.TextScaled = true
- home.TextSize = 14
- home.TextWrapped = true
- UIListLayout.Parent = sidebar
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- execution.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- execution.BackgroundTransparency = 1
- execution.BorderSizePixel = 0
- execution.Name = 'execution'
- execution.Parent = sidebar
- execution.Position = UDim2.new(0, 0, 0.247386754, 0)
- execution.Size = UDim2.new(0, 102, 0, 71)
- execution.Font = Enum.Font.Gotham
- execution.Text = 'Execution'
- execution.TextColor3 = Color3.fromRGB(255, 255, 255)
- execution.TextScaled = true
- execution.TextSize = 14
- execution.TextWrapped = true
- scripts.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- scripts.BackgroundTransparency = 1
- scripts.BorderSizePixel = 0
- scripts.Name = 'scripts'
- scripts.Parent = sidebar
- scripts.Position = UDim2.new(0, 0, 0.494773507, 0)
- scripts.Size = UDim2.new(0, 102, 0, 71)
- scripts.Font = Enum.Font.Gotham
- scripts.Text = 'Scripts'
- scripts.TextColor3 = Color3.fromRGB(255, 255, 255)
- scripts.TextScaled = true
- scripts.TextSize = 14
- scripts.TextWrapped = true
- settings.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- settings.BackgroundTransparency = 1
- settings.BorderSizePixel = 0
- settings.Name = 'settings'
- settings.Parent = sidebar
- settings.Position = UDim2.new(0, 0, 0.742160261, 0)
- settings.Size = UDim2.new(0, 102, 0, 71)
- settings.Font = Enum.Font.Gotham
- settings.Text = 'Settings'
- settings.TextColor3 = Color3.fromRGB(255, 255, 255)
- settings.TextScaled = true
- settings.TextSize = 14
- settings.TextWrapped = true
- sidebarHandler.Name = 'sidebarHandler'
- sidebarHandler.Parent = sidebar
- selectedSection.Name = 'selectedSection'
- selectedSection.Parent = mf
- selectedSection.Value = 'home'
- sidebarline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- sidebarline.BorderSizePixel = 0
- sidebarline.Name = 'sidebarline'
- sidebarline.Parent = mf
- sidebarline.Position = UDim2.new(0.201183438, 0, 0, 0)
- sidebarline.Size = UDim2.new(0, 2, 0, 331)
- linegradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634))})
- linegradient.Offset = Vector2.new(0, -1)
- linegradient.Rotation = -90
- linegradient.Name = 'linegradient'
- linegradient.Parent = sidebarline
- linehandler.Name = 'linehandler'
- linehandler.Parent = linegradient
- titleline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- titleline.BorderSizePixel = 0
- titleline.Name = 'titleline'
- titleline.Parent = mf
- titleline.Position = UDim2.new(0, 0, 0.126888216, 0)
- titleline.Size = UDim2.new(0, 507, 0, 2)
- linegradient_2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634))})
- linegradient_2.Offset = Vector2.new(1, 0)
- linegradient_2.Name = 'linegradient'
- linegradient_2.Parent = titleline
- linehandler_2.Name = 'linehandler'
- linehandler_2.Parent = linegradient_2
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Parent = mf
- TextLabel.Size = UDim2.new(0, 507, 0, 42)
- TextLabel.Font = Enum.Font.Gotham
- TextLabel.Text = 'THExecutor'
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- mainscript.Name = 'mainscript'
- mainscript.Parent = mf
- smooth_drag.Name = 'smooth_drag'
- smooth_drag.Parent = mf
- sections.Active = true
- sections.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- sections.BackgroundTransparency = 1
- sections.BorderSizePixel = 0
- sections.Name = 'sections'
- sections.Parent = mf
- sections.Position = UDim2.new(0.205128208, 0, 0.132930517, 0)
- sections.Size = UDim2.new(0, 403, 0, 287)
- sections.CanvasSize = UDim2.new(5, 0, 5, 0)
- sections.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- sections.ScrollBarImageTransparency = 1
- sections.ScrollBarThickness = 0
- sections.ScrollingEnabled = false
- home_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- home_2.BackgroundTransparency = 1
- home_2.BorderSizePixel = 0
- home_2.Name = 'home'
- home_2.Parent = sections
- home_2.Size = UDim2.new(0, 403, 0, 287)
- home_2.Visible = false
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Parent = home_2
- TextLabel_2.Position = UDim2.new(0, 0, 0.0348432064, 0)
- TextLabel_2.Size = UDim2.new(0, 403, 0, 50)
- TextLabel_2.Font = Enum.Font.Gotham
- TextLabel_2.Text = 'You have executed THExecutor made by TechHog#8984'
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14
- TextLabel_2.TextWrapped = true
- lol.Name = 'lol'
- lol.Parent = TextLabel_2
- execution_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- execution_2.BackgroundTransparency = 1
- execution_2.BorderSizePixel = 0
- execution_2.Name = 'execution'
- execution_2.Parent = sections
- execution_2.Size = UDim2.new(0, 403, 0, 287)
- buttons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- buttons.BackgroundTransparency = 1
- buttons.BorderSizePixel = 0
- buttons.Name = 'buttons'
- buttons.Parent = execution_2
- buttons.Position = UDim2.new(0, 0, 0.850174189, 0)
- buttons.Size = UDim2.new(0, 403, 0, 43)
- execute.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- execute.BackgroundTransparency = 1
- execute.BorderSizePixel = 0
- execute.Name = 'execute'
- execute.Parent = buttons
- execute.Size = UDim2.new(0, 100, 0, 43)
- execute.Font = Enum.Font.Gotham
- execute.Text = 'Execute'
- execute.TextColor3 = Color3.fromRGB(255, 255, 255)
- execute.TextSize = 19
- execute.TextTransparency = 1
- execute.TextWrapped = true
- title.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- title.BorderSizePixel = 0
- title.Name = 'title'
- title.Parent = execute
- title.Size = UDim2.new(0, 100, 0, 43)
- title.Font = Enum.Font.Gotham
- title.Text = 'Execute'
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.TextSize = 19
- title.TextWrapped = true
- UIListLayout_2.Parent = buttons
- UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- clear.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- clear.BackgroundTransparency = 1
- clear.BorderSizePixel = 0
- clear.Name = 'clear'
- clear.Parent = buttons
- clear.Position = UDim2.new(0.235111669, 0, 0, 0)
- clear.Size = UDim2.new(0, 100, 0, 43)
- clear.Font = Enum.Font.Gotham
- clear.Text = 'Clear'
- clear.TextColor3 = Color3.fromRGB(255, 255, 255)
- clear.TextSize = 19
- clear.TextTransparency = 1
- clear.TextWrapped = true
- title_2.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- title_2.BorderSizePixel = 0
- title_2.Name = 'title'
- title_2.Parent = clear
- title_2.Position = UDim2.new(-0.00249999994, 0, 0, 0)
- title_2.Size = UDim2.new(0, 100, 0, 43)
- title_2.Font = Enum.Font.Gotham
- title_2.Text = 'Clear'
- title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- title_2.TextSize = 19
- title_2.TextWrapped = true
- hide.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- hide.BackgroundTransparency = 1
- hide.BorderSizePixel = 0
- hide.Name = 'hide'
- hide.Parent = buttons
- hide.Position = UDim2.new(0.497518599, 0, 0, 0)
- hide.Size = UDim2.new(0, 100, 0, 43)
- hide.Font = Enum.Font.Gotham
- hide.Text = 'Hide-Script'
- hide.TextColor3 = Color3.fromRGB(255, 255, 255)
- hide.TextSize = 19
- hide.TextTransparency = 1
- hide.TextWrapped = true
- title_3.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- title_3.BorderSizePixel = 0
- title_3.Name = 'title'
- title_3.Parent = hide
- title_3.Position = UDim2.new(-0.00249999994, 0, 0, 0)
- title_3.Size = UDim2.new(0, 101, 0, 43)
- title_3.Font = Enum.Font.Gotham
- title_3.Text = 'Hide-Script'
- title_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- title_3.TextSize = 19
- title_3.TextWrapped = true
- save.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- save.BackgroundTransparency = 1
- save.BorderSizePixel = 0
- save.Name = 'save'
- save.Parent = buttons
- save.Position = UDim2.new(0.735111654, 0, 0, 0)
- save.Size = UDim2.new(0, 100, 0, 43)
- save.Font = Enum.Font.Gotham
- save.Text = 'Save-Script'
- save.TextColor3 = Color3.fromRGB(255, 255, 255)
- save.TextSize = 19
- save.TextTransparency = 1
- save.TextWrapped = true
- title_4.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- title_4.BorderSizePixel = 0
- title_4.Name = 'title'
- title_4.Parent = save
- title_4.Size = UDim2.new(0, 100, 0, 43)
- title_4.Font = Enum.Font.Gotham
- title_4.Text = 'Save-Script'
- title_4.TextColor3 = Color3.fromRGB(255, 255, 255)
- title_4.TextSize = 19
- title_4.TextWrapped = true
- buttonHandler.Name = 'buttonHandler'
- buttonHandler.Parent = buttons
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(30.000000111759, 30.000000111759, 30.000000111759)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Parent = execution_2
- ScrollingFrame.Position = UDim2.new(0, 0, 0.00278741401, 0)
- ScrollingFrame.Size = UDim2.new(0, 403, 0, 243)
- ScrollingFrame.CanvasSize = UDim2.new(999, 0, 999, 0)
- ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.ScrollBarThickness = 0
- box.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- box.BackgroundTransparency = 1
- box.BorderSizePixel = 0
- box.ClearTextOnFocus = false
- box.MultiLine = true
- box.Name = 'box'
- box.Parent = ScrollingFrame
- box.Position = UDim2.new(0, 20, 0, 0)
- box.Size = UDim2.new(999, 0, 999, 0)
- box.Font = Enum.Font.Gotham
- box.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- box.Text = ''
- box.TextColor3 = Color3.fromRGB(255, 255, 255)
- box.TextSize = 16
- box.TextXAlignment = Enum.TextXAlignment.Left
- box.TextYAlignment = Enum.TextYAlignment.Top
- lines.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- lines.BackgroundTransparency = 1
- lines.BorderSizePixel = 0
- lines.Name = 'lines'
- lines.Parent = ScrollingFrame
- lines.Size = UDim2.new(0, 20, 999, 0)
- lines.Font = Enum.Font.Gotham
- lines.Text = '1'
- lines.TextColor3 = Color3.fromRGB(255, 255, 255)
- lines.TextSize = 16
- lines.TextYAlignment = Enum.TextYAlignment.Top
- linehandler_3.Name = 'linehandler'
- linehandler_3.Parent = lines
- clearTextOnExecute.Name = 'clearTextOnExecute'
- clearTextOnExecute.Parent = execution_2
- savescript.BackgroundColor3 = Color3.fromRGB(35.000001713634, 35.000001713634, 35.000001713634)
- savescript.BorderSizePixel = 0
- savescript.Name = 'savescript'
- savescript.Parent = execution_2
- savescript.Position = UDim2.new(0.295285374, 0, 0.229965165, 0)
- savescript.Size = UDim2.new(0, 165, 0, 112)
- savescript.Visible = false
- name.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- name.BorderSizePixel = 0
- name.Name = 'name'
- name.Parent = savescript
- name.Position = UDim2.new(0, 0, 0.063929826, 0)
- name.Size = UDim2.new(0, 165, 0, 31)
- name.Font = Enum.Font.Gotham
- name.PlaceholderText = 'name'
- name.Text = ''
- name.TextColor3 = Color3.fromRGB(255, 255, 255)
- name.TextScaled = true
- name.TextSize = 14
- name.TextWrapped = true
- UICorner_2.Parent = name
- save_2.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- save_2.BackgroundTransparency = 1
- save_2.BorderSizePixel = 0
- save_2.Name = 'save'
- save_2.Parent = savescript
- save_2.Position = UDim2.new(0, 0, 0.495131642, 0)
- save_2.Size = UDim2.new(0, 165, 0, 43)
- save_2.Font = Enum.Font.Gotham
- save_2.Text = 'Execute'
- save_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- save_2.TextSize = 19
- save_2.TextTransparency = 1
- save_2.TextWrapped = true
- title_5.BackgroundColor3 = Color3.fromRGB(40.00000141561, 40.00000141561, 40.00000141561)
- title_5.BorderSizePixel = 0
- title_5.Name = 'title'
- title_5.Parent = save_2
- title_5.Size = UDim2.new(0, 165, 0, 43)
- title_5.Font = Enum.Font.Gotham
- title_5.Text = 'save'
- title_5.TextColor3 = Color3.fromRGB(255, 255, 255)
- title_5.TextSize = 19
- title_5.TextWrapped = true
- UICorner_3.Parent = title_5
- save_3.Name = 'save'
- save_3.Parent = save_2
- UICorner_4.Parent = savescript
- scripts_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- scripts_2.BackgroundTransparency = 1
- scripts_2.BorderSizePixel = 0
- scripts_2.Name = 'scripts'
- scripts_2.Parent = sections
- scripts_2.Size = UDim2.new(0, 403, 0, 287)
- scripts_2.Visible = false
- container.Active = true
- container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- container.BackgroundTransparency = 1
- container.BorderSizePixel = 0
- container.Name = 'container'
- container.Parent = scripts_2
- container.Size = UDim2.new(0, 403, 0, 287)
- container.CanvasSize = UDim2.new(0, 0, 0, 0)
- container.ScrollBarThickness = 6
- container.ScrollingDirection = Enum.ScrollingDirection.Y
- template.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- template.BackgroundTransparency = 1
- template.BorderSizePixel = 0
- template.Name = 'template'
- template.Parent = container
- template.Size = UDim2.new(0, 403, 0, 35)
- template.Visible = false
- template.Font = Enum.Font.Gotham
- template.Text = 'script'
- template.TextColor3 = Color3.fromRGB(255, 255, 255)
- template.TextScaled = true
- template.TextSize = 14
- template.TextWrapped = true
- UIListLayout_3.Parent = container
- UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
- handler.Name = 'handler'
- handler.Parent = container
- info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- info.BackgroundTransparency = 1
- info.BorderSizePixel = 0
- info.Name = 'info'
- info.Parent = container
- info.Size = UDim2.new(0, 403, 0, 35)
- info.Font = Enum.Font.GothamBold
- info.Text = 'No scripts found, save scripts in the execution tab.'
- info.TextColor3 = Color3.fromRGB(255, 255, 255)
- info.TextScaled = true
- info.TextSize = 14
- info.TextWrapped = true
- settings_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- settings_2.BackgroundTransparency = 1
- settings_2.BorderSizePixel = 0
- settings_2.Name = 'settings'
- settings_2.Parent = sections
- settings_2.Size = UDim2.new(0, 403, 0, 287)
- settings_2.Visible = false
- container_2.Active = true
- container_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- container_2.BackgroundTransparency = 1
- container_2.BorderSizePixel = 0
- container_2.Name = 'container'
- container_2.Parent = settings_2
- container_2.Size = UDim2.new(0, 403, 0, 287)
- container_2.CanvasSize = UDim2.new(0, 0, 0, 0)
- container_2.ScrollBarThickness = 6
- container_2.ScrollingDirection = Enum.ScrollingDirection.Y
- template_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- template_2.BackgroundTransparency = 1
- template_2.BorderSizePixel = 0
- template_2.Name = 'template'
- template_2.Parent = container_2
- template_2.Size = UDim2.new(0, 403, 0, 35)
- template_2.Visible = false
- template_2.Font = Enum.Font.Gotham
- template_2.Text = 'script'
- template_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- template_2.TextScaled = true
- template_2.TextSize = 14
- template_2.TextWrapped = true
- UIListLayout_4.Parent = container_2
- UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
- handler_2.Name = 'handler'
- handler_2.Parent = container_2
- theme.Name = 'theme'
- theme.Parent = mf
- theme.Value = 'gray'
- --attributes
- --scripts
- function sidebar_sidebarHandlerjvnwi()
- local script = sidebarHandler
- local oldsize = {}
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- for a,b in pairs(script.Parent:GetChildren()) do
- if b then
- if b:IsA'TextButton' then
- oldsize[b] = b.Size
- b.MouseButton1Click:connect(function()
- script.Parent.Parent.selectedSection.Value = b.Name
- end)
- b.MouseEnter:connect(function()
- tween(b, .3, {Size=UDim2.new(oldsize[b].X.Scale, oldsize[b].X.Offset+5, oldsize[b].Y.Scale, oldsize[b].Y.Offset+5)})
- end)
- b.MouseLeave:connect(function()
- tween(b, .3, {Size=oldsize[b]})
- end)
- end
- end
- end
- end
- coroutine.wrap(sidebar_sidebarHandlerjvnwi)()
- function linegradient_linehandlerciszj()
- local script = linehandler
- local x1 = false
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- while wait(1.5) do
- x1 = not x1
- if x1 then
- tween(script.Parent, 1, {Offset=Vector2.new(0, 1)})
- wait(.9)
- script.Parent.Offset = Vector2.new(0, -1)
- script.Parent.Rotation = 90
- tween(script.Parent, 1, {Offset=Vector2.new(0, 1)})
- else
- tween(script.Parent, 1, {Offset=Vector2.new(0, -1)})
- wait(.9)
- script.Parent.Offset = Vector2.new(0, 1)
- script.Parent.Rotation = -90
- tween(script.Parent, 1, {Offset=Vector2.new(0, -1)})
- end
- end
- end
- coroutine.wrap(linegradient_linehandlerciszj)()
- function linegradient_2_linehandler_2itkpe()
- local script = linehandler_2
- local x1 = true
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- while wait(1.5) do
- x1 = not x1
- if x1 then
- tween(script.Parent, 1, {Offset=Vector2.new(1, 0)})
- wait(.9)
- script.Parent.Offset = Vector2.new(-1, 0)
- script.Parent.Rotation = 0
- tween(script.Parent, 1, {Offset=Vector2.new(1, 0)})
- else
- tween(script.Parent, 1, {Offset=Vector2.new(-1, 0)})
- wait(.9)
- script.Parent.Offset = Vector2.new(1, 0)
- script.Parent.Rotation = 180
- tween(script.Parent, 1, {Offset=Vector2.new(-1, 0)})
- end
- end
- end
- coroutine.wrap(linegradient_2_linehandler_2itkpe)()
- function mf_mainscriptumgsa()
- local script = mainscript
- local frame = script.Parent
- local functions = {}
- local themes = {}
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- for a,b in pairs(script.Parent.sections:GetChildren()) do
- if b then
- b.Visible = true
- if b~= script.Parent.sections.home then
- local x1 = math.random(1,2)
- local x2 = math.random(1,2)
- local x = 0
- local y = 0
- if x1 == 1 then
- x = .2
- else
- x = -.2
- end
- if x2 == 1 then
- y = .2
- else
- y = -.2
- end
- b.Position = UDim2.new(x, 0, y, 0)
- end
- end
- end
- themes['gray'] = Color3.fromRGB(35,35,35)
- themes['gray_up'] = Color3.fromRGB(40,40,40)
- themes['gray_down']= Color3.fromRGB(30,30,30)
- themes['peach'] = Color3.fromRGB(255, 116, 118)
- themes['peach_up'] = Color3.fromRGB(255, 121, 123)
- themes['peach_down']= Color3.fromRGB(250, 111, 113)
- themes['purple'] = Color3.fromRGB(127, 101, 255)
- themes['purple_up'] = Color3.fromRGB(132, 106, 255)
- themes['purple_down']= Color3.fromRGB(122, 96, 250)
- functions.home_selected = function()
- tween(frame.sections.home, .4, {Position=UDim2.new(0, 0, 0, 0)})
- for a,b in pairs(frame.sections:GetChildren()) do
- if b then
- if b:IsA'Frame' then
- if b~= frame.sections.home then
- tween(b, .4, {Position=UDim2.new(0, 0, -.2, 0)})
- end
- end
- end
- end
- end
- functions.execution_selected = function()
- tween(frame.sections.execution, .4, {Position=UDim2.new(0, 0, 0, 0)})
- for a,b in pairs(frame.sections:GetChildren()) do
- if b then
- if b:IsA'Frame' then
- if b~= frame.sections.execution then
- tween(b, .4, {Position=UDim2.new(0, 0, .2, 0)})
- end
- end
- end
- end
- end
- functions.scripts_selected = function()
- tween(frame.sections.scripts, .4, {Position=UDim2.new(0, 0, 0, 0)})
- for a,b in pairs(frame.sections:GetChildren()) do
- if b then
- if b:IsA'Frame' then
- if b~= frame.sections.scripts then
- tween(b, .4, {Position=UDim2.new(-.2, 0, 0, 0)})
- end
- end
- end
- end
- end
- functions.settings_selected = function()
- tween(frame.sections.settings, .4, {Position=UDim2.new(0, 0, 0, 0)})
- for a,b in pairs(frame.sections:GetChildren()) do
- if b then
- if b:IsA'Frame' then
- if b~= frame.sections.settings then
- tween(b, .4, {Position=UDim2.new(.2, 0, 0, 0)})
- end
- end
- end
- end
- end
- frame.selectedSection.Changed:connect(function()
- local selected = frame.selectedSection.Value
- functions[selected..'_selected']()
- end)
- frame.theme.Changed:connect(function()
- local theme = frame.theme.Value
- local color = themes[theme]
- local up = themes[theme..'_up']
- local down = themes[theme..'_down']
- frame.BackgroundColor3 = color
- for a,b in pairs(script.Parent:GetDescendants()) do
- if b then
- if b.Name == 'linegradient' then
- b.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,255)), ColorSequenceKeypoint.new(1, color)}
- end
- end
- end
- frame.sections.execution.ScrollingFrame.BackgroundColor3 = down
- for a,b in pairs(frame.sections.execution.buttons:GetChildren()) do
- if b then
- if b:IsA'TextButton' then
- b.title.BackgroundColor3 = up
- end
- end
- end
- end)
- end
- coroutine.wrap(mf_mainscriptumgsa)()
- function mf_smooth_dragpklal()
- local script = smooth_drag
- function dragify(Frame)
- local dragToggle = nil
- local dragSpeed = .25
- local dragInput = nil
- local dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragToggle then
- updateInput(input)
- end
- end)
- end
- dragify(script.Parent)
- end
- coroutine.wrap(mf_smooth_dragpklal)()
- function TextLabel_2_lolshflp()
- local script = lol
- local message1 = 'You have executed THExecutor made by TechHog#8984'
- local message2 = 'You have executed THExecutor made by TechHog#8984 SK3 is gay.'
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- script.Parent.MouseEnter:connect(function()
- tween(script.Parent, .3, {TextTransparency = 1})
- wait(.3)
- script.Parent.Text = message2
- tween(script.Parent, .3, {TextTransparency = 0})
- end)
- script.Parent.MouseLeave:connect(function()
- tween(script.Parent, .3, {TextTransparency = 1})
- wait(.3)
- script.Parent.Text = message1
- tween(script.Parent, .3, {TextTransparency = 0})
- end)
- end
- coroutine.wrap(TextLabel_2_lolshflp)()
- function buttons_buttonHandlertlhwu()
- local script = buttonHandler
- local box = script.Parent.Parent.ScrollingFrame.box
- local oldsize = {}
- local functions = {}
- local hidden = false
- function tween(object, t, i)
- local info = TweenInfo.new(t, Enum.EasingStyle.Exponential)
- game:GetService'TweenService':Create(object, info, i):Play()
- end
- functions.clear = function()
- tween(box, .3, {TextTransparency=1})
- wait(.35)
- box.Text = ''
- tween(box, .3, {TextTransparency=0})
- end
- functions.execute = function()
- local text = box.Text
- if script.Parent.Parent.clearTextOnExecute.Value then
- functions.clear()
- end
- local success, err = loadstring(text)
- if success then
- success()
- else
- warn(err)
- end
- end
- functions.hide = function()
- hidden = not hidden
- tween(script.Parent.hide.title, .2, {TextTransparency=1})
- if hidden then
- tween(box, .3, {TextTransparency=1})
- else
- tween(box, .3, {TextTransparency=0})
- end
- wait(.2)
- if hidden then
- script.Parent.hide.title.Text = 'Unhide'
- else
- script.Parent.hide.title.Text='Hide-Script'
- end
- tween(script.Parent.hide.title, .2, {TextTransparency=0})
- end
- functions.save = function()
- script.Parent.Parent.savescript.Visible = true
- end
- for a,b in pairs(script.Parent:GetChildren()) do
- if b then
- if b:IsA'TextButton' then
- oldsize[b] = b.title.Size
- b.MouseButton1Click:connect(functions[b.Name])
- b.MouseEnter:connect(function()
- 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)})
- end)
- b.MouseLeave:connect(function()
- tween(b.title, .3, {Size=oldsize[b]})
- end)
- end
- end
- end
- end
- coroutine.wrap(buttons_buttonHandlertlhwu)()
- function lines_linehandler_3acllj()
- local script = linehandler_3
- local box = script.Parent.Parent.box
- local lines = 1
- local label = script.Parent
- box:GetPropertyChangedSignal'Text':connect(function()
- local text = box.Text
- lines = 1
- text:gsub('\n', function()
- lines += 1
- end)
- label.Text = ''
- for line = 1, lines do
- label.Text = label.Text .. tostring(line) .. '\n'
- end
- end)
- end
- coroutine.wrap(lines_linehandler_3acllj)()
- function save_2_save_3emzgj()
- local script = save_3
- local box = script.Parent.Parent.Parent.ScrollingFrame.box
- local container = script.Parent.Parent.Parent.Parent.scripts.container
- script.Parent.MouseButton1Click:connect(function()
- script.Parent.Parent.Visible = false
- local text = box.Text
- local name = script.Parent.Parent.name.Text
- if text and text ~= '' and text ~= ' ' and text~=string.char(0) then
- local scripts = 1
- if not isfile('THExecutor') then
- makefolder('THExecutor')
- end
- if isfile('THExecutor/scriptlist.lua') then
- scripts = tonumber(readfile('THExecutor/scriptlist.lua'))
- scripts += 1
- end
- writefile('THExecutor/scriptlist.lua', tostring(scripts))
- local saved = 'THExecutor/script'..name..'#'..tostring(scripts)..'.lua'
- writefile(saved, text)
- shared['THExecutorScripts_'..tostring(scripts)] = saved
- local clone = container.template:Clone()
- clone.Parent = container
- clone.Visible = true
- clone.Name = name
- clone.Text = name
- clone.MouseButton1Click:connect(loadstring(text))
- container.info.Visible = false
- end
- end)
- end
- coroutine.wrap(save_2_save_3emzgj)()
- function container_handlerikdof()
- local script = handler
- local a,has = pcall(function() if isfile then return true else return false end end)
- if not has then return end
- if isfile('THExecutor/scriptlist.lua') then
- script.Parent.info.Visible = false
- pcall(function()
- for i = 1, tonumber(readfile('THExecutor/scriptlist.lua')) do
- local _script = shared['THExecutor/Scripts_'..tostring(i)]
- local text = readfile(_script)
- local clone = script.Parent.template:Clone()
- clone.Parent = script.Parent
- clone.Visible = true
- clone.Name = text
- clone.Text = text
- clone.MouseButton1Click:connect(loadstring(text))
- end
- end)
- end
- script.Parent.ChildAdded:connect(function(c)
- if c then
- if string.find(c.Name, 'script') then
- script.Parent.info.Visible = false
- end
- end
- end)
- end
- coroutine.wrap(container_handlerikdof)()
- function container_2_handler_2bmugg()
- local script = handler_2
- function tween(object, t, i)
- game:GetService'TweenService':Create(object, TweenInfo.new(t, Enum.EasingStyle.Exponential), i):Play()
- end
- local buttons = {}
- buttons.theme = {}
- buttons.theme.name,buttons.theme.text = 'theme','Theme: gray'
- buttons.theme.click = function()
- local themes = {'gray','peach','purple'}
- local theme = script.Parent.Parent.Parent.Parent.theme
- local xtheme = table.find(themes, theme.Value)
- if xtheme == 1 then
- xtheme = 2
- elseif xtheme == 2 then
- xtheme = 3
- elseif xtheme == 3 then
- xtheme = 1
- end
- theme.Value = themes[xtheme]
- local button = script.Parent:WaitForChild('theme')
- button.Text = 'Theme: '..theme.Value
- end
- buttons.cleartextonexecute = {}
- buttons.cleartextonexecute.toggle = false
- buttons.cleartextonexecute.name,buttons.cleartextonexecute.text = 'CTOE', 'Clear Text On Execute'
- buttons.cleartextonexecute.click = function()
- local button = script.Parent:WaitForChild('CTOE')
- buttons.cleartextonexecute.toggle = not buttons.cleartextonexecute.toggle
- script.Parent.Parent.Parent.execution.clearTextOnExecute.Value = buttons.cleartextonexecute.toggle
- if buttons.cleartextonexecute.toggle then
- tween(button, .3, {TextColor3 = Color3.fromRGB(35, 255, 35)})
- else
- tween(button, .3, {TextColor3 = Color3.fromRGB(255, 35, 35)})
- end
- end
- for a,button in pairs(buttons) do
- local clone = script.Parent.template:Clone()
- clone.Name = button.name
- clone.Text = button.text
- clone.Visible = true
- clone.Parent = script.Parent
- clone.MouseButton1Click:connect(button.click)
- end
- end
- coroutine.wrap(container_2_handler_2bmugg)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement