I've tried NBTExplorer to change my dimension but it still isn't still isn't working.
Ok I found out how to use minecraft functions it was SpiceWeasel's idea as show in their comment above. You can use the "minecraft:tick" tag on a minecraft function that kills all arrows. If you have a similar problem I have a download here just edit the .mcfunction file (if it's like a different entity). Then put it into the world's "datapacks" folder.
well basicily if i did understood right it will keep dupelicating Arrows that exist so if you login with console client and do /kill @e it should work
if i did understood wrong and its just spawning more and more i have an idea
first try remove all commandblocks in the World by using some sorta commands *im not that good at vanilla commansd but ik that on worldEdit you can use /replacenear 9999 command_block air
then kill the Arrows that already excist with /kill @e
that will remove all commandblocks in "in radius of where you did the command"