#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    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 299 run team modify teamname7 suffix {"text":" 4:59","bold":true,"color":"white"}
execute if score timer time matches 298 run team modify teamname7 suffix {"text":" 4:58","bold":true,"color":"white"}
execute if score timer time matches 297 run team modify teamname7 suffix {"text":" 4:57","bold":true,"color":"white"}
execute if score timer time matches 296 run team modify teamname7 suffix {"text":" 4:56","bold":true,"color":"white"}
execute if score timer time matches 295 run team modify teamname7 suffix {"text":" 4:55","bold":true,"color":"white"}
execute if score timer time matches 294 run team modify teamname7 suffix {"text":" 4:54","bold":true,"color":"white"}
execute if score timer time matches 293 run team modify teamname7 suffix {"text":" 4:53","bold":true,"color":"white"}
execute if score timer time matches 292 run team modify teamname7 suffix {"text":" 4:52","bold":true,"color":"white"}
execute if score timer time matches 291 run team modify teamname7 suffix {"text":" 4:51","bold":true,"color":"white"}
execute if score timer time matches 290 run team modify teamname7 suffix {"text":" 4:50","bold":true,"color":"white"}

execute if score timer time matches 289 run team modify teamname7 suffix {"text":" 4:49","bold":true,"color":"white"}
execute if score timer time matches 288 run team modify teamname7 suffix {"text":" 4:48","bold":true,"color":"white"}
execute if score timer time matches 287 run team modify teamname7 suffix {"text":" 4:47","bold":true,"color":"white"}
execute if score timer time matches 286 run team modify teamname7 suffix {"text":" 4:46","bold":true,"color":"white"}
execute if score timer time matches 285 run team modify teamname7 suffix {"text":" 4:45","bold":true,"color":"white"}
execute if score timer time matches 284 run team modify teamname7 suffix {"text":" 4:44","bold":true,"color":"white"}
execute if score timer time matches 283 run team modify teamname7 suffix {"text":" 4:43","bold":true,"color":"white"}
execute if score timer time matches 282 run team modify teamname7 suffix {"text":" 4:42","bold":true,"color":"white"}
execute if score timer time matches 281 run team modify teamname7 suffix {"text":" 4:41","bold":true,"color":"white"}
execute if score timer time matches 280 run team modify teamname7 suffix {"text":" 4:40","bold":true,"color":"white"}

execute if score timer time matches 279 run team modify teamname7 suffix {"text":" 4:39","bold":true,"color":"white"}
execute if score timer time matches 278 run team modify teamname7 suffix {"text":" 4:38","bold":true,"color":"white"}
execute if score timer time matches 277 run team modify teamname7 suffix {"text":" 4:37","bold":true,"color":"white"}
execute if score timer time matches 276 run team modify teamname7 suffix {"text":" 4:36","bold":true,"color":"white"}
execute if score timer time matches 275 run team modify teamname7 suffix {"text":" 4:35","bold":true,"color":"white"}
execute if score timer time matches 274 run team modify teamname7 suffix {"text":" 4:34","bold":true,"color":"white"}
execute if score timer time matches 273 run team modify teamname7 suffix {"text":" 4:33","bold":true,"color":"white"}
execute if score timer time matches 272 run team modify teamname7 suffix {"text":" 4:32","bold":true,"color":"white"}
execute if score timer time matches 271 run team modify teamname7 suffix {"text":" 4:31","bold":true,"color":"white"}
execute if score timer time matches 270 run team modify teamname7 suffix {"text":" 4:30","bold":true,"color":"white"}

execute if score timer time matches 269 run team modify teamname7 suffix {"text":" 4:29","bold":true,"color":"white"}
execute if score timer time matches 268 run team modify teamname7 suffix {"text":" 4:28","bold":true,"color":"white"}
execute if score timer time matches 267 run team modify teamname7 suffix {"text":" 4:27","bold":true,"color":"white"}
execute if score timer time matches 266 run team modify teamname7 suffix {"text":" 4:26","bold":true,"color":"white"}
execute if score timer time matches 265 run team modify teamname7 suffix {"text":" 4:25","bold":true,"color":"white"}
execute if score timer time matches 264 run team modify teamname7 suffix {"text":" 4:24","bold":true,"color":"white"}
execute if score timer time matches 263 run team modify teamname7 suffix {"text":" 4:23","bold":true,"color":"white"}
execute if score timer time matches 262 run team modify teamname7 suffix {"text":" 4:22","bold":true,"color":"white"}
execute if score timer time matches 261 run team modify teamname7 suffix {"text":" 4:21","bold":true,"color":"white"}
execute if score timer time matches 260 run team modify teamname7 suffix {"text":" 4:20","bold":true,"color":"white"}

execute if score timer time matches 259 run team modify teamname7 suffix {"text":" 4:19","bold":true,"color":"white"}
execute if score timer time matches 258 run team modify teamname7 suffix {"text":" 4:18","bold":true,"color":"white"}
execute if score timer time matches 257 run team modify teamname7 suffix {"text":" 4:17","bold":true,"color":"white"}
execute if score timer time matches 256 run team modify teamname7 suffix {"text":" 4:16","bold":true,"color":"white"}
execute if score timer time matches 255 run team modify teamname7 suffix {"text":" 4:15","bold":true,"color":"white"}
execute if score timer time matches 254 run team modify teamname7 suffix {"text":" 4:14","bold":true,"color":"white"}
execute if score timer time matches 253 run team modify teamname7 suffix {"text":" 4:13","bold":true,"color":"white"}
execute if score timer time matches 252 run team modify teamname7 suffix {"text":" 4:12","bold":true,"color":"white"}
execute if score timer time matches 251 run team modify teamname7 suffix {"text":" 4:11","bold":true,"color":"white"}
execute if score timer time matches 250 run team modify teamname7 suffix {"text":" 4:10","bold":true,"color":"white"}

execute if score timer time matches 249 run team modify teamname7 suffix {"text":" 4:09","bold":true,"color":"white"}
execute if score timer time matches 248 run team modify teamname7 suffix {"text":" 4:08","bold":true,"color":"white"}
execute if score timer time matches 247 run team modify teamname7 suffix {"text":" 4:07","bold":true,"color":"white"}
execute if score timer time matches 246 run team modify teamname7 suffix {"text":" 4:06","bold":true,"color":"white"}
execute if score timer time matches 245 run team modify teamname7 suffix {"text":" 4:05","bold":true,"color":"white"}
execute if score timer time matches 244 run team modify teamname7 suffix {"text":" 4:04","bold":true,"color":"white"}
execute if score timer time matches 243 run team modify teamname7 suffix {"text":" 4:03","bold":true,"color":"white"}
execute if score timer time matches 242 run team modify teamname7 suffix {"text":" 4:02","bold":true,"color":"white"}
execute if score timer time matches 241 run team modify teamname7 suffix {"text":" 4:01","bold":true,"color":"white"}
execute if score timer time matches 240 run team modify teamname7 suffix {"text":" 4:00","bold":true,"color":"white"}

execute if score timer time matches 240 as @a at @s run playsound minecraft:block.stone_button.click_on master @s ~ ~ ~ 1 0.3
execute if score timer time matches 240 run title @a title {"text":"4","color":"red","bold":true}
execute if score timer time matches 240 run title @a subtitle {"translate":"game.time.minutes","color":"yellow"}

execute if score timer time matches 239 run team modify teamname7 suffix {"text":" 3:59","bold":true,"color":"white"}
execute if score timer time matches 238 run team modify teamname7 suffix {"text":" 3:58","bold":true,"color":"white"}
execute if score timer time matches 237 run team modify teamname7 suffix {"text":" 3:57","bold":true,"color":"white"}
execute if score timer time matches 236 run team modify teamname7 suffix {"text":" 3:56","bold":true,"color":"white"}
execute if score timer time matches 235 run team modify teamname7 suffix {"text":" 3:55","bold":true,"color":"white"}
execute if score timer time matches 234 run team modify teamname7 suffix {"text":" 3:54","bold":true,"color":"white"}
execute if score timer time matches 233 run team modify teamname7 suffix {"text":" 3:53","bold":true,"color":"white"}
execute if score timer time matches 232 run team modify teamname7 suffix {"text":" 3:52","bold":true,"color":"white"}
execute if score timer time matches 231 run team modify teamname7 suffix {"text":" 3:51","bold":true,"color":"white"}
execute if score timer time matches 230 run team modify teamname7 suffix {"text":" 3:50","bold":true,"color":"white"}

