Skip to content

Misc. 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 Roblox 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

Always returns true. You should just remove calls to this in your scripts, non-luau is never coming back.

Set Nonreplicated Property

<void> setnonreplicatedproperty(<Instance> obj, <string> prop, <T> value)  

Sets the prop property of obj, not replicating to the server. Useful for anticheat bypasses.

Warning

This function is broken!

Get Special Info

<table> getspecialinfo(<Instance> obj)  

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

MeshParts UnionOperations Terrain
PhysicsData AssetId SmoothGrid
InitialSize ChildData MaterialColors
FormFactor
InitialSize
MeshData
PhysicsData

Save Instance

<void> saveinstance(<table> t)  

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

Option Value
mode optimized / full / scripts
noscripts true / false
scriptcache true / false
decomptype legacy / new
timeout any number

Warning

decomptype has been deprecated.

Message Box

<void> messagebox(<string> text, <string> caption, <number> style)

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

Style Number
OK 0
OK / Cancel 1
Abort / Retry / Ignore 2
Yes / No / Cancel 3
Yes / No 4
Retry / Cancel 5
Cancel / Try Again / Continue 6
Code Description
1 The OK button was selected
2 The Cancel button was selected.
3 The Abort button was selected.
4 The Retry button was selected.
5 The Ignore button was selected.
6 The Yes button was selected.
7 The No button was selected.
10 The Try Again button was selected.
11 The Continue button was selected.