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

Force chat glitches together with normal chat?

Asked by 4 years ago

Hi! I have a simple script that goes as following:

players = game:GetService("Players")
script.Parent.cd.MouseClick:connect(function(player)
    if player:IsInGroup(950346) then
        script.Parent.sound:Play()
        game:GetService("Chat"):Chat(player.Character.Head, "DENIED","Red")
    end
end)

The thing is, that when I type after the forced message has been sent, the two messages clip together and go crazy. Any help?

Answer this question