Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

What Script Would I Need To Give 1 Player Point Per Minute In Game? [closed]

Asked by 10 years ago

I Was Wondering The Script That I Would Need That Would Give Player Points As Stated In The Question, Please Help

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?

1 answer

Log in to vote
1
Answered by 10 years ago
PointsService = game:GetService("PointsService")--declare service
game.Players.PlayerAdded:connect(function(p)--Player function
while true do --this means wait a while, set true, then do.
wait(60)--wait time till getting 1 Player Point
game:GetService("PointsService"):AwardPoints(p.userId,1)--Player Points awarded per minute
print("Point awarded!")--Print
end
end)

Ad