How do I can make it more ideal

I have a script, that makes player arm more longer. So, this size depends of magnitude. How do I can do this more ideal?