SOU1LESSSIMREAL

1x6x4x8 Executor

Feb 10th, 2024
769
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. local gui = Instance.new("ScreenGui")
  2. gui.Name = "ExecutorGUI"
  3. gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  4.  
  5. local frame = Instance.new("Frame")
  6. frame.Size = UDim2.new(0, 300, 0, 200)
  7. frame.Position = UDim2.new(0.5, -150, 0.5, -100)
  8. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  9. frame.BackgroundTransparency = 0.5
  10. frame.Active = true
  11. frame.Draggable = true
  12. frame.Parent = gui
  13.  
  14. local title = Instance.new("TextLabel")
  15. title.Size = UDim2.new(1, 0, 0, 30)
  16. title.BackgroundColor3 = Color3.new(0, 0, 0)
  17. title.TextColor3 = Color3.new(1, 1, 1)
  18. title.Font = Enum.Font.SourceSansBold
  19. title.TextSize = 18
  20. title.Text = "1x6x4x8's Executor"
  21. title.Parent = frame
  22.  
  23. local executeSection = Instance.new("Frame")
  24. executeSection.Size = UDim2.new(1, 0, 1, -30)
  25. executeSection.Position = UDim2.new(0, 0, 0, 30)
  26. executeSection.BackgroundColor3 = Color3.new(0, 0, 0)
  27. executeSection.BackgroundTransparency = 0.5
  28. executeSection.Parent = frame
  29.  
  30. local scriptTextBox = Instance.new("TextBox")
  31. scriptTextBox.Size = UDim2.new(1, -20, 0, 30)
  32. scriptTextBox.Position = UDim2.new(0, 10, 0, 10)
  33. scriptTextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  34. scriptTextBox.TextColor3 = Color3.new(0, 0, 0)
  35. scriptTextBox.Font = Enum.Font.SourceSans
  36. scriptTextBox.TextSize = 14
  37. scriptTextBox.PlaceholderText = "Enter Script"
  38. scriptTextBox.Parent = executeSection
  39.  
  40. local executeButton = Instance.new("TextButton")
  41. executeButton.Size = UDim2.new(0.5, -15, 0, 30)
  42. executeButton.Position = UDim2.new(0, 10, 0, 50)
  43. executeButton.BackgroundColor3 = Color3.new(0, 0.5, 0)
  44. executeButton.TextColor3 = Color3.new(1, 1, 1)
  45. executeButton.Font = Enum.Font.SourceSansBold
  46. executeButton.TextSize = 14
  47. executeButton.Text = "Execute"
  48. executeButton.Parent = executeSection
  49.  
  50. local clearButton = Instance.new("TextButton")
  51. clearButton.Size = UDim2.new(0.5, -15, 0, 30)
  52. clearButton.Position = UDim2.new(0.5, 5, 0, 50)
  53. clearButton.BackgroundColor3 = Color3.new(0.5, 0, 0)
  54. clearButton.TextColor3 = Color3.new(1, 1, 1)
  55. clearButton.Font = Enum.Font.SourceSansBold
  56. clearButton.TextSize = 14
  57. clearButton.Text = "Clear"
  58. clearButton.Parent = executeSection
  59.  
  60.  
  61. local function executeScript()
  62. local scriptText = scriptTextBox.Text
  63. -- Execute the script here using the 'loadstring' function
  64. loadstring(scriptText)()
  65. end
  66.  
  67.  
  68. local function clearScript()
  69. scriptTextBox.Text = ""
  70. end
  71.  
  72.  
  73. executeButton.MouseButton1Click:Connect(executeScript)
  74. clearButton.MouseButton1Click:Connect(clearScript)
Advertisement
Comments
  • hosjb
    224 days
    Comment was deleted
Add Comment
Please, Sign In to add comment