-- 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
