You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
registeralias(string) - for example, environment.registeralias("replaceclosure"); now replaceclosure will point to hookfunction
registerall - register all aliases
many of the below names are aliases and will not show up as-is in the environment by default
bytecode stuff:
dumpfunction - returns a proto's Luau bytecode
deserializebytecode - deserialize Luau bytecode to a Proto object
serializeproto - serialize Proto object to Luau bytecode
writefunctioncode - set a proto's Luau bytecode (note that this is super unsafe and thus should either have extensive safety checks or be under a define or flag or option)
setclipboard & getclipboard, both under "allow clipboard" window option and each separately toggleable themselves
Some extra environment functions I want:
The best general reference is probably https://docs.potassium.pro/api-reference/