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 » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do I add player points?

Previous Thread :: Next Thread 
Devirian is not online. Devirian
Joined: 06 Dec 2010
Total Posts: 8190
21 Apr 2014 07:36 PM
I want a script that makes it so my game has player points for my game passes.

So that every game pass bought the points go to me.

://[Devirian/Kolapo00 - GFX Artist
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 07:38 PM
local service = game:GetService("PointsService")

game.Players.PlayerAdded:connect(function(player)
player:WaitForDataReady()
service:AwardPoints(1210210, service:GetAwardablePoints())
end)
Report Abuse
Devirian is not online. Devirian
Joined: 06 Dec 2010
Total Posts: 8190
21 Apr 2014 07:38 PM
where my name go?

://[Devirian/Kolapo00 - GFX Artist
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 07:40 PM
Just leave it as that, it is set to your ID. When someone joins you will get the points.
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 07:41 PM
Oh, you have to replace my ID with your playerID. It's the really long number in the script.
Report Abuse
Devirian is not online. Devirian
Joined: 06 Dec 2010
Total Posts: 8190
21 Apr 2014 07:53 PM
thats how u got 6k?

://[Devirian/Kolapo00 - GFX Artist
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 08:02 PM
Yeah. I put that in my game. Whenever someone joins, it takes all the available points and transfers them to me.
Report Abuse
Devirian is not online. Devirian
Joined: 06 Dec 2010
Total Posts: 8190
21 Apr 2014 08:08 PM
gave me 90 famous famous game

://[Devirian/Kolapo00 - GFX Artist
Report Abuse
Devirian is not online. Devirian
Joined: 06 Dec 2010
Total Posts: 8190
21 Apr 2014 08:12 PM
just got 350 from my hospital nightmare game.

://[Devirian/Kolapo00 - GFX Artist
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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