I Was Wondering The Script That I Would Need That Would Give Player Points As Stated In The Question, Please Help
COMMUNITY QUESTION
What Script Would I Need To Give 1 Player Point Per Minute In Game?
1 answer
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
