# If you have a better way to do this, be my guest. Otherwise, fuck off.
effect clear @a[scores={speedTimer=50}] speed
effect give @a[scores={speedTimer=50}] speed 1 4 true
effect clear @a[scores={speedTimer=40}] speed
effect give @a[scores={speedTimer=40}] speed 1 3 true
effect clear @a[scores={speedTimer=30}] speed
effect give @a[scores={speedTimer=30}] speed 1 2 true
effect clear @a[scores={speedTimer=20}] speed
effect give @a[scores={speedTimer=20}] speed 1 1 true
effect clear @a[scores={speedTimer=10}] speed
effect give @a[scores={speedTimer=10}] speed 1 0 true
effect clear @a[scores={speedTimer=1}] speed