Avatar

Level 2

this is the current scripting that I have

and

Where would you suggest putting the calculation code?

Sorry, I am quite a beginner, especially in the scripting realm...