# Misc

## \<function/string> loadstring(\<string> scr, \<string?> chunk = "Nigga")

Translates scr to an LClosure and returns it with the chunk name being the second argument is provided. Returns string if it errors.

## \<bool> checkcaller(\<void>)

{% hint style="danger" %}
This does not check the stack of the function. If you call a game function and it calls checkcaller, it **will** return true.
{% endhint %}

Returns true if the thread if a Fluxus thread.

## \<bool> islclosure(\<function> obj)

Returns true if first argument is an LClosure, false other wise.

## \<bool> iscclosure(\<function> obj)

Exact opposite of islclosure.&#x20;

## \<void> setclipboard(\<string> scr)

Sets the users clipboard to scr.

## \<void> setfflag(\<string> fflag, \<string> val)

Sets fflag value to val. Will error if the fflag does not exist.

## \<string> getfflag(\<string> fflag)

Returns fflag value.

## \<void> getnamecallmethod(\<void>)

Returns the namecall method, or nil if there is none.

## \<?> getcustomasset(\<string> path)

Returns a content string that can used as a fake asset id.

## \<void> saveinstance(\<void>)

{% hint style="danger" %}
Will **not** save scripts.
{% endhint %}

Saves the games map.

## \<string> randomstring(\<int> len)

Returns a random string with the length being len.

## \<bool> setfpscap(\<double?> cap)

Sets ROBLOX fps cap to cap, if nil, it'll be inf.

## \<int> request(\<table> options)

Performs a http request. Fingerprint header is "Flux-Fingerprint"
