PointsService Reset Breaking My Game

I’m getting this error in the server console:
“PointsService:GetAwardablePoints failed because Forbidden.”

PointService :

Run is in a seperate thread… So that your Script can still continue…

local Done, Feedback = pcall(function() return Game:GetService('PointsService'):GetAwarablePoints() end)
if Done then
print('I got '..Feedback..' Points !')
else
error(Feedback, 2)
end

I received this error as well when trying to check how many points I could award in my game.

[quote] PointService :

Run is in a seperate thread… So that your Script can still continue…

local Done, Feedback = pcall(function() return Game:GetService('PointsService'):GetAwarablePoints() end) if Done then print('I got '..Feedback..' Points !') else error(Feedback, 2) end [/quote]

You could always do this;

local ret
assert(pcall(function() ret = blah end))
--do stuff with ret

Less lines and stuff, you see?