Spectators get PointShop points?

How would I go about making it so spectators get only a fraction of pointshop points that active players do?
I am running a murder server and a lot of people go into spectator mode overnight for more points.

Regular users get 10 per 5 minutes,
and I’m hoping to make it so spectators get 3 per 5 minutes.

Go find where it handles giving pointshop points, this can be done via ctrl+f and a little bit of thinking

Then essentially do

It may not actually use ply, but that’s the gist of it.

I don’t actually code lua at all, but this is most definitely a start. Thank you for your help, it’s appreciated. :wink: