I've added a script from the Community Scripts, and it is calculated incorrectly and/or I don't understand how it works