#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

execute if score timer time matches 399 run team modify teamname7 suffix {"text":" 6:39","bold":true,"color":"white"}
execute if score timer time matches 398 run team modify teamname7 suffix {"text":" 6:38","bold":true,"color":"white"}
execute if score timer time matches 397 run team modify teamname7 suffix {"text":" 6:37","bold":true,"color":"white"}
execute if score timer time matches 396 run team modify teamname7 suffix {"text":" 6:36","bold":true,"color":"white"}
execute if score timer time matches 395 run team modify teamname7 suffix {"text":" 6:35","bold":true,"color":"white"}
execute if score timer time matches 394 run team modify teamname7 suffix {"text":" 6:34","bold":true,"color":"white"}
execute if score timer time matches 393 run team modify teamname7 suffix {"text":" 6:33","bold":true,"color":"white"}
execute if score timer time matches 392 run team modify teamname7 suffix {"text":" 6:32","bold":true,"color":"white"}
execute if score timer time matches 391 run team modify teamname7 suffix {"text":" 6:31","bold":true,"color":"white"}
execute if score timer time matches 390 run team modify teamname7 suffix {"text":" 6:30","bold":true,"color":"white"}

execute if score timer time matches 389 run team modify teamname7 suffix {"text":" 6:29","bold":true,"color":"white"}
execute if score timer time matches 388 run team modify teamname7 suffix {"text":" 6:28","bold":true,"color":"white"}
execute if score timer time matches 387 run team modify teamname7 suffix {"text":" 6:27","bold":true,"color":"white"}
execute if score timer time matches 386 run team modify teamname7 suffix {"text":" 6:26","bold":true,"color":"white"}
execute if score timer time matches 385 run team modify teamname7 suffix {"text":" 6:25","bold":true,"color":"white"}
execute if score timer time matches 384 run team modify teamname7 suffix {"text":" 6:24","bold":true,"color":"white"}
execute if score timer time matches 383 run team modify teamname7 suffix {"text":" 6:23","bold":true,"color":"white"}
execute if score timer time matches 382 run team modify teamname7 suffix {"text":" 6:22","bold":true,"color":"white"}
execute if score timer time matches 381 run team modify teamname7 suffix {"text":" 6:21","bold":true,"color":"white"}
execute if score timer time matches 380 run team modify teamname7 suffix {"text":" 6:20","bold":true,"color":"white"}

execute if score timer time matches 379 run team modify teamname7 suffix {"text":" 6:19","bold":true,"color":"white"}
execute if score timer time matches 378 run team modify teamname7 suffix {"text":" 6:18","bold":true,"color":"white"}
execute if score timer time matches 377 run team modify teamname7 suffix {"text":" 6:17","bold":true,"color":"white"}
execute if score timer time matches 376 run team modify teamname7 suffix {"text":" 6:16","bold":true,"color":"white"}
execute if score timer time matches 375 run team modify teamname7 suffix {"text":" 6:15","bold":true,"color":"white"}
execute if score timer time matches 374 run team modify teamname7 suffix {"text":" 6:14","bold":true,"color":"white"}
execute if score timer time matches 373 run team modify teamname7 suffix {"text":" 6:13","bold":true,"color":"white"}
execute if score timer time matches 372 run team modify teamname7 suffix {"text":" 6:12","bold":true,"color":"white"}
execute if score timer time matches 371 run team modify teamname7 suffix {"text":" 6:11","bold":true,"color":"white"}
execute if score timer time matches 370 run team modify teamname7 suffix {"text":" 6:10","bold":true,"color":"white"}

