# Cleanres

**Usage**:

```csharp
Cleanres(string res)
```

**Example**:

````csharp
string cleanedScript = Api.misc.Cleanres("```lua\ngame:GetService('Players').LocalPlayer:Kick('Injected!');\n```");
Console.WriteLine(cleanedScript); // "game:GetService('Players').LocalPlayer:Kick('Injected!');"
````
