# ReportScore(long, string, Action<bool>)

> Report a score to a specific leaderboard.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.GameCenterModule

> **Warning:**
>
> **Deprecated.** Social is deprecated and will be removed in a future release.

```csharp
public static void ReportScore(long score, string board, Action<bool> callback)
```

### Parameters

**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[Action\<bool>]\(https\://learn.microsoft.com/dotnet/api/system.action)):&#x20;

### Examples

```csharp
using UnityEngine;
using UnityEngine.SocialPlatforms;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void ReportScore(long score, string leaderboardID)
    {
        Debug.Log("Reporting score " + score + " on leaderboard " + leaderboardID);
        Social.ReportScore(score, leaderboardID, success => {
            Debug.Log(success ? "Reported score successfully" : "Failed to report score");
        });
    }
}
```
