hi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!optimize 2 | |
local __DARKLUA__ | |
__DARKLUA__ = { | |
cache = {}, | |
load = function(m) | |
if not __DARKLUA__.cache[m] then | |
__DARKLUA__.cache[m] = { | |
c = __DARKLUA__[m](), | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!optimize 2 | |
-- originally from: https://en.wikipedia.org/wiki/Fast_inverse_square_root | |
-- ported to luau | |
local _buf = buffer.create(8) | |
local function Q_rsqrt(value: number): number | |
buffer.writef32(_buf, 0, value) | |
local int_value = buffer.readu32(_buf, 0) -- converts `value` into uint32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local complex_path = `workspace[""]["Fanum Tax"].Health` | |
for raw_path_chunk in string.gmatch(complex_path, "([^.%[%]]+)") do | |
local path_chunk = string.match(raw_path_chunk, "\"([%s%S]*)\"") or raw_path_chunk | |
print(raw_path_chunk, path_chunk) | |
end |
https://celeryrblx.github.io/lua/rnet/
if u still wanna use it click here.