Advertisement
HenloMyDude

hellocord

Mar 16th, 2020
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1.  
  2. plr = owner
  3. char = plr.Character
  4. local e = Instance.new("ScreenGui", plr.PlayerGui)
  5. e.Name = "e"
  6. local userId = plr.UserId
  7. local thumbType = Enum.ThumbnailType.HeadShot
  8. local thumbSize = Enum.ThumbnailSize.Size420x420
  9. local content, isReady = game:service("Players"):GetUserThumbnailAsync(userId, thumbType, thumbSize)
  10.  
  11. local main = Instance.new("Frame", e)
  12. main.Size = UDim2.new(1, 0, 1, 0)
  13. main.BackgroundColor = BrickColor.new("Black")
  14. main.AnchorPoint = Vector2.new(0.5, 0.5)
  15. main.Position = UDim2.new(0.5, 0, 0.5, 0)
  16.  
  17. local hdr = Instance.new("TextLabel", main)
  18. hdr.Size = UDim2.new(1, 0, 0.05, 0)
  19. hdr.BackgroundColor3 = Color3.fromRGB(27-10, 42-10, 53-10)
  20. hdr.AnchorPoint = Vector2.new(0.5, 0)
  21. hdr.Position = UDim2.new(0.5, 0, 0, 0)
  22. hdr.TextScaled = true
  23. hdr.BackgroundTransparency = 0
  24. hdr.TextColor3 = Color3.new(1, 1, 1)
  25. hdr.Text = "BLOXCORD V.0.1"
  26.  
  27. local hdr2 = Instance.new("Frame", main)
  28. hdr2.Size = UDim2.new(1, 0, 0.05, 0)
  29. hdr2.BackgroundColor = BrickColor.new("Black")
  30. hdr2.AnchorPoint = Vector2.new(0.5, 0.3)
  31. hdr2.Position = UDim2.new(0.5, 0, 0.3, 0)
  32. hdr2.BackgroundTransparency = 1
  33. local ld = 0.35
  34.  
  35. local last = hdr
  36.  
  37. function addmsg(play, txt)
  38.  
  39. --if last == hdr then
  40.  
  41. for i,v in pairs (main:children()) do
  42. if v:IsA("TextLabel") or v:IsA("ImageLabel") then
  43. if v ~= hdr then
  44. v.AnchorPoint = v.AnchorPoint - Vector2.new(0, 0.0265*2)
  45. v.Position = v.Position - UDim2.new(0, 0, 0.0265*2, 0)
  46. end
  47. end
  48. end
  49.  
  50. local pic = Instance.new("ImageLabel", main)
  51. pic.Size = UDim2.new(0.065/2, 0, 0.065, 0)
  52. pic.AnchorPoint = Vector2.new(0, ld)
  53. pic.Position = UDim2.new(0, 0, ld, 0)
  54. pic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username=" ..play.Name
  55. pic.BackgroundTransparency = 1
  56.  
  57. local tex = Instance.new("TextLabel", main)
  58. tex.Size = UDim2.new(0.875, 0, 0.025, 0)
  59. tex.BackgroundColor3 = Color3.new(1, 1, 1)
  60. tex.AnchorPoint = Vector2.new(0.5, ld+0.0168)
  61. tex.Position = UDim2.new(0.5, 0, ld+0.0168, 0)
  62. tex.TextScaled = true
  63. tex.TextXAlignment = "Left"
  64. tex.BackgroundTransparency = 1
  65. tex.TextColor3 = Color3.new(1, 1, 1)
  66. tex.Text = txt
  67.  
  68. last = tex
  69. --ld = ld + 0.0665
  70.  
  71. --end
  72.  
  73. end
  74.  
  75. function disk(pla)
  76.  
  77. end
  78.  
  79. function getplayermessages()
  80. for i,a in pairs (game:GetService("Players"):children()) do
  81. if a:IsA("Player") then
  82.  
  83. a.Chatted:connect(function(msg)
  84. addmsg(a, msg)
  85. end)
  86. end
  87. end
  88. game:GetService("Players").PlayerAdded:connect(function(p)
  89. addmsg("ROBLOX", p.Name .." joined! :D")
  90. p.Chatted:connect(function(msg)
  91. addmsg(p, msg)
  92. end)
  93. end)
  94. game:GetService("Players").PlayerRemoving:connect(function(p)
  95. addmsg("ROBLOX", p.Name .." left! D:")
  96. end)
  97. end
  98.  
  99. getplayermessages()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement