How to make points

Maybe you could have a team-scoped property that increases when the flag is captured, and the leaderboard tracks that property.

If you need any other capture the flag resources, here they are: