Universal Script 📌
247 Views
470 Executions

UNC Test FIXED

Universal Script 📌
wrexbeys
wrexbeysFirst script
3 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

FIXED: - Fixed a issue that makes WebSocket.Connect tests failed. - Fixed WebSocket library. - Fixed a issue that makes http.request test failed. KNOWN ISSUES: - getscriptclosure failed: :168: attempt to call a Instance value working on fix, hope u guys like

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
Universal Script 📌
7.6k
40.3k
Bumped 15 minutes ago
Universal Script 📌
82
0
Approved 2 hours ago
Key System
Script hub
77
3
Approved 2 hours ago
Universal Script 📌
67
2
Approved 3 hours ago
Universal Script 📌
79
1
Approved 3 hours ago
Key System
Universal Script 📌
113
4
Approved 3 hours ago