Player=game.Players.LocalPlayer MuteTime=10 ChatTime=0 Player.Chatted:connect(function()if ChatTime<.5 then(game:GetService("\083\116\097\114\116\101\114\071\117\105")):SetCoreGuiEnabled(3,false)wait(MuteTime);(game:GetService("\083\116\097\114\116\101\114\071\117\105")):SetCoreGuiEnabled(3,true)end ChatTime=0 end)while wait(.1)do ChatTime=ChatTime+.1 end
-- Make sure the script is in the starterpack

Player = game.Players.LocalPlayer
MuteTime = 10 -- Put the time you want them to be muted in seconds here

ChatTime = 0 -- Dont change that
Player.Chatted:connect(function()
	if ChatTime < 0.5 then
		game:GetService("StarterGui"):SetCoreGuiEnabled(3, false)
		wait(MuteTime)
		game:GetService("StarterGui"):SetCoreGuiEnabled(3, true)
	end
	ChatTime = 0
end)
while wait(0.1) do
	ChatTime = ChatTime + 0.1
end