execute if score timer time matches 369 run team modify teamname7 suffix {"text":" 6:09","bold":true,"color":"white"}
execute if score timer time matches 368 run team modify teamname7 suffix {"text":" 6:08","bold":true,"color":"white"}
execute if score timer time matches 367 run team modify teamname7 suffix {"text":" 6:07","bold":true,"color":"white"}
execute if score timer time matches 366 run team modify teamname7 suffix {"text":" 6:06","bold":true,"color":"white"}
execute if score timer time matches 365 run team modify teamname7 suffix {"text":" 6:05","bold":true,"color":"white"}
execute if score timer time matches 364 run team modify teamname7 suffix {"text":" 6:04","bold":true,"color":"white"}
execute if score timer time matches 363 run team modify teamname7 suffix {"text":" 6:03","bold":true,"color":"white"}
execute if score timer time matches 362 run team modify teamname7 suffix {"text":" 6:02","bold":true,"color":"white"}
execute if score timer time matches 361 run team modify teamname7 suffix {"text":" 6:01","bold":true,"color":"white"}
execute if score timer time matches 360 run team modify teamname7 suffix {"text":" 6:00","bold":true,"color":"white"}

execute if score timer time matches 359 run team modify teamname7 suffix {"text":" 5:59","bold":true,"color":"white"}
execute if score timer time matches 358 run team modify teamname7 suffix {"text":" 5:58","bold":true,"color":"white"}
execute if score timer time matches 357 run team modify teamname7 suffix {"text":" 5:57","bold":true,"color":"white"}
execute if score timer time matches 356 run team modify teamname7 suffix {"text":" 5:56","bold":true,"color":"white"}
execute if score timer time matches 355 run team modify teamname7 suffix {"text":" 5:55","bold":true,"color":"white"}
execute if score timer time matches 354 run team modify teamname7 suffix {"text":" 5:54","bold":true,"color":"white"}
execute if score timer time matches 353 run team modify teamname7 suffix {"text":" 5:53","bold":true,"color":"white"}
execute if score timer time matches 352 run team modify teamname7 suffix {"text":" 5:52","bold":true,"color":"white"}
execute if score timer time matches 351 run team modify teamname7 suffix {"text":" 5:51","bold":true,"color":"white"}
execute if score timer time matches 350 run team modify teamname7 suffix {"text":" 5:50","bold":true,"color":"white"}

execute if score timer time matches 349 run team modify teamname7 suffix {"text":" 5:49","bold":true,"color":"white"}
execute if score timer time matches 348 run team modify teamname7 suffix {"text":" 5:48","bold":true,"color":"white"}
execute if score timer time matches 347 run team modify teamname7 suffix {"text":" 5:47","bold":true,"color":"white"}
execute if score timer time matches 346 run team modify teamname7 suffix {"text":" 5:46","bold":true,"color":"white"}
execute if score timer time matches 345 run team modify teamname7 suffix {"text":" 5:45","bold":true,"color":"white"}
execute if score timer time matches 344 run team modify teamname7 suffix {"text":" 5:44","bold":true,"color":"white"}
execute if score timer time matches 343 run team modify teamname7 suffix {"text":" 5:43","bold":true,"color":"white"}
execute if score timer time matches 342 run team modify teamname7 suffix {"text":" 5:42","bold":true,"color":"white"}
execute if score timer time matches 341 run team modify teamname7 suffix {"text":" 5:41","bold":true,"color":"white"}
execute if score timer time matches 340 run team modify teamname7 suffix {"text":" 5:40","bold":true,"color":"white"}

execute if score timer time matches 339 run team modify teamname7 suffix {"text":" 5:39","bold":true,"color":"white"}
execute if score timer time matches 338 run team modify teamname7 suffix {"text":" 5:38","bold":true,"color":"white"}
execute if score timer time matches 337 run team modify teamname7 suffix {"text":" 5:37","bold":true,"color":"white"}
execute if score timer time matches 336 run team modify teamname7 suffix {"text":" 5:36","bold":true,"color":"white"}
execute if score timer time matches 335 run team modify teamname7 suffix {"text":" 5:35","bold":true,"color":"white"}
execute if score timer time matches 334 run team modify teamname7 suffix {"text":" 5:34","bold":true,"color":"white"}
execute if score timer time matches 333 run team modify teamname7 suffix {"text":" 5:33","bold":true,"color":"white"}
execute if score timer time matches 332 run team modify teamname7 suffix {"text":" 5:32","bold":true,"color":"white"}
execute if score timer time matches 331 run team modify teamname7 suffix {"text":" 5:31","bold":true,"color":"white"}
execute if score timer time matches 330 run team modify teamname7 suffix {"text":" 5:30","bold":true,"color":"white"}

