The problem with leaderboards is that you need some sort of backend to handle them. Most people use a plugin like clay.io so that they don't have access to their own server, php scripts and a database.
If you have a server, and have access to use php and something like MySQL I could give you some pointers on how to accomplish this, but it's beyond the scope of Construct 2 to handle this by itself.