You want to use it for the Money column in scoreboard, right?
Use this then:
exports [ "scoreboard" ]:addScoreboardColumn ( "Money", 3 ) -- Add the "Money" column to the scoreboard.
function updatePlayersMoney ( ) -- Create "updatePlayersMoney" function.
for index, player in ipairs ( getElementsByType "player" ) do -- Loop through all online players.
setElementData ( player, "Money", convertNumber(getPlayerMoney ( player )) ) -- Set "Money" element data to the player money.
end -- End our loop.
end -- End our function.
setTimer ( updatePlayersMoney, 2500, 0 ) -- Set a infinite 2.5 seconds timer to execute "updatePlayersMoney" function.
Was that so hard?