This attempts to fix injection detections NOT bypassing natives etc.
Use leans resource injection method to make resource injection safer. API functions under Lean.API will not be available while inside the resource.
Simulate resource
Execute code within a specific resource context.
Lean.API.Simulate(resourceName, code)
Parameters
resourceName (string) - The name of the resource to inject into
code (string) - The Lua code to execute within the resource
Returns
Example
Lean.API.Simulate("lean", [[
print("hello from " .. GetCurrentResourceName())
]])