scoreboard players add @a RidleyFunction 1

execute @a[score_RidleyFunction=152,score_RidleyFunction_min=152] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=200,score_RidleyFunction_min=200] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=300,score_RidleyFunction_min=300] ~ ~ ~ setblock -768 35 900 redstone_block
execute @a[score_RidleyFunction=364,score_RidleyFunction_min=364] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=550,score_RidleyFunction_min=550] ~ ~ ~ setblock -768 35 900 redstone_block
execute @a[score_RidleyFunction=590,score_RidleyFunction_min=590] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=680,score_RidleyFunction_min=680] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=720,score_RidleyFunction_min=720] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=800,score_RidleyFunction_min=800] ~ ~ ~ setblock -768 35 900 redstone_block
execute @a[score_RidleyFunction=1000,score_RidleyFunction_min=1000] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=1040,score_RidleyFunction_min=1040] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=1110,score_RidleyFunction_min=1110] ~ ~ ~ setblock -768 35 900 redstone_block
execute @a[score_RidleyFunction=1200,score_RidleyFunction_min=1200] ~ ~ ~ setblock -768 35 900 redstone_block
execute @a[score_RidleyFunction=1290,score_RidleyFunction_min=1290] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=1330,score_RidleyFunction_min=1330] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=1426,score_RidleyFunction_min=1426] ~ ~ ~ setblock -768 35 894 redstone_block
execute @a[score_RidleyFunction=1466,score_RidleyFunction_min=1466] ~ ~ ~ setblock -768 35 897 redstone_block
execute @a[score_RidleyFunction=1610,score_RidleyFunction_min=1610] ~ ~ ~ setblock -768 35 900 redstone_block

execute @a[score_RidleyFunction=1666,score_RidleyFunction_min=1666] ~ ~ ~ scoreboard players set @a RidleyFunction 0






