Advertisement
Aeyao

Untitled

Jan 6th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. wait()
  2. print("FacePlayer by ASBF loaded")
  3.  
  4. oldanbient = game.Lighting.OutdoorAmbient
  5. gui = Instance.new("ScreenGui")
  6.  
  7.  
  8. gui.Parent = game.Players.LocalPlayer.PlayerGui
  9.  
  10.  
  11.  
  12. frame = Instance.new("Frame")
  13. frame.Parent = gui
  14. frame.Size = UDim2.new(0.1, 0, .1, 0)
  15. frame.Position = UDim2.new(0.6,0,0,0)
  16.  
  17. button = Instance.new("TextButton")
  18. button.Parent = gui.Frame
  19. button.Size = UDim2.new(1, 0, 0.4, 0)
  20. button.Text = "Chat"
  21.  
  22. imput = Instance.new("TextBox")
  23. imput.Parent = frame
  24. imput.Size = UDim2.new(1, 0, 0.4, 0)
  25. imput.Position = UDim2.new(0.0, 0, 0.4, 0)
  26. imput.Text = "plr"
  27.  
  28. id = Instance.new("TextBox")
  29. id.Parent = frame
  30. id.Size = UDim2.new(1, 0, 0.4, 0)
  31. id.Position = UDim2.new(0.0, 0, 0.9, 0)
  32. id.Text = "txt"
  33.  
  34.  
  35. function onClick(v)
  36.  
  37. game:GetService("Chat"):Chat(workspace[imput.Text].Head,id.Text)
  38.  
  39. end
  40.  
  41. button.MouseButton1Down:connect(onClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement