What this code should do, is award every player in the server 1 PP every 10 minutes:
local PPS = game:GetService("PointsService")
while PPS:GetAwardablePoints() >= game.Players.NumPlayers do
for i,v in pairs (game.Players:GetChildren()) do
PPS:AwardPoints(1,v.userId)
end
wait(10*60)
end

2 comments
I put this script in Workspace, so I think it should be fine right??
Yes, it should work in workspace, make sure that it's a script not a local script. Also please give me a reputation!