execute if score timer time matches 229 run team modify teamname7 suffix {"text":" 3:49","bold":true,"color":"white"}
execute if score timer time matches 228 run team modify teamname7 suffix {"text":" 3:48","bold":true,"color":"white"}
execute if score timer time matches 227 run team modify teamname7 suffix {"text":" 3:47","bold":true,"color":"white"}
execute if score timer time matches 226 run team modify teamname7 suffix {"text":" 3:46","bold":true,"color":"white"}
execute if score timer time matches 225 run team modify teamname7 suffix {"text":" 3:45","bold":true,"color":"white"}
execute if score timer time matches 224 run team modify teamname7 suffix {"text":" 3:44","bold":true,"color":"white"}
execute if score timer time matches 223 run team modify teamname7 suffix {"text":" 3:43","bold":true,"color":"white"}
execute if score timer time matches 222 run team modify teamname7 suffix {"text":" 3:42","bold":true,"color":"white"}
execute if score timer time matches 221 run team modify teamname7 suffix {"text":" 3:41","bold":true,"color":"white"}
execute if score timer time matches 220 run team modify teamname7 suffix {"text":" 3:40","bold":true,"color":"white"}

execute if score timer time matches 219 run team modify teamname7 suffix {"text":" 3:39","bold":true,"color":"white"}
execute if score timer time matches 218 run team modify teamname7 suffix {"text":" 3:38","bold":true,"color":"white"}
execute if score timer time matches 217 run team modify teamname7 suffix {"text":" 3:37","bold":true,"color":"white"}
execute if score timer time matches 216 run team modify teamname7 suffix {"text":" 3:36","bold":true,"color":"white"}
execute if score timer time matches 215 run team modify teamname7 suffix {"text":" 3:35","bold":true,"color":"white"}
execute if score timer time matches 214 run team modify teamname7 suffix {"text":" 3:34","bold":true,"color":"white"}
execute if score timer time matches 213 run team modify teamname7 suffix {"text":" 3:33","bold":true,"color":"white"}
execute if score timer time matches 212 run team modify teamname7 suffix {"text":" 3:32","bold":true,"color":"white"}
execute if score timer time matches 211 run team modify teamname7 suffix {"text":" 3:31","bold":true,"color":"white"}
execute if score timer time matches 210 run team modify teamname7 suffix {"text":" 3:30","bold":true,"color":"white"}

execute if score timer time matches 209 run team modify teamname7 suffix {"text":" 3:29","bold":true,"color":"white"}
execute if score timer time matches 208 run team modify teamname7 suffix {"text":" 3:28","bold":true,"color":"white"}
execute if score timer time matches 207 run team modify teamname7 suffix {"text":" 3:27","bold":true,"color":"white"}
execute if score timer time matches 206 run team modify teamname7 suffix {"text":" 3:26","bold":true,"color":"white"}
execute if score timer time matches 205 run team modify teamname7 suffix {"text":" 3:25","bold":true,"color":"white"}
execute if score timer time matches 204 run team modify teamname7 suffix {"text":" 3:24","bold":true,"color":"white"}
execute if score timer time matches 203 run team modify teamname7 suffix {"text":" 3:23","bold":true,"color":"white"}
execute if score timer time matches 202 run team modify teamname7 suffix {"text":" 3:22","bold":true,"color":"white"}
execute if score timer time matches 201 run team modify teamname7 suffix {"text":" 3:21","bold":true,"color":"white"}
execute if score timer time matches 200 run team modify teamname7 suffix {"text":" 3:20","bold":true,"color":"white"}