Miscellaneous Functions

Set Clipboard

<void> setclipboard(<string> value)  

Sets value to the clipboard.

Set Fast Flag

<void> setfflag(<string> FFlag, <string> Value)

Sets FFlag with Value. Must be run before the game loads, auto execute + auto launch recommended. FFlag Watcher

Example

setfflag('NewInGameMenuForcedUserIds', tostring(game.Players.LocalPlayer.UserId)) -- New Menu https://fflag.eryn.io/history/PCDesktopClient/FStringNewInGameMenuForcedUserIds
setfflag('UseRoactPlayerList3', 'False') -- Old player list https://fflag.eryn.io/history/PCDesktopClient/FFlagUseRoactPlayerList3

Get Namecall Method

<string> getnamecallmethod(<void>)

Returns the namecall method if the function is called in an __namecall metatable hook.

Set Namecall Method

<void> setnamecallmethod(<string> method)

Sets the current namecall method to the new namecall method. Must be called in a __namecall metatable hook.

Is LuaU

<bool> isluau(<void>)

Returns true if the game is running Luau.

Warning: Deprecated, Luau is enabled on all games now.

Get Special Info

<table> getspecialinfo(<Instance> obj)  

Gets a list of special properties for MeshParts, UnionOperations, and Terrain instances.

MeshPartsUnionOperationsTerrain
PhysicsDataAssetIdSmoothGrid
InitialSizeChildDataMaterialColors
FormFactor
InitialSize
MeshData
PhysicsData

Save Instance

<void> saveinstance(<table> t)  

Saves the current game into your workspace folder. You can use table t to customize options for this.

OptionValue
modeoptimized / full / scripts
noscriptstrue / false
scriptcachetrue / false
timeoutany number

Message Box

<uint> messagebox(<string> text, <string> caption, <uint> flags)

Creates a message box with parameters text, caption and style.

StyleNumber
OK0
OK / Cancel1
Abort / Retry / Ignore2
Yes / No / Cancel3
Yes / No4
Retry / Cancel5
Cancel / Try Again / Continue6
CodeDescription
1The OK button was selected
2The Cancel button was selected.
3The Abort button was selected.
4The Retry button was selected.
5The Ignore button was selected.
6The Yes button was selected.
7The No button was selected.
10The Try Again button was selected.
11The Continue button was selected.