I want to make it so when a Player hits a brick, it gives them 1 Player Point, not 8... Anyways, here's the script.
local buttonPressed = false
local How_Much_To_Award = 1 -- How much Player Points to award.
script.Parent.Touched:connect(function(plr)
if not buttonPressed then
buttonPressed = true
end
wait()
local i = plr.Parent.Name
if plr.Parent:findFirstChild("Humanoid") then
print(plr.Parent.Name)
game:GetService("PointsService"):AwardPoints(game.Players:findFirstChild(i).userId, How_Much_To_Award)
buttonPressed = false
print("Done.")
end
end)

2 comments
It sorta slowed it down, but it still gives a lot away, is there a way to fix this?
Nevermind, I got it, thank's