thanks for the tips i will use that to understand the script better.
i noticed the fall trough case with pm but wasnt sure why.
i think i updated the script already before i got awnsers but will use the tips to change the script.