Advertisement
CroClex

gui executor

Oct 1st, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local Execute = Instance.new("TextButton")
  7. local Script = Instance.new("TextBox")
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10.  
  11. Main.Name = "Main"
  12. Main.Parent = ScreenGui
  13. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  14. Main.BackgroundTransparency = 0.39999997615814
  15. Main.Position = UDim2.new(0.147130147, 0, 0.342809379, 0)
  16. Main.Size = UDim2.new(0, 341, 0, 248)
  17.  
  18. Execute.Name = "Execute"
  19. Execute.Parent = Main
  20. Execute.BackgroundColor3 = Color3.new(1, 1, 1)
  21. Execute.Position = UDim2.new(0, 0, 0.79838711, 0)
  22. Execute.Size = UDim2.new(0, 341, 0, 50)
  23. Execute.Font = Enum.Font.SourceSans
  24. Execute.Text = "Execute"
  25. Execute.TextColor3 = Color3.new(0, 0, 0)
  26. Execute.TextSize = 14
  27. Execute.MouseButton1Down:connect(function()
  28. loadstring(Script.Text)() --Gets the function loadstring returns and calls it.
  29. end)
  30.  
  31. Script.Name = "Script"
  32. Script.Parent = Main
  33. Script.BackgroundColor3 = Color3.new(1, 1, 1)
  34. Script.BackgroundTransparency = 0.25
  35. Script.Size = UDim2.new(0, 341, 0, 174)
  36. Script.Font = Enum.Font.SourceSans
  37. Script.Text = "Print (\"testing!\")"
  38. Script.TextColor3 = Color3.new(0, 0, 0)
  39. Script.TextSize = 14
  40. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement