Advertisement
sleepyfun

Sleepyfun's Executer

Nov 23rd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScriptExeWindow = Instance.new("Frame")
  4. local WindowTop = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Codebox = Instance.new("TextBox")
  7. local RunS = Instance.new("TextButton")
  8. local Cls = Instance.new("TextButton")
  9.  
  10. -- Properties
  11.  
  12. ScriptExeWindow.Name = "ScriptExeWindow"
  13. ScriptExeWindow.Parent = game.Players.LocalPlayer.PlayerGui
  14. ScriptExeWindow.Active = true
  15. ScriptExeWindow.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  16. ScriptExeWindow.BorderSizePixel = 0
  17. ScriptExeWindow.Draggable = true
  18. ScriptExeWindow.Position = UDim2.new(0, 349, 0, 30)
  19. ScriptExeWindow.Size = UDim2.new(0, 375, 0, 200)
  20.  
  21. WindowTop.Name = "WindowTop"
  22. WindowTop.Parent = ScriptExeWindow
  23. WindowTop.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  24. WindowTop.BorderSizePixel = 0
  25. WindowTop.Selectable = true
  26. WindowTop.Size = UDim2.new(1, 0, 0, 20)
  27.  
  28. TextLabel.Parent = WindowTop
  29. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  30. TextLabel.BackgroundTransparency = 1
  31. TextLabel.Size = UDim2.new(0, 150, 1, 0)
  32. TextLabel.Font = Enum.Font.Arial
  33. TextLabel.FontSize = Enum.FontSize.Size14
  34. TextLabel.Text = "Script Executer"
  35. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  36. TextLabel.TextScaled = true
  37. TextLabel.TextSize = 14
  38. TextLabel.TextWrapped = true
  39.  
  40. Codebox.Name = "Codebox"
  41. Codebox.Parent = ScriptExeWindow
  42. Codebox.BackgroundColor3 = Color3.new(1, 1, 1)
  43. Codebox.BorderColor3 = Color3.new(1, 1, 1)
  44. Codebox.BorderSizePixel = 4
  45. Codebox.Position = UDim2.new(0, 10, 0, 30)
  46. Codebox.Size = UDim2.new(1, -20, 1, -75)
  47. Codebox.ClearTextOnFocus = false
  48. Codebox.Font = Enum.Font.Code
  49. Codebox.FontSize = Enum.FontSize.Size12
  50. Codebox.MultiLine = true
  51. Codebox.Text = "print(\"Script Executer by sleepyfun\")"
  52. Codebox.TextColor3 = Color3.new(0, 0, 0)
  53. Codebox.TextSize = 12
  54. Codebox.TextXAlignment = Enum.TextXAlignment.Left
  55. Codebox.TextYAlignment = Enum.TextYAlignment.Top
  56.  
  57. RunS.Name = "RunS"
  58. RunS.Parent = ScriptExeWindow
  59. RunS.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
  60. RunS.BorderSizePixel = 0
  61. RunS.Position = UDim2.new(0, 10, 0, 170)
  62. RunS.Size = UDim2.new(0, 100, 0, 20)
  63. RunS.Font = Enum.Font.Arial
  64. RunS.FontSize = Enum.FontSize.Size14
  65. RunS.Text = "Run"
  66. RunS.TextScaled = true
  67. RunS.TextSize = 14
  68. RunS.TextWrapped = true
  69.  
  70. Cls.Name = "Cls"
  71. Cls.Parent = ScriptExeWindow
  72. Cls.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
  73. Cls.BorderSizePixel = 0
  74. Cls.Position = UDim2.new(0, 230, 0, 170)
  75. Cls.Size = UDim2.new(0, 100, 0, 20)
  76. Cls.Font = Enum.Font.Arial
  77. Cls.FontSize = Enum.FontSize.Size14
  78. Cls.Text = "Clear"
  79. Cls.TextScaled = true
  80. Cls.TextSize = 14
  81. Cls.TextWrapped = true
  82.  
  83. RunS.MouseButton1Click:connect(function()
  84. loadstring(Codebox.Text)()
  85. end)
  86.  
  87. Cls.MouseButton1Click:connect(function()
  88. Codebox.Text = ""
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement