PointsService = game:GetService("PointsService") game.Players.PlayerAdded:connect(function(p) while true do wait(60) game:GetService("PointsService"):AwardPoints(p.userId,1) print("Point awarded!") end end)
COMMUNITY QUESTION
How to I change the script to 100 pp per kill?
1 answer
pointsamount = 100 -- set the amount of points to give
PointsService = game:GetService("PointsService") -- grab points service
game.Players.PlayerAdded:connect(function(p) -- player joined function
while true do -- while true do loop
wait(60) -- wait 1 min
game:GetService("PointsService"):AwardPoints(p.userId, pointsamount) -- award points
print(pointsamount.." points awarded!") -- output amount of points awarded
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Be sure to let me know if you encounter any problems.