bad Clonefunction for executors that dont have it
Key RequiredUniversal

bad Clonefunction for executors that dont have it

Universal ScriptUnnesscaryInventionsUnnesscaryInventions 50.6K views 4 executesUpdated Sep 12, 2024
5.0/ 5(3 votes)
30100% Positive
Lua Script•25 lines (393 chars)
--[[
Usage :

local clonefunction;
getgenv().clonefunction = function(new)
    local clonedFunction = function(...)
        return new(...)
    end
    return clonedFunction
end

a = clonefunction(print)
a("hi")

output : hi

]]

local clonefunction;
getgenv().clonefunction = function(new)
    local clonedFunction = function(...)
        return new(...)
    end
    return clonedFunction
end

Features & Information

its litterally in the name
#clonefunction#hookfunction

Community Comments (4)

UnnesscaryInventionsUnnesscaryInventionsSep 12, 2024(edited)

would be good if you guys commented

SandDuneSandDuneSep 13, 2024(edited)

E

khanhskykhanhskySep 13, 2024(edited)

awesome!

mxsynrymxsynrySep 13, 2024(edited)

wtfack

More Scripts for Universal Scripts