Need help with scripts (number check)

CoCocoSep 30 201905712
    Halo and Forge Discussion

Ok, so basically I'm trying to make an invasion gametype. I've been trying to implement the mechanic you see in "night of the mantis" where you have a point system and can buy things using those points. But I dont understand the number check script. Does anyone have any tips or advice? I basically need a "number check sensei" to help me understand that script.