> ## Documentation Index
> Fetch the complete documentation index at: https://lationscripts.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Money Laundering - Exports - Shared

> All exports available on the client and server

### **GetData**

Retrieves player data. Optionally, you can pass a string to get a specific piece of data.

<Tabs>
  <Tab title="Client">
    ```lua theme={null}
    exports.lation_laundering:GetData(key)
    ```

    <ParamField path="key" type="string">
      The specific player data field you want to retrieve (e.g., `"level"`, `"exp"`, etc). If omitted, returns a table with all player data.
    </ParamField>
  </Tab>

  <Tab title="Server">
    ```lua theme={null}
    exports.lation_laundering:GetData(source, key)
    ```

    <ParamField path="source" type="string" required>
      The source (*player ID*) to retrieve data from.
    </ParamField>

    <ParamField path="key" type="string">
      The specific player data field you want to retrieve (e.g., `"level"`, `"exp"`, etc). If omitted, returns a table with all player data.
    </ParamField>
  </Tab>
</Tabs>

<Note>
  Looking for an export we don’t have listed here? Contact us and we’ll do what we can!
</Note>
