Universal Script πŸ“Œ
823 Views
49 Executions

UNC checker NEW

Universal Script πŸ“Œ
9 months 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

unc checker

View Raw
local passes, fails, undefined = 0, 0, 0
local running = 0

local function getGlobal(path)
	local value = getfenv(0)

	while value ~= nil and path ~= "" do
		local name, nextValue = string.match(path, "^([^.]+)%.?(.*)$")
		value = value[name]
		path = nextValue
	end

	return value
end

local function test(name, aliases, callback)
	running += 1

	task.spawn(function()
		if not callback then
			print("⏺️ " .. name)
		elseif not getGlobal(name) then
			fails += 1
			warn("β›” " .. name)
		else
			local success, message = pcall(callback)
	
			if success then
				passes += 1
				print("βœ… " .. name .. (message and " β€’ " .. message or ""))
			else
				fails += 1
				warn("β›” " .. name .. " failed: " .. message)
			end
		end
	
		local undefinedAliases = {}
	
		for _, alias in ipairs(aliases) do
			if getGlobal(alias) == nil then


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
180.1k
1.8M
Bumped 1 hour ago
Key System
Universal Script πŸ“Œ
284
2.2k
Bumped 2 hours ago
Script hub
75
73
Bumped 2 hours ago
Key System

Script hub

Devoid Hub

Universal Script πŸ“Œ
2.7M
2.4M
Bumped 3 hours ago
Key System
Script hub
6.8k
42.2k
Bumped 4 hours ago

Script hub

TLMenu

Script hub
74
87
6 hours ago
Key System