there is no way to make that this code work in C-script?, someone know what is wrong with this code?, I need it in C-script and I think that the reason for that the code don't work is a little change in the engine, There is no way to know what is wrong with this code?.

Thanks, I hope that someone can help me.