cloneref
Creates a safe reference to protected instances
cloneref returns a reference to an Instance. This can help avoid weak table styled detections.
cloneref returns a reference clone of an Instance. The returned object behaves identically to the original but is not strictly equal (==) to it.
This is commonly used to safely interact with services such as game.CoreGui, making weak-table style attacks fail.
Parameters
| Parameter | Description |
|---|---|
object |
The Instance to clone a safe reference from. |