generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
Home Search
 

Re: PlayerPoints Forbidden?

Previous Thread :: Next Thread 
Alex4897 is not online. Alex4897
Joined: 06 Aug 2008
Total Posts: 14517
05 Jun 2014 09:15 PM
"PointsService:GetAwardablePoints() failed because Forbidden"

seriously. This is breaking practically everything in my game.

--I am an eggspert in the eggcelent art of egg puns.--
Report Abuse
rcouret is not online. rcouret
Joined: 05 Sep 2013
Total Posts: 129
05 Jun 2014 11:45 PM
Me too whats up with this
Report Abuse
Alex4897 is not online. Alex4897
Joined: 06 Aug 2008
Total Posts: 14517
06 Jun 2014 11:28 AM
bump

--I am an eggspert in the eggcelent art of egg puns.--
Report Abuse
Machuga14 is not online. Machuga14
Joined: 26 Oct 2009
Total Posts: 6
15 Jul 2014 11:25 PM
Hey Guys, I know its been a month since this question was asked, But I have an answer. I'm by no means an expert in Lua, I literally bought Outrageous Builders club today, and have been teaching myself how to use Lua in Roblox somewhat seriously over the past few days...

Anyways, The issue is most likely that you were attempting to test the code, while in the Roblox Studio itself. Since you were not actually in any actual server, the Points Service was not allowing you to get awardable points.

I tested this by:

Creating to Parts

Grouping them

changing the name of one of the parts to "Head"

Inserting a Humanoid to the group

Inserting a script to the group that says:

"

local PointsService = Game:GetService("PointsService")

local interval = 3

while wait() do

local pointsToAward = PointsService:GetAwardablePoints()

if pointsToAward then
script.Parent.Name = "Available points: " ..pointsToAward.. "!"
else
script.Parent.Name = "There were no points to award."
end


end



"

What that script does, is every 3 seconds, it will access the Points Service, and determine how many points may be awarded. It then sets the Text of the model equal to the amount of points to be awarded.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image