Advertisement
Guest User

executor

a guest
Jul 23rd, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ExecutorGUI = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Execute = Instance.new("TextButton")
  6. local Clear = Instance.new("TextButton")
  7. local Inject = Instance.new("TextButton")
  8. local ScrollingFrame = Instance.new("ScrollingFrame")
  9. local Code = Instance.new("TextBox")
  10.  
  11. -- Properties
  12.  
  13. ExecutorGUI.Name = "ExecutorGUI"
  14. ExecutorGUI.Parent = game.StarterGui
  15. ExecutorGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Main.Name = "Main"
  18. Main.Parent = ExecutorGUI
  19. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  20. Main.BorderSizePixel = 0
  21. Main.Position = UDim2.new(0.389899045, 0, 0.227330774, 0)
  22. Main.Size = UDim2.new(0, 333, 0, 284)
  23.  
  24. Execute.Name = "Execute"
  25. Execute.Parent = Main
  26. Execute.BackgroundColor3 = Color3.new(0, 0, 1)
  27. Execute.BorderSizePixel = 0
  28. Execute.Position = UDim2.new(0, 0, 0.823943675, 0)
  29. Execute.Size = UDim2.new(0, 132, 0, 50)
  30. Execute.Font = Enum.Font.SourceSans
  31. Execute.Text = "Execute"
  32. Execute.TextColor3 = Color3.new(1, 1, 1)
  33. Execute.TextScaled = true
  34. Execute.TextSize = 14
  35. Execute.TextWrapped = true
  36.  
  37. Execute.MouseButton1Down:connect(function()
  38. loadstring(Code.Text)()
  39. end)
  40.  
  41. Clear.Name = "Clear"
  42. Clear.Parent = Main
  43. Clear.BackgroundColor3 = Color3.new(1, 0, 0)
  44. Clear.BorderSizePixel = 0
  45. Clear.Position = UDim2.new(0.396396399, 0, 0.823943675, 0)
  46. Clear.Size = UDim2.new(0, 105, 0, 50)
  47. Clear.Font = Enum.Font.SourceSans
  48. Clear.Text = "Clear"
  49. Clear.TextColor3 = Color3.new(1, 1, 1)
  50. Clear.TextScaled = true
  51. Clear.TextSize = 14
  52. Clear.TextWrapped = true
  53.  
  54. Clear.MouseButton1Down:connect(function()
  55. Code.Text = ""
  56. end)
  57.  
  58. Inject.Name = "Inject"
  59. Inject.Parent = Main
  60. Inject.BackgroundColor3 = Color3.new(0, 1, 0)
  61. Inject.BorderSizePixel = 0
  62. Inject.Position = UDim2.new(0.711711705, 0, 0.823943675, 0)
  63. Inject.Size = UDim2.new(0, 96, 0, 50)
  64. Inject.Font = Enum.Font.SourceSans
  65. Inject.Text = "Inject"
  66. Inject.TextColor3 = Color3.new(1, 1, 1)
  67. Inject.TextScaled = true
  68. Inject.TextSize = 14
  69. Inject.TextWrapped = true
  70.  
  71. Inject.MouseButton1Down:connect(function()
  72. Code.Text = "Injected"
  73. end)
  74.  
  75. ScrollingFrame.Parent = ExecutorGUI
  76. ScrollingFrame.BackgroundColor3 = Color3.new(0.137255, 0.129412, 0.117647)
  77. ScrollingFrame.BorderSizePixel = 0
  78. ScrollingFrame.Position = UDim2.new(0.413861394, 0, 0.242656425, 0)
  79. ScrollingFrame.Size = UDim2.new(0, 289, 0, 212)
  80.  
  81. Code.Name = "Code"
  82. Code.Parent = ScrollingFrame
  83. Code.BackgroundColor3 = Color3.new(1, 1, 1)
  84. Code.BackgroundTransparency = 1
  85. Code.Size = UDim2.new(0, 289, 0, 50)
  86. Code.Font = Enum.Font.SourceSans
  87. Code.Text = "Enter Script Here"
  88. Code.TextColor3 = Color3.new(1, 1, 1)
  89. Code.TextSize = 14
  90. Code.TextXAlignment = Enum.TextXAlignment.Left
  91. Code.TextYAlignment = Enum.TextYAlignment.Top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement