Make datapack work

I was trying to use this datapack but idk if it doesnt work because it's for 1.21.1 and my server is 1.21.4 or if the datapack itself doesnt work
Continue to help post