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

Help with a chat GUI?

Asked by
Scootakip 299 Moderation Voter
7 years ago
local plr = game.Players.LocalPlayer
local chatstorage = game.Workspace.ChatStorage
    script.Parent.MouseButton1Click:connect(function(stuff)
        local theirmessage = script.Parent.Parent.MSGbox.Text
        game.Workspace.ChatStorage.CBCURRENT.Value = plr.Name..": "..theirmessage
        script.Parent.Parent.MSGbox.Text = "Press '/' or click here to start typing"
        local status = plr:FindFirstChild("Status")
        if status then
            if status.Value == "Presentor" then
                game.Workspace.ChatStorage.Presentor.Value = plr.Name..": "..theirmessage
            end
        end
end)

I need some help with this chat GUI. It works fine until 2 or more people are in the game. If there are multiple people in the game, each chat message doubles. Some help please?

0
You're going to need to give us more details NewVoids 97 — 7y

Answer this question