Cider Refund Problem

whats wrong with this?

[lua]
– A command to give money to a player
cider.command.add(“refund”, “s”, 2, function(player, arguments)
local target = cider.player.get( arguments[1] )
local amount = cider.player.giveMoney( arguments[2] )
if (target) then
target:cider.player.giveMoney(amount);
end;
end, “Super Admin Commands”, “<player> <amount>”, “Refund a amount money”);
[/lua]