Advertisement
Aeyao

test

Aug 16th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1.  
  2. repeat wait() until game.Players:FindFirstChild("asbuff")
  3. local p = game.Players.asbuff
  4. local c = p.Character
  5.  
  6. local gui = Instance.new("ScreenGui",p.PlayerGui)
  7. local fra = Instance.new("Frame")
  8. fra.Size = UDim2.new(1,0,1,0)
  9. fra.Position = UDim2.new(0,0,.1,0)
  10. fra.Parent = gui
  11. fra.BackgroundTransparency = 1
  12. local txt = Instance.new("TextBox")
  13. txt.Size = UDim2.new(1,0,1,0)
  14. txt.BackgroundColor3 = Color3.new()
  15. txt.BackgroundTransparency = .1
  16. txt.TextXAlignment = "Left"
  17. txt.TextYAlignment = "Top"
  18. txt.MultiLine = true
  19. txt.ClearTextOnFocus = false
  20. txt.TextWrapped = true
  21. txt.Parent = fra
  22. txt.TextColor3 = Color3.fromRGB(0,255,0)
  23. txt.Font = "Code"
  24. txt.FontSize = Enum.FontSize.Size10
  25. txt.Text = ""
  26. local button = Instance.new("TextButton")
  27. button.Position = UDim2.new(.9,0,0,0)
  28. button.Size = UDim2.new(.1,0,.1,0)
  29. button.Text = "Go"
  30. button.Parent = gui
  31. local closebutton = Instance.new("TextButton")
  32. closebutton.Position = UDim2.new(0,0,0,0)
  33. closebutton.Size = UDim2.new(.1,0,.1,0)
  34. closebutton.Text = "Toggle"
  35. closebutton.Parent = gui
  36.  
  37. local m = p:GetMouse()
  38.  
  39. function send(msg)
  40.  
  41. --print(msg)
  42.  
  43. loadstring(msg)()
  44.  
  45.  
  46. end
  47.  
  48. button.MouseButton1Down:connect(function()
  49. delay(0,function()
  50. send(txt.Text)
  51. end)
  52. end)
  53.  
  54. local close = false
  55. closebutton.MouseButton1Down:connect(function()
  56. if close then
  57. fra.Visible = true
  58. close = false
  59. else
  60. fra.Visible = false
  61. close = true
  62. end
  63. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement