setenhancedluau

Toggles the hiddenservice compatibility hook.

Syntax

Signature
setenhancedluau(Enabled: boolean) -> ()

Aliases

This function has no aliases.

Parameters

ParameterTypeDescription
EnabledbooleanWhether the hiddenservice compatibility branch is enabled.

Returns

TypeDescription
()None.

Notes

Only that compatibility branch checks this flag. Existing HTTP helpers and output forwarding stay installed.

Example

Luau
setenhancedluau(true)