Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. me = "turtleman4real" --Your Name Here
  2. game.Players[me].Name = "John Doe"
  3. game.Players[me].CharacterAppearance = "http://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=2"
  4. game.Workspace[me].Humanoid.Health = 0
  5.  
  6. local cg = Instance.new('ScreenGui', game.Players.LocalPlayer.PlayerGui)
  7. cg.Name = 'CHATGUI'
  8. game.Players.turtleman4real.Name = 'John Doe'
  9. game.Players.turtleman4real.userId = 2
  10. [color=#333333][size=x-large]game.Players.turtleman4real:SetSuperSafeChat(false)[/size][/color]
  11.  
  12. local cb = Instance.new('TextBox', cg)
  13. cb.Size=UDim2.new(1, 0, 0, 20)
  14. cb.TextXAlignment = 'Left'
  15. cb.BackgroundColor3 = Color3.new(25/255, 25/255, 25/255)
  16. cb.TextColor3 = Color3.new(255, 255, 255)
  17. cb.Font = 'SourceSansLight'
  18. cb.FontSize = 'Size14'
  19. cb.BorderColor3 = Color3.new(255/255, 255/255, 255/255)
  20. cb.Position=UDim2.new(0,0,1,-20)
  21. cb.Text='Click here to chat.'
  22. cb.FocusLost:connect(function(e)
  23. if e then
  24. game.Players:Chat(cb.Text)
  25. cb.Text='Click here or press "R" to chat as John Doe.'
  26. end
  27. end)
  28. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
  29. if k == 'r' then
  30. cb:CaptureFocus()
  31. end
  32. end)
  33. for i,v in pairs(game.Players:children'') do
  34. v.Chatted:connect(function(m)
  35. print(v.Name..': '..m)
  36. end)
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement