Last updated: Aug 1, 20262 min read

Action Button

Action Button triggers a callback function when clicked. It features flash feedback and hover animations.

API Specification#

LUA Script
1Section:CreateButton(name, callback, description)
  • name (string): Button label.
  • callback (function): Ran on click.
  • description (string): Tooltip text.

Complete Code Example#

Here is a complete copy-pasteable script showing how to create a button widget:

LUA Script
1local ValincUi = loadstring(game:HttpGet("https://cdn.vinzhub.com/scripts/Liblery%20Ui/VALINC-QUARTZ/57319f29599c47672f19f8d56d53ffbe/a6b3ccb1f04d1d7d06232a9c5d25779e2af89c12992bebae.lua"))()
2
3local Window = ValincUi:CreateWindow("Button Hub", "play", "gold")
4local Tab = Window:CreateTab("Actions")
5local Section = Tab:CreateSection("Trigger Console")
6
7-- Create a functional button widget
8Section:CreateButton("Kill All Enemies", function()
9 print("Kill All button clicked! Executing loop...")
10 -- Place your Roblox workspace search and hit registers here
11end, "Instantly deals damage to all NPCs within render distance.")