Utility
Miscellaneous utility functions for common tasks like clipboard management, executor identification, window state, and more.
identifyexecutor
Returns the name and version of the executor.
Aliases: getexecutorname, whatexecutor
identifyexecutor() -> string, stringReturns:
string— Executor name (e.g.,"Volcano")string— Executor version
Example
local name, version = identifyexecutor()
print(name, version) --> "Volcano" "1.0.0"gethwid
Returns a unique hardware identifier string for the current machine.
gethwid() -> stringExample
local hwid = gethwid()
print("HWID:", hwid)randomstring
Generates a random alphanumeric string of the specified length.
randomstring(length: number) -> string| Parameter | Type | Description |
|---|---|---|
length | number | The desired string length |
Example
local str = randomstring(16)
print(str) --> e.g. "a8Fb3kL9mNp2qR7x"info
Prints system and executor information to the output.
info() -> voidExample
info() -- Prints executor infomessagebox
Displays a Windows MessageBox dialog. Returns the button clicked.
messagebox(text: string, caption: string?, type: number?) -> number| Parameter | Type | Default | Description |
|---|---|---|---|
text | string | — | Message body text |
caption | string? | "" | Window title |
type | number? | 0 | MessageBox type flags |
Common Type Values
| Value | Buttons |
|---|---|
0 | OK |
1 | OK / Cancel |
4 | Yes / No |
3 | Yes / No / Cancel |
Example
local result = messagebox("Do you want to continue?", "Confirm", 4)
if result == 6 then -- 6 = Yes
print("User clicked Yes")
endsetfpscap
Sets the FPS (frames per second) cap. Pass 0 to uncap.
Aliases: unlockfps, fpsunlock, fpsunlocker, setfps, setfpsmax, setfpslimit
setfpscap(fps: number) -> void| Parameter | Type | Description |
|---|---|---|
fps | number | The FPS cap to set (0 to uncap) |
Example
setfpscap(240) -- Cap at 240 FPS
setfpscap(0) -- Uncap FPSisrbxactive
Returns true if the Roblox game window is currently focused/active.
Aliases: isgameactive, isrobloxactive, isfocused, iswindowactive
isrbxactive() -> booleanExample
if isrbxactive() then
print("Game window is focused")
else
print("Game window is not focused")
endsetclipboard
Copies data to the system clipboard.
Aliases: setrbxclipboard, toclipboard
setclipboard(data: string) -> void| Parameter | Type | Description |
|---|---|---|
data | string | The text to copy to clipboard |
Example
setclipboard("Hello, clipboard!")
print("Text copied!")isnetworkowner
Returns true if the local client is the network owner of the given BasePart.
isnetworkowner(part: BasePart) -> boolean| Parameter | Type | Description |
|---|---|---|
part | BasePart | The part to check ownership of |
Example
local part = workspace.Part
if isnetworkowner(part) then
print("We own this part's physics")
endgetfflag
Returns the value of a Roblox Fast Flag.
Aliases: getflag, get_fflag
getfflag(name: string) -> string| Parameter | Type | Description |
|---|---|---|
name | string | The FFlag name |
Example
local value = getfflag("TaskSchedulerTargetFps")
print("Target FPS:", value)setfflag
Sets the value of a Roblox Fast Flag.
Aliases: setflag, set_fflag
setfflag(name: string, value: string) -> void| Parameter | Type | Description |
|---|---|---|
name | string | The FFlag name |
value | string | The value to set |
Example
setfflag("TaskSchedulerTargetFps", "240")Global Variables
Volcano_Loaded
A boolean that is true once Volcano has fully initialized.
if Volcano_Loaded then
print("Volcano is ready!")
endIsVolcano
A boolean that is true when the script is running inside Volcano.
if IsVolcano then
print("Running in Volcano")
endshared
A shared table accessible across all scripts. Useful for cross-script communication.
shared.myValue = 42
-- In another script:
print(shared.myValue) --> 42_G
The global table shared between all scripts. Similar to shared.
_G.counter = (_G.counter or 0) + 1
print("Script executed", _G.counter, "times")