Universal Script πŸ“Œ
372 Views
854 Executions

UNC Test FIXED

Universal Script πŸ“Œ
wrexbeys
wrexbeysFirst script
5 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 πŸ“Œ
143
522
Bumped 23 minutes ago
Universal Script πŸ“Œ
1.5k
30.2k
Bumped 24 minutes ago
Script hub
4.1M
558.5k
Bumped 47 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script πŸ“Œ
339.0k
75.0k
Bumped 3 hours ago
Script hub
462.0k
990.4k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!