User blog:GamesFan2000/New function I made

https://docs.google.com/document/d/1Z8Kb54EZsHKR3r0i9acI6v3ANpj75sRSeMuYBV3ofA0/edit?usp=sharing