How to get perpendicular line script to work? [on hold]

أعلى