I have this script here that when you level up, it SHOULD award a Playerpoint. There is about 300K playerpoints available in this game, why won;t it award any?
if xp.Value > 69 then
xp.Value = xp.Value - 70
xp.Value = xp.Value + (xp.Value * 2)
levels.Value = levels.Value + 1
local pps = game:GetService("PointsService")
if pps:GetAwardablePoints() >= 1 then
pps:AwardPoints(g.userId, 1)
end
end
- Michael

2 comments
Note: This isn't the full script, but just a major part of it!
I don't see any errors in this script. You will have to recheck other parts of your script with print() to find out where it goes wrong. Otherwise post more code.