Lets say when a part is removed then the script inside that part will add currency to itself.
Like when the parent of the script which is the part , gets removed the script will add the currency to the player.
-- Part getting removed
currency = currency + 1
end

1 comment
or you can check if a player touched a part, then the part gets removed, then add currency to the player.