I need help with arrow hit detection

Oke so i am basecly new to this soo sorry for the bad code but i am trying to make a custom crosbow but i cant get the arrow hits detection system working i tried everything

Continue to help post