Miscellaneous
Identity, FPS, flags, teleport queue, hidden UI and saved instances.
Sets the current thread identity.
setthreadidentity(8)
print(getthreadidentity())
Returns the current thread identity.
print(getthreadidentity(), getidentity(), getthreadcontext())
Reads or overrides the scheduler FPS cap.
setfpscap(240)
print(getfpscap())
Reads or writes a module-local FFlag.
setfflag("DFIntTaskSchedulerTargetFps", "240")
print(getfflag("DFIntTaskSchedulerTargetFps"))
Queues source to run after the next teleport.
queueonteleport("print('teleported')")
Clears the teleport queue.
clearteleportqueue()
Loads a local asset through InsertService and returns its instances.
local objects = GetObjects(game, "models/icon.rbxm")
print(objects[1])
Serializes the game into the workspace. Accepts a file name or a table with FileName.
saveinstance({ FileName = "mygame.rbxm" })
Loads an icon from the Yuari workspace and applies it to the Roblox window; an empty string resets it.
setwindowicon("images/icon.ico")
setwindowicon("")
Returns whether a fast flag is a bool, int, string or unknown type.
print(getfflagtype("FFlagExample"))
Returns the process id of the Roblox client.
print(get_process_identifier())
Clones the CommonUtil module and parents a Constants copy under Common.
local module = createmodule()
print(module, module.Parent)