Universal Script 📌
50.6k Views
10 Executions

bad Clonefunction for executors that dont have it

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

its litterally in the name

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Create script

View Raw
--[[
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



Comments

4
Log in to join the conversation. Login
UnnesscaryInventions's profile picture
UnnesscaryInventionsUploader2 years ago(edited)

would be good if you guys commented

3
mxsynry's profile picture
mxsynry2 years ago(edited)

wtfack

1
khanhsky's profile picture
khanhsky2 years ago(edited)

awesome!

1
SandDune's profile picture
SandDune2 years ago(edited)

E

1