Credit

A labelled row with a copy-to-clipboard button, for links, handles and credits.

A label on the left, a copy button on the right. Press it and the payload lands on the clipboard — the tidy way to hand out a Discord invite, your username, or a key, none of which can be selected out of a Roblox TextLabel.

Preview

My Script

v1.0

Search…
Ember v1

Made by

The script's author

Join the Discord

Luau
main:Credit({
  Text = "Made by",
  Description = "The script's author",
  Copy = "bostonstrong567",
})
 
main:Credit({ Text = "Discord", Copy = "discord.gg/7ZCWaCswsF" })
OptionTypeDefaultWhat it does
TextreqstringThe label on the left.
CopystringWhat is written to the clipboard. Falls back to Value, then to Text.
ValuestringAn alias for Copy.
Iconstring"copy"The glyph on the button.
ButtonTextstring"Copy"The button's caption.
DescriptionstringSmall print under the label.
CallbackfunctionCalled with the payload after a copy is attempted.

With neither Copy nor Value, the label itself is copied — so main:Credit({ Text = "discord.gg/7ZCWaCswsF" }) already does the useful thing.

The button reports the outcome in its own caption rather than failing silently: Copied on success, and No clipboard or Failed when the executor exposes no clipboard function or the write is refused. It self-disables for a moment after each press so a leaning finger cannot spam it.

Handle#

Luau
local credit = main:Credit({ Text = "Discord", Copy = "discord.gg/7ZCWaCswsF" })
 
credit:Get()                 -- the current payload
credit:Set("discord.gg/abc") -- change what a press will copy