slot_give
[37m$[35mexecute [34mif score [36m@s [34m$[33m([0mslot[33m) [34mmatches [32m0 [34mrun [35mfunction [33mslots:attributes/speed {[32m"slot"[34m:[32m"[34m$[35m([0mslot[35m)[32m"[33m}
The function running it:
[35mexecute [34mas [36m@a [34mrun [35mfunction [33mslots:slot_give {[32m"slot"[34m:[32m"slot.1"[33m}
[35mexecute [34mas [36m@a [34mrun [35mfunction [33mslots:slot_give {[32m"slot"[34m:[32m"slot.2"[33m}
[35mexecute [34mas [36m@a [34mrun [35mfunction [33mslots:slot_give {[32m"slot"[34m:[32m"slot.3"[33m}
$attribute @s minecraft:generic.movement_speed modifier add game:$(slot) 0.02 add_value
$attribute @s minecraft:generic.attack_damage add game:$(slot)b -0.5 add_value
$say $(slot)```
the attributes
and its not at all moving (I want to for it to lose value)