I got a part, that if you touch it, you get points:
script.Parent.Touched:Connect(function(hit)
if hit and hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
wait(1)
player.leaderstats.Money.Value += 10
player.leaderstats.Level.Value += 1
end
end)
But if you keep touching the part you still get money, but i want it to happen just once,what i should add?

2 comments
It does exactly what i wanted, thankyou.
No problem