scoreboard objectives add wcbleed dummy wcbleed
scoreboard players add @e[tag=wcbleed] wcbleed 1
scoreboard players add @e[tag=wcbleed2] wcbleed 1
execute @e[scores={wcbleed=10},tag=wcbleed] ~ ~ ~ damage @s 2 entity_attack
execute @e[scores={wcbleed=10},tag=wcbleed2] ~ ~ ~ damage @s 4 entity_attack
execute @e[scores={wcbleed=20},tag=wcbleed] ~ ~ ~ damage @s 2 entity_attack
execute @e[scores={wcbleed=20},tag=wcbleed2] ~ ~ ~ damage @s 4 entity_attack
execute @e[scores={wcbleed=30},tag=wcbleed] ~ ~ ~ damage @s 2 entity_attack
execute @e[scores={wcbleed=30},tag=wcbleed2] ~ ~ ~ damage @s 4 entity_attack
execute @e[scores={wcbleed=40},tag=wcbleed] ~ ~ ~ tag @s remove wcbleed
execute @e[scores={wcbleed=40},tag=wcbleed2] ~ ~ ~ tag @s remove wcbleed2
execute @e[scores={wcbleed=40}] ~ ~ ~ scoreboard players set @s wcbleed 0

scoreboard objectives add weapontick dummy weapontick
scoreboard players add @e[tag=resistance1] weapontick 2
scoreboard players add @e[tag=resistance2] weapontick 3
scoreboard players add @e[tag=slowness] weapontick 2
scoreboard players add @e[tag=tazer] weapontick 5
scoreboard players add @e[tag=speed1] weapontick 2
scoreboard players add @e[tag=speed2] weapontick 3
scoreboard players add @e[tag=speed3] weapontick 3
scoreboard players add @e[tag=strengthslow1] weapontick 4
scoreboard players add @e[tag=strengthslow2] weapontick 6
scoreboard players add @e[tag=strengthslow3] weapontick 6
scoreboard players add @e[tag=wardenboost] weapontick 4
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove resistance1
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove resistance2
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove slowness
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove tazer
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove speed1
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove speed2
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove speed3
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove strengthslow1
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove strengthslow2
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove strengthslow3
execute @a[scores={weapontick=1200..}] ~ ~ ~ tag @s remove wardenboost
execute @a[scores={weapontick=1200..}] ~ ~ ~ scoreboard players set @s weapontick 0

execute @a[tag=resistance1] ~ ~ ~ scoreboard players add @s resistanceeffect 1
execute @a[tag=resistance2] ~ ~ ~ scoreboard players add @s resistanceeffect 2
execute @a[tag=resistance2] ~ ~ ~ scoreboard players remove @s speedeffect 1
execute @e[tag=slowness] ~ ~ ~ scoreboard players remove @s speedeffect 1
execute @e[tag=tazer] ~ ~ ~ scoreboard players remove @s speedeffect 3
execute @e[tag=speed1] ~ ~ ~ scoreboard players add @s speedeffect 1
execute @e[tag=speed2] ~ ~ ~ scoreboard players add @s speedeffect 2
execute @e[tag=speed3] ~ ~ ~ scoreboard players add @s speedeffect 3
execute @e[tag=strengthslow1] ~ ~ ~ scoreboard players remove @s speedeffect 1
execute @e[tag=strengthslow1] ~ ~ ~ scoreboard players add @s strengtheffect 1
execute @e[tag=strengthslow2] ~ ~ ~ scoreboard players remove @s speedeffect 2
execute @e[tag=strengthslow2] ~ ~ ~ scoreboard players add @s strengtheffect 2
execute @e[tag=strengthslow3] ~ ~ ~ scoreboard players remove @s speedeffect 3
execute @e[tag=strengthslow3] ~ ~ ~ scoreboard players add @s strengtheffect 3

execute @e[tag=wardenboost] ~ ~ ~ scoreboard players add @s strengtheffect 2
execute @e[tag=wardenboost] ~ ~ ~ scoreboard players add @s speedeffect 2
execute @a[tag=wardenboost] ~ ~ ~ scoreboard players add @s resistanceeffect 2