Useful or not, from you.

the script its not working and i dont have errors

That's a useful answer
Without any help

If you`re using OneSync then update the player loop