1 | PointsService = game:GetService( "PointsService" ) --declare service |
2 | game.Players.PlayerAdded:connect( function (p) --Player function |
3 | while true do --this means wait a while, set true, then do. |
4 | wait( 60 ) --wait time till getting 1 Player Point |
5 | game:GetService( "PointsService" ):AwardPoints(p.userId, 1 ) --Player Points awarding 1 |
6 | print ( "Point awarded!" ) --Print |
7 | end |
8 | end ) |
9 | --Made by Elrodvo12 |
Closed as Not Constructive by User#2
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?