Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Chat Gui Help [closed]

Asked by 10 years ago
game:GetService("Players").PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
for _, v in ipairs(game:GetService("Players"):GetChildren()) do
for _, oldmsg in ipairs(v:WaitForChild("PlayerGui").ChatGui.MsgBoard) do
oldmsg.Position = oldmsg.Position - UDim2.new(0, 0, 0, 15)
end
newmsg = Instance.new("TextLabel", v:WaitForChild("PlayerGui").ChatGui.MsgBoard)
newmsg.Text = player.Name..": "..msg
newmsg.Position = UDim2.new(0, 0, 1, -17.5)
newmsg.TextColor3 = Color3.new(0, 0, 0)
newmsg.TextStrokeTransparency = 0
newmsg.BackgroundTransparency = 1
newmsg.BorderSizePixel = 0
newmsg.FontSize = "Size24"
newmsg.TextXAlignment = "Left"
newmsg.TextYAlignment = "Top"
newmsg.ClipsDescendants = true
end
end)
end)
1
Might I recommend you to take a look at this: http://www.roblox.com/My-in-game-chat-system-item?id=67627831 nate890 495 — 10y
0
Not Really Helping djwill619 0 — 10y

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?