Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- char = plr.Character
- local e = Instance.new("ScreenGui", plr.PlayerGui)
- e.Name = "e"
- local userId = plr.UserId
- local thumbType = Enum.ThumbnailType.HeadShot
- local thumbSize = Enum.ThumbnailSize.Size420x420
- local content, isReady = game:service("Players"):GetUserThumbnailAsync(userId, thumbType, thumbSize)
- local main = Instance.new("Frame", e)
- main.Size = UDim2.new(1, 0, 1, 0)
- main.BackgroundColor = BrickColor.new("Black")
- main.AnchorPoint = Vector2.new(0.5, 0.5)
- main.Position = UDim2.new(0.5, 0, 0.5, 0)
- local hdr = Instance.new("TextLabel", main)
- hdr.Size = UDim2.new(1, 0, 0.05, 0)
- hdr.BackgroundColor3 = Color3.fromRGB(27-10, 42-10, 53-10)
- hdr.AnchorPoint = Vector2.new(0.5, 0)
- hdr.Position = UDim2.new(0.5, 0, 0, 0)
- hdr.TextScaled = true
- hdr.BackgroundTransparency = 0
- hdr.TextColor3 = Color3.new(1, 1, 1)
- hdr.Text = "BLOXCORD V.0.1"
- local hdr2 = Instance.new("Frame", main)
- hdr2.Size = UDim2.new(1, 0, 0.05, 0)
- hdr2.BackgroundColor = BrickColor.new("Black")
- hdr2.AnchorPoint = Vector2.new(0.5, 0.3)
- hdr2.Position = UDim2.new(0.5, 0, 0.3, 0)
- hdr2.BackgroundTransparency = 1
- local ld = 0.35
- local last = hdr
- function addmsg(play, txt)
- --if last == hdr then
- for i,v in pairs (main:children()) do
- if v:IsA("TextLabel") or v:IsA("ImageLabel") then
- if v ~= hdr then
- v.AnchorPoint = v.AnchorPoint - Vector2.new(0, 0.0265*2)
- v.Position = v.Position - UDim2.new(0, 0, 0.0265*2, 0)
- end
- end
- end
- local pic = Instance.new("ImageLabel", main)
- pic.Size = UDim2.new(0.065/2, 0, 0.065, 0)
- pic.AnchorPoint = Vector2.new(0, ld)
- pic.Position = UDim2.new(0, 0, ld, 0)
- pic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username=" ..play.Name
- pic.BackgroundTransparency = 1
- local tex = Instance.new("TextLabel", main)
- tex.Size = UDim2.new(0.875, 0, 0.025, 0)
- tex.BackgroundColor3 = Color3.new(1, 1, 1)
- tex.AnchorPoint = Vector2.new(0.5, ld+0.0168)
- tex.Position = UDim2.new(0.5, 0, ld+0.0168, 0)
- tex.TextScaled = true
- tex.TextXAlignment = "Left"
- tex.BackgroundTransparency = 1
- tex.TextColor3 = Color3.new(1, 1, 1)
- tex.Text = txt
- last = tex
- --ld = ld + 0.0665
- --end
- end
- function disk(pla)
- end
- function getplayermessages()
- for i,a in pairs (game:GetService("Players"):children()) do
- if a:IsA("Player") then
- a.Chatted:connect(function(msg)
- addmsg(a, msg)
- end)
- end
- end
- game:GetService("Players").PlayerAdded:connect(function(p)
- addmsg("ROBLOX", p.Name .." joined! :D")
- p.Chatted:connect(function(msg)
- addmsg(p, msg)
- end)
- end)
- game:GetService("Players").PlayerRemoving:connect(function(p)
- addmsg("ROBLOX", p.Name .." left! D:")
- end)
- end
- getplayermessages()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement