of     1   

RealistK
#140032686Friday, July 11, 2014 11:08 PM GMT

Can anyone please give me a player points script and tell me how to use it? I want to use it for almost all my games, these go from RPG's to destroying to ROBLOX version of MC. I don't really get it. Pls don't link me to the wiki. Thanks!
RealistK
#140080699Saturday, July 12, 2014 10:09 AM GMT

bump
TheeDarkLord
#140081800Saturday, July 12, 2014 10:40 AM GMT

Heres an example script from my game. local PointsService = Game:GetService("PointsService") -- Bind function to player added event game.Players.PlayerAdded:connect(function(player) -- Get total number of points the game has available local pointsToAward = PointsService:GetAwardablePoints() -- Get total number of points this game has already awarded to the player local universeBalance = PointsService:GetGamePointBalance(player.userId) -- Check if the game has points to award and if the player hasn't gotten any points yet. -- If both are true, then give the player a point. if ( pointsToAward > 0 and universeBalance == 0) then -- pcall here, as AwardPoints *will throw an error* if another server has awarded the -- points that were available between us checking how many were available and -- us actually awarding the points. There is currently no way to avoid this pcall, -- whenever you AwardPoints you should always wrap it in a pcall. pcall(function() PointsService:AwardPoints(player.userId, 1) end) end end) -- Bind function to when points are successfully awarded PointsService.PointsAwarded:connect(function(userId, userBalanceinUni, userBalance) -- Show message indicating that a player has gotten points local message = Instance.new('Message', game.Workspace) message.Text = "Point awarded to " .. userId .. ". This player now has " .. userBalance .. " points total!" wait(5) message:Destroy() end)
RealistK
#140083683Saturday, July 12, 2014 11:33 AM GMT

@Above For what does that script award the point? And how much?
AntonioLorenzi
#140083735Saturday, July 12, 2014 11:35 AM GMT

ur games are all copied or just very uninteresting and lamely done
RealistK
#140083782Saturday, July 12, 2014 11:36 AM GMT

Okay I really do not care if you think what I am asking is lame, I'm getting Java scripting lessons next year on school so untill then I'm just keep asking for help which isn't wrong.
AntonioLorenzi
#140084076Saturday, July 12, 2014 11:47 AM GMT

no im saying ur games are lame there's no need to exadurate them at all thats why im not gonna help
RealistK
#140084142Saturday, July 12, 2014 11:49 AM GMT

Lol idc what u think about my games and there are alot of people who are friendly and do want to help. P.S. You didn't even visit one of them.
RealistK
#140107519Saturday, July 12, 2014 6:08 PM GMT

bump
RealistK
#140110947Saturday, July 12, 2014 6:46 PM GMT

bump
UgOsMiLy
#140113607Saturday, July 12, 2014 7:15 PM GMT

http://wiki.roblox.com/index.php?title=Player_Points ---------------------------------------------------------------------- @NiceCoder Some people don't have as much experience as you though.

    of     1