Miscellaneous
identifyexecutor
Returns the name and version of Potassium.
lz4compress
Compresses data
using LZ4 compression.
lz4decompress
Decompresses data
using LZ4 compression, with the decompressed size specified by size
.
messagebox
Creates a message box with the specified text, caption, and flags. Yields until the message box is closed, and returns the user input code.
queue_on_teleport
Queues the specified script to be executed after the player teleports to a different place.
request
Sends an HTTP request using the specified options. Yields until the request is complete, and returns the response.
Url
string
The URL for the request.
Method
string
The HTTP method to use.
Body
string?
The body of the request.
Headers
table?
A table of headers.
Cookies
table?
A table of cookies.
getinternalparent
Returns the internal parent field of the instance
.
getfflag
Returns the value of fflag
setfflag
Sets the value of fflag
to value
setinternalparent
Sets the internal parent field of instance
to newparent
setclipboard
Copies text
to the clipboard.
setfpscap
Sets the in-game FPS cap to fps
. If fps
is 0, the FPS cap is disabled.
Last updated