
PureUNC V1
Universal Script 📌
Reviewed by QueueSherlockPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Description
PureUNC, or pUNC, is a self contained Luau compatibility layer for Roblox executors with incomplete UNC or sUNC support. (Roblox Studio 69% UNC) It is not an executor. It is meant to be ran before scripts that expect common executor functions. PureUNC keeps native executor functions when they already exist, and fills missing ones with real Luau implementations or useful emulations. Fully implemented functions include Base64 encode and decode, SHA256 hashing, HMAC SHA256, LZ4 compression and decompression, identifyexecutor, getexecutorname, getexecutorversion, getobjects, mouse position helpers, proximity prompt duration helpers, and several utility functions. Emulated functions include Drawing using Roblox GUI objects, filesystem functions using an in game virtual filesystem, rconsole functions using a GUI console, clipboard helpers using native clipboard support or Roblox input methods, input functions, environment helpers, cloneref, cache functions, getgc, getreg, getsenv, getrenv, hidden property helpers, script enumeration, signal helpers, Regex, and other compatibility APIs. Some emulated functions are limited compared to native executor versions. For example getgc only sees objects PureUNC can reach, getconnections only fully knows about tracked signals, thread identity is cached and does not change Roblox security context, and namecall state is emulated. Functions that require real executor or VM support are only used if the executor already provides them. This includes hookfunction, replaceclosure, restorefunction, debug mutation functions, getscriptbytecode, getscriptclosure, getcustomasset, decompile, and similar native features. PureUNC intentionally leaves completely fake or impossible functions unsupported instead of returning fake results. The purpose of pUNC is to let more scripts run on weaker or incomplete executors by providing missing UNC style APIs without pretending to have native functionality that Luau cannot actually provide.
--[[
â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘|â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘|â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘
░█▀█░█░█░█▀▄░█▀▀░█░█░█▀█░█▀▀░░░█░█░▀█░░|░█▀▀░█▀▀░█▀▄░█▀▀░█▀▀░▀█▀░|░█▀▀░█▀▄░█▀█░█▀▀░▀▀█░█░█░█▀▀░▀█▀░█▀▀░█░█░█▀▀░▀█▀░▀█▀░
░█▀▀░█░█░█▀▄░█▀▀░█░█░█░█░█░░░░░▀▄▀░░█░░|░▀▀█░█▀▀░█▀▄░█░█░█▀▀░░█░░|░█░█░█▀▄░█░█░▀▀█░▄▀░░█░█░█░█░░█░░█░█░█▀▄░█▀▀░░█░░░█░░
░▀░░░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░▀░▀▀▀░░░░▀░░▀▀▀░|░▀▀▀░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░|░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀░▀▀▀░░▀░░
â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘|â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘|â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘
-----------------------------------------------------------------------------------------------------------------------
PureUNC V1
By Sergei.dev & Mirabilitas
PureUNC is a compatibility layer that recreates unsupported UNC functions
in executable Luau to improve compatibility across executors.
Some functions are emulated and may not behave identically to native implementations.
PureUNC is not affiliated with or endorsed by UNC.
-----------------------------------------------------------------------------------------------------------------------
]]
local PureUNC = {
Version = "V1",
Functions = {},
Native = {}
}
local Game = game
local RobloxInstance = Instance
local RobloxTypeof = typeof
local function Service(Name)
local Success, Value = pcall(Game.GetService, Game, Name)
return Success and Value or nil
end
local RunService, Players, UserInputService, HttpService, UGCValidationService, ReplicatedFirst, StarterGui, StudioService, CoreGui, VirtualInput =
Service("RunService"),
Service("Players"),
Service("UserInputService"),
Service("HttpService"),
Service("UGCValidationService"),
Service("ReplicatedFirst"),








W