hi averyone this is my first script for the ping sensor.whit some help from RR and STEVE G more ideas may welcome. here the script (/uploads/scriptpingwhitsoundandmove-635632777154068750.png) and here pic for the servo (/uploads/eekhoorn-635632777476412500.png)