Hello i need some help understanding why i cant get the datapacks to work in my game

i can make a simple function say hello and it works but when i start adding tick logic it breaks? can someone help me

Continue to help post