I tried solving the problem by removing the weld from the last part of the function to the first part. After solving the error when my stand punches it just teleports me to the location it should be