script.Parent.Toggle.MouseButton1Click:connect(function()script.Parent.Parent.Chat.Visible=not script.Parent.Parent.Chat.Visible if script.Parent.Parent.Chat.Visible then script.Parent.Toggle.Text="\072\073\068\069"else script.Parent.Toggle.Text="\083\072\079\087"end end)while wait(1)do if spamScore>0 then spamScore=spamScore-1 end end


script.Parent.Toggle.MouseButton1Click:connect(function()
	
	-- Toggle visibility
	script.Parent.Parent.Chat.Visible = not script.Parent.Parent.Chat.Visible
	if script.Parent.Parent.Chat.Visible then
		script.Parent.Toggle.Text = "HIDE"
	else
		script.Parent.Toggle.Text = "SHOW"
	end
	
end)

while wait(1) do
	
	-- Decrement spam score
	if spamScore > 0 then
		spamScore = spamScore - 1
	end
	
end
