Aeyao

ting

Dec 24th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local PGui = player.PlayerGui
  3. game.ServerScriptService.LoadStringEnabled = true
  4. wait()
  5.  
  6. local RC8 = Instance.new("ScreenGui",PGui)
  7. local white = Color3.fromRGB(255, 255, 255)
  8.  
  9. local frame1 = Instance.new("Frame",RC8)
  10. frame1.Size = UDim2.new(0, 238,0, 206)
  11. frame1.BackgroundColor3 = white
  12.  
  13. local codeframe = Instance.new("ScrollingFrame",frame1)
  14. codeframe.Size = UDim2.new(1, 0,0.8, 0)
  15. codeframe.BackgroundColor3 = white
  16. codeframe.BottomImage = "http://www.roblox.com/asset/?id=23666858"
  17. codeframe.MidImage = "http://www.roblox.com/asset/?id=23666858"
  18. codeframe.TopImage = "http://www.roblox.com/asset/?id=23666858"
  19. codeframe.CanvasSize = UDim2.new(0,0,570,0)
  20.  
  21. local Text = Instance.new("TextBox",codeframe)
  22. Text.Size = UDim2.new(0.626, -371,3, 318)
  23. Text.Position = UDim2.new(0, 222,0, 0)
  24. Text.FontSize = 6
  25. Text.BackgroundColor3 = white
  26. Text.Text = ""
  27. Text.Font = "SourceSans"
  28. Text.TextSize = 24
  29. Text.TextWrapped = true
  30. Text.TextXAlignment = "Left"
  31. Text.TextYAlignment = "Top"
  32. Text.ClearTextOnFocus = false
  33. Text.MultiLine = true
  34.  
  35. local Exe = Instance.new("TextButton",frame1)
  36. Exe.Text = "Execute"
  37. Exe.Name = "Exe"
  38. Exe.TextScaled = true
  39. Exe.Size = UDim2.new(0.3,0,0.2,0)
  40. Exe.Position = UDim2.new(0,0,0.8,0)
  41.  
  42.  
  43. local Clear = Instance.new("TextButton",frame1)
  44. Clear.Text = "Clear"
  45. Clear.Name = "Clear"
  46. Clear.TextScaled = true
  47. Clear.Size = UDim2.new(0.3,0,0.2,0)
  48. Clear.Position = UDim2.new(0.4,0,0.8,0)
  49.  
  50.  
  51. Exe.MouseButton1Down:connect(function()
  52.  
  53. if Text.Text then
  54. loadstring(Text.Text)()
  55. end
  56.  
  57. end)
  58.  
  59. Clear.MouseButton1Down:connect(function()
  60.  
  61.  
  62. Text.Text = ""
  63.  
  64.  
  65. end)
Add Comment
Please, Sign In to add comment