execute store result score .gametime first_person run time query gametime
scoreboard players operation @s first_person = .gametime first_person
scoreboard players operation @s first_person %= .24000 number
$scoreboard players remove @s first_person $(start)
$scoreboard players operation @s first_person %= .$(frames) number
execute store result storage first_person start int 1 run scoreboard players get @s first_person
function main:particles/system/animation_set_1 with storage first_person