Universal Script 📌
10.1k Views
1.1k Executions

Universal saveinstance V2

Universal Script 📌
afernandoveiga
afernandoveigaFirst script
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

RECOMENDED TO PUT IN AUTOEXEC FOLDER IN YOUR EXECUTOR WORKS WITH SOLARA Now fully functional working with Delta, Codex, Arceus and some others executors Uses Konstant Decompiler (fastest decompiler working right now) Fixed delta error not decompiling the script Faster than ever on mobile right now but not recommended to use on mobile but if you want that's alright Credits to LlamaScriptz and Konstant (Prob gonna mount it with more UNC v3, don't worry I will give credits and I will prob edit the more UNC v3 so it verifies what functions exists and works then it only adds the functions that doesn't exist or doesn't work)

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

View Raw
--!native
--!optimize 2
--!divine-intellect
-- https://discord.gg/wx4ThpAsmw

local function string_find(s, pattern)
	return string.find(s, pattern, nil, true)
end

local function ArrayToDictionary(t, hydridMode, valueOverride, typeStrict)
	local tmp = {}

	if hydridMode then
		for some1, some2 in next, t do
			if type(some1) == "number" then
				tmp[some2] = valueOverride or true
			elseif type(some2) == "table" then
				tmp[some1] = ArrayToDictionary(some2, hydridMode) -- Some1 is Class, Some2 is Name
			else
				tmp[some1] = some2
			end
		end
	else
		for _, key in next, t do
			if not typeStrict or typeStrict and type(key) == typeStrict then
				tmp[key] = true
			end
		end
	end

	return tmp
end

local ESCAPES_PATTERN = "[&<>\"'\0\1-\9\11-\12\14-\31\127-\255]" -- * The safe way is to escape all five characters in text. However, the three characters " ' and > needn't be escaped in text
-- %z (\0 aka NULL) might not be needed as Roblox automatically converts it to space everywhere it seems like
-- Characters from: https://create.roblox.com/docs/en-us/ui/rich-text#escape-forms
-- * EscapesPattern should be ordered from most common to least common characters for sake of speed
-- * Might wanna use their numerical codes instead of named codes for reduced file size (Could be an Option)
-- TODO Maybe we should invert the pattern to only allow certain characters (future-proof)
local ESCAPES = {


Comments

4
Log in to join the conversation. Login
krytayakachka305's profile picture
krytayakachka3057 months ago

bro i wish there was a script that could copy server scripts :( tell me if u find one that can lol

1
9D8482's profile picture
9D84824 days ago

@krytayakachka305 not possible

1
afernandoveiga's profile picture
afernandoveigaUploader2 years ago

Its used fot copying games, etc. This however cannot copy server scripts

1
sinfulv34's profile picture
sinfulv342 years ago

what is this used for ?

1

Tags

More universal scripts

See all
Script hub
35
1
Approved 30 minutes ago

Script hub

Kitty menu

Universal Script 📌
2.2k
24.3k
Bumped 1 hour ago
Script hub
32
1
Approved 1 hour ago
Universal Script 📌
1.4M
697.2k
Bumped 2 hours ago
Universal Script 📌
46
12
Approved 2 hours ago