Universal Script 📌
58.8k Views
142 Executions

UNC and RENC Functions

Universal Script 📌
yofriendfromschool1
yofriendfromschool1Published 50
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

(53%) Adds 60 UNC & RENC Functions (queue_on_teleport is commented out because u need to put that in autoexec) if your executor does not have them. The functions: clonefunction, cloneref. crypt.base64encode, crypt.base64decode, crypt.generatebytes, crypt.generatekey, debug.getinfo, getcallingscript, gethui, getscripts, hookfunction, identifyexecutor, iscclosure, islclosure, isrbxactive, isreadonly, messagebox, newcclosure, queue_on_teleport, all rconsole functions, setclipboard, setfpscap and getfpscap (is commented out in this because it lags), setrbxclipboard, toclipboard, mousefunctions, keyfunctions, request, all drawing functions, getping, getfps, getplayer, getplayers, getdevice, customprint, playanimation, runanimation, gethiddenproperty, sethiddenproperty, isscriptable, setscriptable. NOTES: shout out to luau and vxsty and jLn0n - https://scriptblox.com/script/Universal-Script-Basic-Functions-12707 if your executor does not support getgenv then: https://scriptblox.com/script/Universal-Script-getgenv-13098 if your executor does not support luau mathmatical statements then: https://scriptblox.com/script/Universal-Script-luau-mathmatical-statements-13099 future UNC functions to add: all debug functions, all crypt functions, drawing, all cache functions https://scriptblox.com/script/Universal-Script-MoreUNC-13110

View Raw
local hiddenProperties = {}

function gethiddenproperty(instance, property)
    assert(typeof(instance) == "Instance", "invalid argument #1 to 'gethiddenproperty' (Instance expected, got " .. typeof(instance) .. ") ", 2)
    assert(type(property) == "string", "invalid argument #2 to 'gethiddenproperty' (string expected, got " .. type(property) .. ") ", 2)
    
    local success, value = pcall(function()
        return instance[property]
    end)
    
    if success then
        return value, false
    end
    
    if property == "size_xml" and instance:IsA("Fire") then
        return hiddenProperties[instance] and hiddenProperties[instance][property] or 5, true
    end
    
    error("Unable to get hidden property '" .. property .. "' from " .. instance.ClassName, 2)
end

function sethiddenproperty(instance, property, value)
    assert(typeof(instance) == "Instance", "invalid argument #1 to 'sethiddenproperty' (Instance expected, got " .. typeof(instance) .. ") ", 2) 
    assert(type(property) == "string", "invalid argument #2 to 'sethiddenproperty' (string expected, got " .. type(property) .. ") ", 2)
    
    if property == "size_xml" and instance:IsA("Fire") then
        if not hiddenProperties[instance] then
            hiddenProperties[instance] = {}
        end
        hiddenProperties[instance][property] = value
        return true
    end
    
    local success = pcall(function()
        instance[property] = value
    end)
    
    if success then
        return false
    end


Comments

1
Log in to join the conversation. Login
dolteddown's profile picture
dolteddown7 months ago

this is short enough to the point where i believe that this literally just removes UNC and RENC functions, making your executor 1% unc. do not use

1

Tags

More universal scripts

See all
Universal Script 📌
3.9k
184.7k
Bumped 5 hours ago
Script hub
494
45
6 hours ago
Universal Script 📌
28.7k
666.0k
Bumped 8 hours ago
Script hub
13.9k
2.7k
Bumped 10 hours ago
Key System
Paid
Script hub
263.9k
88.2k
Bumped 11 hours ago
Key System
Universal Script 📌
3.0k
9.9k
Bumped 11 hours ago
Universal Script 📌
754
44
Approved 12 hours ago
Universal Script 📌
787
44
Approved 12 hours ago