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

# setrbxclipboard

Does nothing observable.

```luau theme={null}
setrbxclipboard(text: string): ()
```

A paste after calling it produces only a single carriage return byte (`\r`), regardless of the input string.

## Parameters

| Parameter | Type     | Description             |
| --------- | -------- | ----------------------- |
| `text`    | `string` | Accepted but discarded. |

## Returns

<code title="the function does not return a value.">void</code>

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  <<<<<<< HEAD
  setrbxclipboard("Hello, world!")
  =======
  -- setrbxclipboard(text: string): ()
  >>>>>>> 50e30f53759b0538759af25c9b271514aa2c9290
  ```

  ```luau Example 2 theme={null}
  setrbxclipboard("hello")
  -- paste anywhere; clipboard contains "\r" only.
  ```
</CodeGroup>

<Tip>
  For actual clipboard writes, use `setclipboard`.
</Tip>
