๐กMiscellaneous
These are uncategorized/miscellaneous functions Wave supports.
Clear Teleport Queue
<void> clearteleportqueue(<void>)Clears all queued teleport requests for the local player.
Alternative:
clear_teleport_queue
Decompile
<string> decompile(<Instance> Script)Decompiles
Scriptand returns the decompiled output.
Example:
local LocalPlayer = game:GetService("Players").LocalPlayer
local PlayerModule = LocalPlayer.PlayerScripts.PlayerModule
local Decompiled = decompile(PlayerModule) -- Decompiles PlayerModule
setclipboard(Decompiled) -- Copies the decompiled output to your clipboardGet Clipboard
<void> getclipboard(<void>)Gets the content from your clipboard.
Alternative:
fromclipboard
Get Fast Flag
<bool> getfflag(<string flagName>)Returns the value of
flagName.
Get FPS Cap
<void> getfpscap(<void>)Gets your FPS in-game.
Get Hidden UI
<Instance> gethui(<void>)Returns the
CoreGuiservice, allowing GUI's being hidden from detection in-game.
Get HWID
<string> gethwid(<void>)Gets the hardware ID (HWID) of the local system.
Alternative:
get_hwid
Get Namecall Method
<string> getnamecallmethod(<void>)Returns the namecall method if the function is called in an
__namecallmetatable hook.
Get Objects
<table> getobjects(<string assetIdOrUri>)Loads instances from
assetIdOrUri.
Get Thread Identity
<void> getthreadidentity(<value> number)Returns the current thread's identification number.
Alternative:
getidentity,getcontext,getthreadcontext,get_thread_context,get_thread_identity
Http Get
<string> httpget(<string url>)Sends an HTTP GET request to
urland returns the response body as a string.
Identify Executor
<string, string> identifyexecutor(<void>)Returns
Waveand the version if the current executor is Wave.
Alternative:
getexecutorname
Is Scriptable
<bool> isscriptable(<Instance> object)Checks if
objectcan be scripted or modified by a script.
Save Instance
<void> saveinstance(<Instance?> Object, <string?> FilePath, <table?> Options)Saves the current game into your workspace folder as a
.RBXLfile.
If
Objectis specified, it will save that object and its descendants as a.RBXMfile.
If
Objectisgame, it will be saved as a.RBXLfile.
If
FilePathis specified, it will write the file to the specified path.
FilePathdoes not need to contain a file extension, only the name of the file.
Options:
Decompile
Boolean
false
If enabled, LocalScripts and ModuleScripts will be decompiled.
DecompileTimeout
Number
10
If the decompilation run time exceeds this value, it will be canceled. This value is in seconds.
DecompileIgnore
Table
{"Chat", "CoreGui", "CorePackages"}
Scripts that are a descendant of the specified services will be saved but not decompiled.
NilInstances
Boolean
false
If enabled, instances parented to nil will be saved.
RemovePlayerCharacters
Boolean
true
If enabled, player characters will not be saved.
SavePlayers
Boolean
false
If enabled, Player objects and their descendants will be saved.
MaxThreads
Number
3
The number of decompilation threads that can run at once. More threads allow for more scripts to be decompiled at the same time.
ShowStatus
Boolean
true
If enabled, Save Instance progress will be displayed.
IgnoreDefaultProps
Boolean
true
If enabled, default properties will not be saved.
IsolateStarterPlayer
Boolean
true
If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
Example - Saving the game to a custom folder:
makefolder("MySaves")
saveinstance(game, "MySaves/Cool Game")Example - Saving a specific object with decompiled scripts:
saveinstance(workspace.CoolModel, "Cool Model", {
Decompile = true
})Set Clipboard
<void> setclipboard(<string> content)Sets
contentto the clipboard.
Alternative:
toclipboaard
Set Fast Flag
<void> setfflag(<string> flag, <string> value)Sets
flag's value tovalue.
You can find a list of all Fast Flags here: FFlag Tracker
Set FPS Cap
<void> setfpscap(<uint> cap)Sets the fps cap to
cap.
Set Namecall Method
<void> setnamecallmethod(<string> method)Sets the current namecall method to the new namecall method. Must be called in a
__namecallmetatable hook.
Set Roblox Clipboard
<void> setrbxclipboard(<string> content)Sets
contentto the clipboard inside of Roblox.
Set Thread Identity
<void> setthreadidentity(<value> number)Sets the current thread's identification
number.
Alternative:
setidentity,setcontext,setthreadcontext,set_thread_context,set_thread_identity
Message Box
<uint> messagebox(<string> text, <string> title, <uint> flag)Creates a message box.
Alternative:
messageboxasync
Flags:
OK
0
OK / Cancel
1
Abort / Retry / Ignore
2
Yes / No / Cancel
3
Yes / No
4
Retry / Cancel
5
Cancel / Try Again / Continue
6
Return Values:
1
OK was clicked.
2
Cancel was clicked.
3
Abort was clicked.
4
Retry was clicked.
5
Ignore was clicked
6
Yes was clicked.
7
No was clicked.
10
Try Again was clicked.
11
Continue was clicked.
Queue On Teleport
<void> queue_on_teleport(<string> script)Queues
scriptto be executed after the next teleport.
Alternative
queueonteleport
Request
<table> request(<table> a1, <bool?> Async)Creates an http request with
a1.
Alternative:
http_request
ZSTD Compress
<string> zstdcompress(<string data>)Compresses
datausing the Zstandard (ZSTD) compression algorithm.
ZSTD Decompress
<string> zstddecompress(<string data>)Decompresses
datathat was compressed with the Zstandard (ZSTD) algorithm.
Last updated