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

gui projects what a player has said in chat?

Asked by 2 years ago

Hello,

Does anyone have any articles that can help me make a gui that projects what a player has said in chat?

Thanks

1 answer

Log in to vote
0
Answered by 2 years ago

I know you said article but I'm here to give you a script.

A SurfaceGui or a ScreenGui? I'm going to assume you mean SurfaceGui.

So to start off: Make a Script in ServerScriptService.

Script:

game.Players.PlayerAdded:Connect(function(plr) -- when a player joins
    plr.Chatted:Connect(function(msg) 
        workspace.PartName.SurfaceGuiName.TextLabelName.Text = plr.Name..": "..msg
        -- Replace PartName with your part's name, SurfaceGuiName with your surface gui's name, and TextLabelName with the name of your text label.
    end)
end)

Not too hard, yet suprisingly cool.

Ad

Answer this question