setrbxclipboard
Copies text to the user’s clipboard.
Syntax
setrbxclipboard(text: string) -> ()
Also available as
set_rbx_clipboard
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | Text to copy. |
Description
The clipboard is shared with the desktop, so this replaces what the user previously copied. Embedded zero bytes are not a supported clipboard-text format. Failure to reach the clipboard raises an error rather than claiming that copying succeeded. This spelling uses the same clipboard path as setclipboard.
Example
setrbxclipboard("Example text")
These are Game executor contracts. Check build requirements and session lifetimes before using them.
