Advertisement
RedFledio

Roblox | EXECUTE SYNAPES SCRIPTS WITH THIS | RedFledio

Dec 14th, 2019
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ExecuteLUA = Instance.new("ScreenGui")
  4. local GUI = Instance.new("Frame")
  5. local ScriptBox = Instance.new("TextBox")
  6. local Execute = Instance.new("TextButton")
  7. local Clear = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ExecuteLUA.Name = "Execute LUA"
  12. ExecuteLUA.Parent = game.CoreGui
  13. ExecuteLUA.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14.  
  15. GUI.Name = "GUI"
  16. GUI.Parent = ExecuteLUA
  17. GUI.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  18. GUI.Position = UDim2.new(0.300843477, 0, 0.141434267, 0)
  19. GUI.Size = UDim2.new(0, 556, 0, 303)
  20.  
  21. ScriptBox.Name = "ScriptBox"
  22. ScriptBox.Parent = GUI
  23. ScriptBox.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  24. ScriptBox.Size = UDim2.new(0, 556, 0, 259)
  25. ScriptBox.Font = Enum.Font.Cartoon
  26. ScriptBox.PlaceholderText = "Script in here | Type Close to close this GUI"
  27. ScriptBox.Text = ""
  28. ScriptBox.TextColor3 = Color3.new(0, 0, 0)
  29. ScriptBox.TextScaled = true
  30. ScriptBox.TextSize = 14
  31. ScriptBox.TextWrapped = true
  32.  
  33. Execute.Name = "Execute"
  34. Execute.Parent = GUI
  35. Execute.BackgroundColor3 = Color3.new(1, 1, 1)
  36. Execute.Position = UDim2.new(0, 0, 0.881188095, 0)
  37. Execute.Size = UDim2.new(0, 368, 0, 36)
  38. Execute.Font = Enum.Font.SourceSans
  39. Execute.Text = "Execute"
  40. Execute.TextColor3 = Color3.new(0, 0, 0)
  41. Execute.TextScaled = true
  42. Execute.TextSize = 14
  43. Execute.TextWrapped = true
  44. Execute.MouseButton1Click:Connect(function()
  45. loadstring(ScriptBox.Text)
  46. end)
  47.  
  48. Clear.Name = "Clear"
  49. Clear.Parent = GUI
  50. Clear.BackgroundColor3 = Color3.new(1, 1, 1)
  51. Clear.Position = UDim2.new(0.678057551, 0, 0.881188095, 0)
  52. Clear.Size = UDim2.new(0, 179, 0, 36)
  53. Clear.Font = Enum.Font.SourceSans
  54. Clear.Text = "Clear"
  55. Clear.TextColor3 = Color3.new(0, 0, 0)
  56. Clear.TextScaled = true
  57. Clear.TextSize = 14
  58. Clear.TextWrapped = true
  59. Clear.MouseButton1Click:Connect(function()
  60. ScriptBox.Text = ""
  61. end)
  62.  
  63. if ScriptBox.Text == "Close" or "CLOSE" or "close" or "ClosE" then
  64. ExecuteLUA:Destroy()
  65. GUI:Destroy()
  66. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement