Xkrew
|
  |
| Joined: 06 Dec 2013 |
| Total Posts: 1044 |
|
|
| 08 Jun 2014 01:51 AM |
local PointsService = Game:GetService("PointsService") game.Players.PlayerAdded:connect(function(player) local pointsToAward = PointsService:GetAwardablePoints() local universeBalance = PointsService:GetGamePointBalance(player.userId) while true do if ( pointsToAward > 0 ) then pcall(function() wait (30) PointsService:AwardPoints(player.userId, 1) end) end end
PointsService.PointsAwarded:connect(function(userId, userBalanceinUni, userBalance) 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) end)
i dont know it work or not |
|
|
| Report Abuse |
|
|
| |
|
Faxu
|
  |
| Joined: 08 Feb 2010 |
| Total Posts: 2937 |
|
|
| 08 Jun 2014 02:10 AM |
| I'm pretty sure that script awards one player point every 30 seconds, not minutes. |
|
|
| Report Abuse |
|
|
Xkrew
|
  |
| Joined: 06 Dec 2013 |
| Total Posts: 1044 |
|
| |
|
devMOUSE
|
  |
| Joined: 23 Dec 2009 |
| Total Posts: 137 |
|
|
| 08 Jun 2014 03:28 AM |
local PointsService = Game:GetService("PointsService") game.Players.PlayerAdded:connect(function(player) local pointsToAward = PointsService:GetAwardablePoints() local universeBalance = PointsService:GetGamePointBalance(player.userId) while true do if ( pointsToAward > 100 ) then pcall(function() wait (30) PointsService:AwardPoints(player.userId, 1) end) end end
PointsService.PointsAwarded:connect(function(userId, userBalanceinUni, userBalance) 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) end)
i dont know it work or not |
|
|
| Report Abuse |
|
|
| |
|