Avatar

Level 10

Well, this is a very tricky one.

The script sometimes has a negative effect on other scripts if you use it together with them.

I suggest to isolate each step of your scripts by putting them into separate functions in a script object and call them one by one.