how to make my script working still shows 0