reysan112

Script executor [SB]

Apr 3rd, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Title = Instance.new("TextLabel")
  6. local ScriptBox = Instance.new("TextBox")
  7. local Execute = Instance.new("TextButton")
  8. local Clear = Instance.new("TextButton")
  9. local Credits = Instance.new("TextLabel")
  10. local Admin = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15. ScreenGui.ResetOnSpawn = false
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.Active = true
  19. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Frame.BorderSizePixel = 0
  21. Frame.Draggable = true
  22. Frame.Position = UDim2.new(0, 271, 0, 150)
  23. Frame.Size = UDim2.new(0, 380, 0, 340)
  24.  
  25. Title.Name = "Title"
  26. Title.Parent = Frame
  27. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  28. Title.BackgroundTransparency = 1
  29. Title.BorderSizePixel = 0
  30. Title.Position = UDim2.new(0, 80, 0, 0)
  31. Title.Size = UDim2.new(0, 200, 0, 50)
  32. Title.Font = Enum.Font.SourceSansLight
  33. Title.FontSize = Enum.FontSize.Size48
  34. Title.Text = "Mystic"
  35. Title.TextColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  36. Title.TextSize = 48
  37.  
  38. ScriptBox.Name = "ScriptBox"
  39. ScriptBox.Parent = Frame
  40. ScriptBox.Active = false
  41. ScriptBox.BackgroundColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  42. ScriptBox.BackgroundTransparency = 0.10000000149012
  43. ScriptBox.BorderSizePixel = 0
  44. ScriptBox.Position = UDim2.new(0, 15, 0, 50)
  45. ScriptBox.Size = UDim2.new(0, 350, 0, 180)
  46. ScriptBox.ClearTextOnFocus = false
  47. ScriptBox.Font = Enum.Font.SourceSansLight
  48. ScriptBox.FontSize = Enum.FontSize.Size18
  49. ScriptBox.Text = "Make sure to leave a vouch on my thread if it works! <3"
  50. ScriptBox.TextColor3 = Color3.new(1, 1, 1)
  51. ScriptBox.TextSize = 18
  52. ScriptBox.TextWrapped = true
  53. ScriptBox.TextXAlignment = Enum.TextXAlignment.Left
  54. ScriptBox.TextYAlignment = Enum.TextYAlignment.Top
  55.  
  56. Execute.Name = "Execute"
  57. Execute.Parent = Frame
  58. Execute.Active = false
  59. Execute.BackgroundColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  60. Execute.BackgroundTransparency = 0.10000000149012
  61. Execute.BorderColor3 = Color3.new(1, 1, 1)
  62. Execute.BorderSizePixel = 0
  63. Execute.Position = UDim2.new(0, 15, 0, 235)
  64. Execute.Size = UDim2.new(0, 140, 0, 40)
  65. Execute.Font = Enum.Font.SourceSansLight
  66. Execute.FontSize = Enum.FontSize.Size24
  67. Execute.Text = "Execute"
  68. Execute.TextColor3 = Color3.new(1, 1, 1)
  69. Execute.TextSize = 24
  70.  
  71. Clear.Name = "Clear"
  72. Clear.Parent = Frame
  73. Clear.Active = false
  74. Clear.BackgroundColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  75. Clear.BackgroundTransparency = 0.10000000149012
  76. Clear.BorderColor3 = Color3.new(1, 1, 1)
  77. Clear.BorderSizePixel = 0
  78. Clear.Position = UDim2.new(0, 225, 0, 235)
  79. Clear.Size = UDim2.new(0, 140, 0, 40)
  80. Clear.Font = Enum.Font.SourceSansLight
  81. Clear.FontSize = Enum.FontSize.Size24
  82. Clear.Text = "Clear"
  83. Clear.TextColor3 = Color3.new(1, 1, 1)
  84. Clear.TextSize = 24
  85.  
  86. Credits.Name = "Credits"
  87. Credits.Parent = Frame
  88. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Credits.BackgroundTransparency = 1
  90. Credits.BorderSizePixel = 0
  91. Credits.Position = UDim2.new(0, -58, 0, -18)
  92. Credits.Size = UDim2.new(0, 200, 0, 50)
  93. Credits.Font = Enum.Font.SourceSansLight
  94. Credits.FontSize = Enum.FontSize.Size14
  95. Credits.Text = "Made By IcyJake"
  96. Credits.TextColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  97. Credits.TextSize = 14
  98.  
  99. Admin.Name = "Admin"
  100. Admin.Parent = Frame
  101. Admin.Active = false
  102. Admin.BackgroundColor3 = Color3.new(0.886275, 0.129412, 0.129412)
  103. Admin.BackgroundTransparency = 0.10000000149012
  104. Admin.BorderColor3 = Color3.new(1, 1, 1)
  105. Admin.BorderSizePixel = 0
  106. Admin.Position = UDim2.new(0, 115, 0, 290)
  107. Admin.Size = UDim2.new(0, 140, 0, 40)
  108. Admin.Font = Enum.Font.SourceSansLight
  109. Admin.FontSize = Enum.FontSize.Size24
  110. Admin.Text = "Admin"
  111. Admin.TextColor3 = Color3.new(1, 1, 1)
  112. Admin.TextSize = 24
  113.  
  114. Execute.MouseButton1Click:connect(function()
  115. loadstring(ScriptBox.Text)()
  116. end)
  117.  
  118. Clear.MouseButton1Click:connect(function()
  119. ScriptBox.Text = ' '
  120. end)
  121.  
  122. Admin.MouseButton1Click:connect(function()
  123. loadstring(game:GetObjects('rbxassetid://295850902')[1].Source)()
  124. end)
Add Comment
Please, Sign In to add comment