execute if score timer time matches 329 run team modify teamname7 suffix {"text":" 5:29","bold":true,"color":"white"}
execute if score timer time matches 328 run team modify teamname7 suffix {"text":" 5:28","bold":true,"color":"white"}
execute if score timer time matches 327 run team modify teamname7 suffix {"text":" 5:27","bold":true,"color":"white"}
execute if score timer time matches 326 run team modify teamname7 suffix {"text":" 5:26","bold":true,"color":"white"}
execute if score timer time matches 325 run team modify teamname7 suffix {"text":" 5:25","bold":true,"color":"white"}
execute if score timer time matches 324 run team modify teamname7 suffix {"text":" 5:24","bold":true,"color":"white"}
execute if score timer time matches 323 run team modify teamname7 suffix {"text":" 5:23","bold":true,"color":"white"}
execute if score timer time matches 322 run team modify teamname7 suffix {"text":" 5:22","bold":true,"color":"white"}
execute if score timer time matches 321 run team modify teamname7 suffix {"text":" 5:21","bold":true,"color":"white"}
execute if score timer time matches 320 run team modify teamname7 suffix {"text":" 5:20","bold":true,"color":"white"}

execute if score timer time matches 319 run team modify teamname7 suffix {"text":" 5:19","bold":true,"color":"white"}
execute if score timer time matches 318 run team modify teamname7 suffix {"text":" 5:18","bold":true,"color":"white"}
execute if score timer time matches 317 run team modify teamname7 suffix {"text":" 5:17","bold":true,"color":"white"}
execute if score timer time matches 316 run team modify teamname7 suffix {"text":" 5:16","bold":true,"color":"white"}
execute if score timer time matches 315 run team modify teamname7 suffix {"text":" 5:15","bold":true,"color":"white"}
execute if score timer time matches 314 run team modify teamname7 suffix {"text":" 5:14","bold":true,"color":"white"}
execute if score timer time matches 313 run team modify teamname7 suffix {"text":" 5:13","bold":true,"color":"white"}
execute if score timer time matches 312 run team modify teamname7 suffix {"text":" 5:12","bold":true,"color":"white"}
execute if score timer time matches 311 run team modify teamname7 suffix {"text":" 5:11","bold":true,"color":"white"}
execute if score timer time matches 310 run team modify teamname7 suffix {"text":" 5:10","bold":true,"color":"white"}

execute if score timer time matches 309 run team modify teamname7 suffix {"text":" 5:09","bold":true,"color":"white"}
execute if score timer time matches 308 run team modify teamname7 suffix {"text":" 5:08","bold":true,"color":"white"}
execute if score timer time matches 307 run team modify teamname7 suffix {"text":" 5:07","bold":true,"color":"white"}
execute if score timer time matches 306 run team modify teamname7 suffix {"text":" 5:06","bold":true,"color":"white"}
execute if score timer time matches 305 run team modify teamname7 suffix {"text":" 5:05","bold":true,"color":"white"}
execute if score timer time matches 304 run team modify teamname7 suffix {"text":" 5:04","bold":true,"color":"white"}
execute if score timer time matches 303 run team modify teamname7 suffix {"text":" 5:03","bold":true,"color":"white"}
execute if score timer time matches 302 run team modify teamname7 suffix {"text":" 5:02","bold":true,"color":"white"}
execute if score timer time matches 301 run team modify teamname7 suffix {"text":" 5:01","bold":true,"color":"white"}
execute if score timer time matches 300 run team modify teamname7 suffix {"text":" 5:00","bold":true,"color":"white"}

execute if score timer time matches 300 as @a[tag=!start_no_title] at @s run playsound minecraft:block.stone_button.click_on master @s ~ ~ ~ 1 0.3
execute if score timer time matches 300 run title @a[tag=!start_no_title] title {"text":"5","color":"red","bold":true}
execute if score timer time matches 300 run title @a[tag=!start_no_title] subtitle {"translate":"game.time.minutes","color":"yellow"}
execute if score timer time matches 300 run tag @a remove start_no_title