Skip to content

[Function Suggestion]: setstackhidden #239

Description

@sixsevenblud

Existing Functionality Check

  • I have checked existing Luau and sUNC functions.

Existing Function Explanation

Env spoofing & manually hiding hiding stack levels is outdated.

Rationale

Setstackhidden solves this by being a builtin function that handles stack trace detections without luau implementations

Proposed Function Name

setstackhidden

Summary

https://docs.potassium.pro/api-reference/Closure%20Library/setstackhidden#setstackhidden
Hide a function from call-stack based detections.

Detailed Description

Not sure about any of the details of the function tbh, I just know that its extremely useful and already being implemented in plenty of executors

Example Use Cases

Prevent functions from detecting exploit caller
i.e (game function):
local Caller = debug.info(2, "f")
local Env = getfenv(Caller)

if Env then ... end

setstackhidden(1, true) -- prevents the function from seeing us as the caller
Also im gay

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

New functionAdding a previously missing or new functionStandard ChangesChanges to the standard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions