if SERVER then hook.Add( "OnRoundSet", "DR Money", function( round, winner ) if round == ROUND_ENDING then for _, ply in ipairs( player.GetAll() ) do if ply:Team() == winner then -- Check if the player's team is the same as the winning team ply:PS_GivePoints( 10 ) -- Gives the points if the player is on the winning team end end end end ) end