scoreboard players add @s kill_streak 1
scoreboard players set @s kill_streak_timer 1200

scoreboard players add @s kills_this_game 1
scoreboard players add @s total_kills 1

execute if score @s kill_streak matches 3 run tellraw @a[distance=..250] ["",{"selector":"@s","color":"gold"},{"text":" is on a ","color":"gold"},{"score":{"name":"@s","objective":"kill_streak"},"bold":true,"color":"gold"},{"text":" kill streak! Bazinga!","color":"gold"}]
execute if score @s kill_streak matches 5 run tellraw @a[distance=..250] ["",{"selector":"@s","color":"gold"},{"text":" is on a ","color":"gold"},{"score":{"name":"@s","objective":"kill_streak"},"bold":true,"color":"gold"},{"text":" kill streak! Holy Moly!","color":"gold"}]
execute if score @s kill_streak matches 10 run tellraw @a[distance=..250] ["",{"selector":"@s","color":"gold"},{"text":" is ","color":"gold"},{"text":"UNSTOPPABLE","bold":true,"color":"yellow"},{"text":" with a ","color":"gold"},{"score":{"name":"@s","objective":"kill_streak"},"bold":true,"color":"gold"},{"text":" kill streak!","color":"gold"}]

execute store result score #bread temp run clear @s minecraft:bread 0
execute unless score #bread temp matches 61.. run give @s bread[item_name={"color":"gray","text":"Bread"}] 4

execute store result score #arrow temp run clear @s minecraft:arrow 0
execute unless score #arrow temp matches 61.. run give @s arrow[item_name={"color":"gray","text":"Arrow"}] 4

effect give @s minecraft:instant_health 1 0 true

execute if score .lucky_blocks settings matches 1 run function pctf:logic/items/lucky_block/give/default

function pctf:logic/player/coins/set_coins_to_add {amount: "12"}