if i use that script, the motion become not working