I have a Motorcross game (Fairly popular) and every time someone crosses the finish, it awards 7 points! Not 1! At the rate it's going, it'll run out in 40 races!
local part = script.Parent part.Touched:connect(function(part) local g = game.Players:GetPlayerFromCharacter(part.Parent) if part:IsA("Part") and (g) then pps = game:GetService("PointsService") if pps:GetAwardablePoints() >= 1 then pps:AwardPoints(g.userId, 1) end script.Parent:remove() end end)
You should add a debounce
debounce=true local part = script.Parent part.Touched:connect(function(part) local g = game.Players:GetPlayerFromCharacter(part.Parent) if debounce==true then debounce=false if part:IsA("Part") and (g) then pps = game:GetService("PointsService") if pps:GetAwardablePoints() >= 1 then pps:AwardPoints(g.userId, 1) end script.Parent:remove() end end)
If it doesn't work, tell me the output in a comment