gesrhtewntwaenta

Untitled

Sep 8th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local MainGUI = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextBox = Instance.new("TextBox")
  7. local Execute = Instance.new("TextButton")
  8. local Clear = Instance.new("TextButton")
  9. local Open = Instance.new("TextButton")
  10. local Close = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15.  
  16. MainGUI.Name = "MainGUI"
  17. MainGUI.Parent = ScreenGui
  18. MainGUI.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  19. MainGUI.BorderSizePixel = 5
  20. MainGUI.Position = UDim2.new(0.230419978, 0, 0.0681063235, 0)
  21. MainGUI.Size = UDim2.new(0, 446, 0, 397)
  22. MainGUI.Visible = false
  23. MainGUI.Draggable = true
  24. MainGUI.Active = true
  25.  
  26. TextLabel.Parent = MainGUI
  27. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  28. TextLabel.Size = UDim2.new(0, 446, 0, 50)
  29. TextLabel.Font = Enum.Font.SourceSans
  30. TextLabel.Text = "Project S"
  31. TextLabel.TextColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  32. TextLabel.TextSize = 50
  33.  
  34. TextBox.Parent = MainGUI
  35. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  36. TextBox.BorderSizePixel = 0
  37. TextBox.Position = UDim2.new(0.0179372206, 0, 0.151133507, 0)
  38. TextBox.Size = UDim2.new(0, 430, 0, 277)
  39. TextBox.Font = Enum.Font.SourceSans
  40. TextBox.MultiLine = true
  41. TextBox.Text = "Script Here"
  42. TextBox.TextColor3 = Color3.new(0, 0, 0)
  43. TextBox.TextSize = 14
  44. TextBox.TextWrapped = true
  45. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  46. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  47.  
  48. Execute.Name = "Execute"
  49. Execute.Parent = MainGUI
  50. Execute.BackgroundColor3 = Color3.new(0, 0, 0)
  51. Execute.Position = UDim2.new(0.0179372206, 0, 0.871536553, 0)
  52. Execute.Size = UDim2.new(0, 210, 0, 30)
  53. Execute.Font = Enum.Font.SourceSans
  54. Execute.Text = "Execute"
  55. Execute.TextColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  56. Execute.TextSize = 20
  57. Execute.MouseButton1Click:connect(function()
  58. code = TextBox.Text
  59. loadstring(code)()
  60. print("Loading Code")
  61. wait(2)
  62. print("Loaded Successfully, Enjoy")
  63. end)
  64.  
  65. Clear.Name = "Clear"
  66. Clear.Parent = MainGUI
  67. Clear.BackgroundColor3 = Color3.new(0, 0, 0)
  68. Clear.Position = UDim2.new(0.513452888, 0, 0.871536553, 0)
  69. Clear.Size = UDim2.new(0, 209, 0, 30)
  70. Clear.Font = Enum.Font.SourceSans
  71. Clear.Text = "Clear"
  72. Clear.TextColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  73. Clear.TextSize = 20
  74. Clear.MouseButton1Down:connect(function()
  75. TextBox.Text = ""
  76. end)
  77.  
  78. Open.Name = "Open"
  79. Open.Parent = ScreenGui
  80. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  81. Open.Position = UDim2.new(-0.00794551615, 0, 0, 0)
  82. Open.Size = UDim2.new(0, 156, 0, 29)
  83. Open.Font = Enum.Font.SourceSans
  84. Open.Text = "Open"
  85. Open.TextColor3 = Color3.new(0, 0, 0)
  86. Open.TextSize = 14
  87. Open.MouseButton1Down:connect(function()
  88. Open.Visible = false
  89. Close.Visible = true
  90. MainGUI.Visible = true
  91. end)
  92.  
  93. Close.Name = "Close"
  94. Close.Parent = ScreenGui
  95. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  96. Close.Position = UDim2.new(-0.00794551615, 0, 0, 0)
  97. Close.Size = UDim2.new(0, 156, 0, 29)
  98. Close.Visible = false
  99. Close.Font = Enum.Font.SourceSans
  100. Close.Text = "Close"
  101. Close.TextColor3 = Color3.new(0, 0, 0)
  102. Close.TextSize = 14
  103. Close.MouseButton1Down:connect(function()
  104. Open.Visible = true
  105. Close.Visible = false
  106. MainGUI.Visible = false
  107. end)
Add Comment
Please, Sign In to add comment