is there something wrong in the script because earlier it was working fine for the same script.

Screenshot (289).png