repo
stringclasses
302 values
file_path
stringlengths
18
241
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
76
697k
tokens
int64
10
271k
Roblox/dash
Roblox-dash-5a885be/src/union.lua
luau
.lua
local Dash = script.Parent local None = require(Dash.None) local Types = require(Dash.Types) --[=[ Returns a new Map by merging all keys in the two Maps in left-to-right order. The `None` symbol can be used to remove existing elements. @param map1 The first Map to union @param map2 The second Map to union @retu...
162
Roblox/dash
Roblox-dash-5a885be/src/values.lua
luau
.lua
local Dash = script.Parent local Types = require(Dash.Types) local insert = table.insert --[=[ Returns an array of the values in the _input_ table. If the input is an array, ordering is preserved. If the input is a Map, elements are returned in an arbitrary order. @param input The table to extract values from. ...
122
Roblox/dash
Roblox-dash-5a885be/src/zip.lua
luau
.lua
--[=[ Returns an iterator over two given arrays that produces pairs of elements with the same index from both arrays. The iterator stops when the shortest array ends, i.e. when it encounters nil in one of the arrays. @param array1 The first array to zip. @param array2 The second array to zip. @return An iterator...
188
Roblox/dash
Roblox-dash-5a885be/suites/jest-bench.config.lua
luau
.lua
return { displayName = "Dash", testMatch = { "**/benchmark/*.bench", }, }
24
Roblox/dash
Roblox-dash-5a885be/suites/run-tests.lua
luau
.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage") local processServiceExists, ProcessService = pcall(function() return game:GetService("ProcessService") end) local Packages = ReplicatedStorage:FindFirstChild("Packages") if not Packages or not Packages:FindFirstChild("Dev") then game:GetService("TestServ...
234
Roblox/dash
Roblox-dash-5a885be/tests/customMatchers.lua
luau
.lua
-- Checks that toString represenation of the error includes given message local function toThrowWithMessage(_, received, errorMessage) local ok, error = pcall(received) local pass = not ok and string.find(error:toString(), errorMessage) ~= nil local message if pass then message = function() return `expected {e...
130
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/.lune/.typedefs/fs.luau
luau
.luau
--#selene: allow(unused_variable) export type MetadataKind = "file" | "dir" | "symlink" --[=[ @interface MetadataPermissions @within FS Permissions for the given file or directory. This is a dictionary that will contain the following values: * `readOnly` - If the target path is read-only or not ]=] export typ...
1,777
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/.lune/test.luau
luau
.luau
--!strict --#selene: allow(incorrect_standard_library_use) -- This is kind of a nightmare, but it gives intellisense without -- having to disable type checking. type Fs = typeof(require(".lune/.typedefs/fs")) type Process = typeof(require(".lune/.typedefs/process")) local fs = (require :: any)("@lune/fs") :: Fs local...
472
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/blake2b/init.luau
luau
.luau
--!strict --!native --!optimize 2 --- The front half of the initial values used for the hasher state. local IV_FRONT = { 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 } --- The back half of the initial values used for the hasher state. local IV_BACK = { 0xf3bcc908, 0x84...
9,500
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/blake2s/init.luau
luau
.luau
--!strict --!native --!optimize 2 --- The initial values used for the hasher state. local IV = { 0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19 } --- A list of offsets to use for each round in the compression algorithm. local SIGMA = { { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...
3,317
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/md5/init.luau
luau
.luau
--!strict --!native --!optimize 2 --- Precomputed MD5 constants. You may compute these manually --- with `floor(2^32 * abs(sin(i + 1)))` from 0 to 63. --stylua: ignore local K = { 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, 0x698098d8, 0x8b44f7af, 0xffff5...
2,072
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/sha1/init.luau
luau
.luau
--!strict --!native --!optimize 2 --- An allocation that is reused for blocks during hashing local BLOCK = table.create(80) --[=[ Processes `message` from byte `start` to byte `finish` using `digest`. It is assumed that `(finish - start) % 64 == 0`. ]=] local function processBlocks(digest: { number }, message: stri...
1,483
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/sha224/init.luau
luau
.luau
--!strict --!native --!optimize 2 --stylua: ignore local K = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2d...
2,073
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/sha256/init.luau
luau
.luau
--!strict --!native --!optimize 2 --stylua: ignore local K = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2d...
2,081
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/sha384/init.luau
luau
.luau
--!strict --!native --!optimize 2 local BLOCK_FRONT = table.create(80) local BLOCK_BACK = table.create(80) --stylua: ignore local K_FRONT = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80de...
5,398
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/sha512/init.luau
luau
.luau
--!strict --!native --!optimize 2 local BLOCK_FRONT = table.create(80) local BLOCK_BACK = table.create(80) --stylua: ignore local K_FRONT = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80de...
5,444
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/modules/xxhash32/init.luau
luau
.luau
--!strict --!native --!optimize 2 local PRIME_1 = 0x9e3779B1 local PRIME_2 = 0x85ebca77 local PRIME_3 = 0xc2B2ae3d local PRIME_4 = 0x27d4eb2f local PRIME_5 = 0x165667b1 --[=[ Calculates `a * b` mod 32 ]=] local function mult(a: number, b: number): number local ah, al = bit32.rshift(a, 16), a % 2 ^ 16 local bh, ...
1,139
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/blake2b.luau
luau
.luau
local blake2b = require("../modules/blake2b") local t = os.clock() local startgc = gcinfo() assert( blake2b("abc", 64) == "ba80a53f981c4d0d6a2797b69f12f6e94c212f14685ac4b74b12bb6fdbffa2d17d87c5392aab792dc252d5de4533cc9518d38aa8dbf1925ab92386edd4009923", "(BLAKE2b) abc hash does not match" ) --stylua: ignore sta...
5,440
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/blake2s.luau
luau
.luau
local blake2s = require("../modules/blake2s") local t = os.clock() local startgc = gcinfo() assert( blake2s("abc", 32) == "508c5e8c327c14e2e1a72ba34eeb452f37458b209ed63a294d999b4c86675982", "(BLAKE2s) abc hash does not match" ) assert( blake2s("abc", 32, "508c5e8c327c14e2e1a72ba34eeb452f") == "1e3ed5414ca157217c...
2,654
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/md5.luau
luau
.luau
local md5 = require("../modules/md5") local t = os.clock() local startgc = gcinfo() local hash, digest = md5("abc") assert(hash == "900150983cd24fb0d6963f7d28e17f72", "(MD5) abc hash does not match") assert(digest[1] == 0x90015098, "(MD5) first word of abc hash was incorrect") assert(digest[2] == 0x3cd24fb0, "(MD5) s...
997
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/sha1.luau
luau
.luau
local sha1 = require("../modules/sha1") local t = os.clock() local startgc = gcinfo() local hash, digest = sha1("abc") assert(hash == "a9993e364706816aba3e25717850c26c9cd0d89d", "(SHA-1) abc hash does not match") assert(digest[1] == 0xa9993e36, "(SHA-1) first word of abc hash was incorrect") assert(digest[2] == 0x470...
1,120
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/sha224.luau
luau
.luau
local sha224 = require("../modules/sha224") local t = os.clock() local startgc = gcinfo() local hash, digest = sha224("abc") assert(hash == "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7", "(SHA-224) abc hash does not match") assert(digest[1] == 0x23097d22, "(SHA-224) first word of abc hash was incorrect")...
1,303
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/sha256.luau
luau
.luau
local sha256 = require("../modules/sha256") local t = os.clock() local startgc = gcinfo() local hash, digest = sha256("abc") assert(hash == "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad", "(SHA-256) abc hash does not match") assert(digest[1] == 0xba7816bf, "(SHA-256) first word of abc hash was inc...
1,376
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/sha384.luau
luau
.luau
local sha384 = require("../modules/sha384") local t = os.clock() local startgc = gcinfo() local hash, digest = sha384("abc") assert( hash == "cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7", "(SHA-384) abc hash does not match" ) assert(digest[1] == 0xcb00753f, "(SHA...
1,890
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/sha512.luau
luau
.luau
local sha512 = require("../modules/sha512") local t = os.clock() local startgc = gcinfo() local hash, digest = sha512("abc") assert( hash == "ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f", "(SHA-512) abc hash does not match" ) ass...
2,172
Dekkonot/luau-hashing
Dekkonot-luau-hashing-81061a4/tests/xxhash32.luau
luau
.luau
local xxhash32 = require("../modules/xxhash32") local t = os.clock() local startgc = gcinfo() assert(xxhash32("abc") == 0x32d153ff, "(XXH32) abc hash does not match") -- 852579327 assert(xxhash32("abc", 0x32d153ff) == 0x9041e0d8, "(XXH32) abc hash with seed does not match") assert(xxhash32("") == 0x02cc5d05, "(XXH32...
1,057
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local tiniest_plugin = require("./tiniest_plugin") type Context = DescribeContext | RunContext type DescribeContext = { type: "describe", labels: {string}, add_test: (Test) -> () } type RunContext = { type: "run" } export type ErrorReport = { type: "tiniest...
1,404
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_expect.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local tiniest_quote = require("./tiniest_quote") local tiniest_expect = {} type Context = { target: unknown, test: string, params: {unknown} } local context: Context = { target = nil, test = "", params = {} } local function fail( message: string? ): never...
1,098
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_for_roblox.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local tiniest_expect = require("./tiniest_expect") local tiniest_time = require("./tiniest_time") local tiniest_pretty = require("./tiniest_pretty") local tiniest = require("./tiniest") export type Options = { snapshot_path: string?, save_snapshots: boolean?, pr...
665
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_plugin.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict export type Plugin = { is_tiniest_plugin: true } local tiniest_plugin = {} function tiniest_plugin.configure( plugins: {any}? ) if plugins ~= nil then for index, plugin in plugins do if not plugin.is_tiniest_plugin then error(`sanity check: plugin #{in...
186
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_pretty.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local tiniest_plugin = require("./tiniest_plugin") local tiniest = require("./tiniest") type Test = tiniest.Test type TestRunResult = tiniest.TestRunResult type RunResult = tiniest.RunResult export type Options = { plugins: nil | {tiniest_plugin.Plugin}, disable_...
1,820
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_quote.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local function tiniest_quote( x: unknown, given_indent_amount: number? ): string if type(x) == "nil" or type(x) == "number" or type(x) == "boolean" or type(x) == "userdata" then return tostring(x) elseif type(x) == "string" then return string.fo...
378
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_snapshot.luau
luau
.luau
-- From dphfox/tiniest, licensed under BSD3 --!strict local tiniest_quote = require("./tiniest_quote") local tiniest = require("./tiniest") type Test = tiniest.Test export type TestRunResult = tiniest.TestRunResult & { num_snapshots_updated: number, num_snapshots_obsolete: number } export type RunResult = tiniest.R...
1,293
dphfox/tiniest
dphfox-tiniest-ba9d9ef/src/tiniest_time.luau
luau
.luau
-- From dphfox/tiniest, licenced under BSD --!strict local tiniest = require("./tiniest") local tiniest_pretty = require("./tiniest_pretty") type Test = tiniest.Test export type TestRunResult = tiniest.TestRunResult & { duration: number } export type RunResult = tiniest.RunResult & { duration: number } export type...
642
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/benchmarks/bench.luau
luau
.luau
return function(name: string, test: () -> ()) local start = os.clock() local iter = 0 while os.clock() - start < 2 do iter += 1 test() end local endTime = os.clock() local elapsed = endTime - start print(`{name}: {elapsed / iter * 1000 * 1000} us/iter`) end
82
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/benchmarks/complex.luau
luau
.luau
local signals = require("../src") local bench = require("./bench") local computed = signals.computed local effect = signals.effect local signal = signals.signal local dimensions = { 1, 10, 100 } for _, w in dimensions do for _, h in dimensions do bench(`propagate: {w} * {h}`, function() local src, setSrc = sig...
184
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/benchmarks/propagate.luau
luau
.luau
local signals = require("../src") local bench = require("./bench") local computed = signals.computed local effect = signals.effect local signal = signals.signal local dimensions = { 1, 10, 100 } for _, w in dimensions do for _, h in dimensions do bench(`propagate: {w} * {h}`, function() local src, setSrc = sig...
168
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/src/init.luau
luau
.luau
local system = require("@self/system") local createReactiveSystem = system.createReactiveSystem local SubscriberFlags = system.SubscriberFlags type Subscriber = system.Subscriber type Dependency = system.Dependency type SubscriberFlags = system.SubscriberFlags local Computed = SubscriberFlags.Computed local Effect =...
1,319
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/src/system.luau
luau
.luau
export type Dependency = { subs: Link?, subsTail: Link?, } export type Subscriber = { flags: SubscriberFlags, deps: Link?, depsTail: Link?, } export type Link = { dep: Dependency | (Dependency & Subscriber), sub: Subscriber | (Dependency & Subscriber), prevSub: Link?, nextSub: Link?, nextDep: Link?, } type...
2,979
Nicell/alien-signals-luau
Nicell-alien-signals-luau-db7a368/tests/init.luau
luau
.luau
require("@self/computed.spec") require("@self/effect.spec") require("@self/effectScope.spec") require("@self/untrack.spec") require("@self/issue_48.spec") require("@self/topology.spec") print("All tests passed!")
51
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/init.luau
luau
.luau
--!native --!optimize 2 -- stylua: ignore local HEX_TO_BINARY = { ["0"] = "0000", ["1"] = "0001", ["2"] = "0010", ["3"] = "0011", ["4"] = "0100", ["5"] = "0101", ["6"] = "0110", ["7"] = "0111", ["8"] = "1000", ["9"] = "1001", ["a"] = "1010", ["b"] = "1011", ["c"] = "1100", ["d"] = "1101", ["e"] = "1110...
6,996
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/lune/verify-package.luau
luau
.luau
local fs = require("@lune/fs") local serde = require("@lune/serde") local wally = serde.decode("toml", fs.readFile("wally.toml")) local npm = serde.decode("json", fs.readFile("package.json")) local wally_name = wally.package.name local npm_name = string.match(npm.name, "^@(%w+/%w+)$") assert(npm_name == wally_name, "...
420
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/test.luau
luau
.luau
local t1 = os.clock() require("./tests/basic") local d1 = os.clock() - t1 print(string.format("Basic competency tests finished in %.3fs", d1)) local t2 = os.clock() require("./tests/bitwise/standard") require("./tests/bitwise/rshift") require("./tests/bitwise/arshift") require("./tests/bitwise/rrotate") require("./tes...
192
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/arithmetic/add.luau
luau
.luau
local int64 = require("../../init") local max = int64.from_pair(0xFFFFFFFF, 0xFFFFFFFF) local zero = int64.from_u32(0) local one = int64.from_u32(1) local added_max = int64.add(max, max) assert(int64.to_hex_string(added_max) == "fffffffffffffffe", "max value + max value was not correct") assert(added_max.x == 0b11111...
892
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/arithmetic/mult.luau
luau
.luau
local int64 = require("../../init") local test_1_a = int64.mult(int64.from_pair(0, 3), int64.from_pair(0, 5)) assert(int64.to_hex_string(test_1_a) == "000000000000000f", "test 1 a (3 * 5) failed") local test_1_b = int64.mult(int64.from_pair(0, 5), int64.from_pair(0, 3)) assert(int64.to_hex_string(test_1_b) == "0000000...
2,116
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/arithmetic/pow.luau
luau
.luau
local int64 = require("../../init") local test_1 = int64.pow(int64.from_pair(0, 3), 4) assert(int64.to_hex_string(test_1) == "0000000000000051", "pow test 1 (3 ^ 4) failed") local test_2 = int64.pow(int64.from_pair(0, 5), 1) assert(int64.to_hex_string(test_2) == "0000000000000005", "pow test 2 (5 ^ 1) failed") local...
1,191
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/arithmetic/sub.luau
luau
.luau
local int64 = require("../../init") local max = int64.from_pair(0xFFFFFFFF, 0xFFFFFFFF) local zero = int64.from_u32(0) local one = int64.from_u32(1) local subbed_max = int64.sub(max, max) assert(int64.to_hex_string(subbed_max) == "0000000000000000", "max value - max value was not correct") assert(subbed_max.x == 0b00...
1,144
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/basic.luau
luau
.luau
local int64 = require("../init") local PADDING_STRING = "\a\b\f\n\r\t\v\255\69\127" -- Constants assert(int64.ZERO.x == 0, "int64.ZERO x component was wrong") assert(int64.ZERO.y == 0, "int64.ZERO y component was wrong") assert(int64.ZERO.z == 0, "int64.ZERO z component was wrong") assert(int64.ONE.x == 0, "int64.O...
9,324
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/arshift.luau
luau
.luau
local int64 = require("../../init") local arshift_n = int64.from_pair(0x80000000, 0x00000000) for i = 0, 63 do local new = int64.arshift(arshift_n, i) local expected_bin = string.rep("1", i) .. "1" .. string.rep("0", 63 - i) assert(int64.to_bin_string(new) == expected_bin, `{int64.to_hex_string(arshift_n)} >> {i} w...
4,118
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/lrotate.luau
luau
.luau
local int64 = require("../../init") local lrotate_n = int64.from_pair(0x80000000, 0x00000000) assert(int64.lrotate(lrotate_n, 0) == lrotate_n, `{int64.to_hex_string(lrotate_n)} LROT 0 was wrong`) for i = 1, 63 do local new = int64.lrotate(lrotate_n, i) local expected_bin = string.rep("0", 64 - i) .. "1" .. string.r...
4,259
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/lshift.luau
luau
.luau
local int64 = require("../../init") local lshift_n = int64.from_pair(0x00000000, 0x00000001) for i = 0, 63 do local new = int64.lshift(lshift_n, i) local expected_bin = string.rep("0", 63 - i) .. "1" .. string.rep("0", i) assert(int64.to_bin_string(new) == expected_bin, `{int64.to_hex_string(lshift_n)} << {i} was w...
8,212
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/rrotate.luau
luau
.luau
local int64 = require("../../init") local rrotate_n = int64.from_pair(0x80000000, 0x00000000) for i = 0, 63 do local new = int64.rrotate(rrotate_n, i) local expected_bin = string.rep("0", i) .. "1" .. string.rep("0", 63 - i) assert(int64.to_bin_string(new) == expected_bin, `{int64.to_hex_string(rrotate_n)} RROT {i}...
4,230
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/rshift.luau
luau
.luau
local int64 = require("../../init") local rshift_n = int64.from_pair(0x80000000, 0x00000000) for i = 0, 63 do local new = int64.rshift(rshift_n, i) local expected_bin = string.rep("0", i) .. "1" .. string.rep("0", 63 - i) assert(int64.to_bin_string(new) == expected_bin, `{int64.to_hex_string(rshift_n)} >>< {i} was ...
5,858
Dekkonot/int64-luau
Dekkonot-int64-luau-5c604a2/tests/bitwise/standard.luau
luau
.luau
local int64 = require("../../init") local band_1 = int64.band(int64.from_pair(0, 0), int64.from_pair(0, 0)) assert(int64.to_hex_string(band_1) == "0000000000000000", "band_1 was wrong") local band_2 = int64.band(int64.from_pair(0, 1), int64.from_pair(0, 1)) assert(int64.to_hex_string(band_2) == "0000000000000001", "b...
3,639
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Context/DateTime.luau
luau
.luau
--!strict --[[ Lune's `datetime` module uses lowerCamelCase, whereas Roblox's `DateTime` module uses UpperCamelCase. To allow for Roblox-style usage of DateTime objects, this module wraps Lune's `datetime` module to add Roblox-style properties and methods through the use of metatables. This module may need to be ...
164
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Context/Debug.luau
luau
.luau
--!strict --[[ Jest depends on `loadmodule` existing on the `debug` api. On Roblox, it's locked behind a feature flag FFlagDebugLoadModule, which is not enabled by default. In Lune, it doesn't exist at all, so this module creates the interface for it but is not implemented. The _loader function needs to be overrid...
162
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Utils/Path.luau
luau
.luau
--!strict --[[ Paths use \ on Windows and / on Unix. Lune doesn't have a built-in path assembler, so this script is used to provide a consistent path format for all platforms. --]] local process = require("@lune/process") local Path = {} function Path.join(...) local path = table.concat({ ... }, "/") if process...
101
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Utils/ReducedInstance.luau
luau
.luau
--!strict --[[ Lune instances are tables containing a reference to the instance, but Lune creates different tables even for the same instance. Jest's caching behavior depends on the instance always being the same to look it up by key, so this function serves to always return the same "wrapped" instance when given ...
464
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Utils/Runtime.luau
luau
.luau
--!strict --[[ Provides a connection to a loop that runs every frame. This is used in the custom Heartbeat implementation in lune/test.luau --]] local task = require("@lune/task") type Listener = { callback: (number) -> (), disconnected: boolean, } local Runtime = {} Runtime._running = false Runtime._listeners ...
288
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/Utils/runShellScript.luau
luau
.luau
--[[ On Unix-like systems, shell scripts can be run directly. On Windows, shell scripts need to be run by calling a shell executable, such as Git Bash. This script assumes the Windows machine has a shell runner installed and available in the PATH. - For example, Git Bash can be installed and C:\Program Files\Git\b...
162
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/build.luau
luau
.luau
--!strict --[[ Builds the release artifacts of the finite state machine. Used by CI to upload to various release targets. Since the parent folder is named `lune`, the `lune` cli will automatically look in this directory for scripts to run. Usage (from project directory): lune run build 0-0-0 Where 0-0-0 is th...
654
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/lune/test.luau
luau
.luau
--!strict --[[ Lune script to run tests on a given project.json file. By default, it uses `test.project.json`, but can be passed a different file as an argument. Since the parent folder is named `lune`, the `lune` cli will automatically look in this directory for scripts to run. Usage (from project directory): ...
1,419
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/src/StateQ/Modules/Logger.luau
luau
.luau
--!strict --[[ A lightweight, strictly typed logger class designed with a minimal set of requirements for the StateQ project, so it is not feature rich. This logger class includes a few features such: - A concept of log levels (Debug, Info, Warning, Error): These levels allow for categorizing the importance of the ...
1,579
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/src/StateQ/Modules/Signal.luau
luau
.luau
--!strict -------------------------------------------------------------------------------- -- Batched Yield-Safe Signal Implementation -- -- This is a Signal class which has effectively identical behavior to a -- -- normal RBXScriptSignal, with the only difference being a couple...
1,218
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/src/StateQ/Modules/ThreadQueue.luau
luau
.luau
--!strict --[[ ThreadQueue is a task scheduler and rate limiter that allows callbacks to be queued to be executed, yielding the requesting thread until the callback has returned. Provides similar functionality to the NodeJS module Bottleneck (https://www.npmjs.com/package/bottleneck) however, it exposes its sched...
727
BusyCityGuy/finite-state-machine-luau
BusyCityGuy-finite-state-machine-luau-be04124/src/TestService/Source/run.server.luau
luau
.luau
local TestService = game:GetService("TestService") local Jest = require(TestService.Source.DevPackages.Jest) local runCLI = Jest.runCLI -- Jest.TestBootstrap:run({ TestService.Source.Tests }) print("Checking for ProcessService...") local processServiceExists, ProcessService = pcall(function() -- selene: allow(incor...
237
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CaptureModeModuleStarterScript.luau
luau
.luau
local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_RobloxGui_0 = l_CoreGui_0:WaitForChild("RobloxGui"); require(l_CorePackages_0.UIBlox).init((require(l_RobloxGui_0:WaitForChild("Modules").UIBloxInGameConfig))); local v3 = game:DefineFastFlag("FeedbackModul...
424
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/AdTeleportPrompt.luau
luau
.luau
local l_AdService_0 = game:GetService("AdService"); local v1 = require(game:GetService("CoreGui"):WaitForChild("RobloxGui").Modules.Ads.AdTeleportPromptHandler); local v2 = nil; onPortalPrompt = function(v3, v4, v5) if not v2 or not v2.hasActiveWindow then v2 = v1.new(v4, v3); if v2 == nil then ...
263
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/AppChatMain.luau
luau
.luau
local l_CorePackages_0 = game:GetService("CorePackages"); local l_CoreGui_0 = game:GetService("CoreGui"); local _ = l_CoreGui_0:WaitForChild("RobloxGui"); local v3 = require(l_CorePackages_0.Packages.React); local v4 = require(l_CorePackages_0.Packages.ReactRoblox); local v5 = require(l_CoreGui_0.RobloxGui.Modules.Apol...
248
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/AvatarChatDebugVisualization.luau
luau
.luau
local l_RobloxGui_0 = game:GetService("CoreGui"):WaitForChild("RobloxGui"); local l_game_Service_0 = game:FindService("FaceAnimatorService"); local l_RunService_0 = game:GetService("RunService"); local l_Players_0 = game:GetService("Players"); local l_game_EngineFeature_0 = game:GetEngineFeature("AvatarChatProtocolDebu...
4,071
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/AvatarContextMenu.luau
luau
.luau
local v0 = game:GetService("RunService"):IsStudio(); local v1 = false; local v2 = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out); local v3 = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In); local l_UserInputService_0 = game:GetService("UserInputService"); local l_ContextActionSer...
4,535
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/AvatarMood.luau
luau
.luau
game:DefineFastFlag("AvatarMoodSearchForReplacementWhenRemovingAnimator", false); game:DefineFastFlag("AvatarMoodValidateMoodAnimation", false); local l_Players_0 = game:GetService("Players"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_LocalPlayer_0 = l_Players_0.LocalPlayer; local _ = require(l_CoreGui_0:...
7,032
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/BlockPlayerPrompt.luau
luau
.luau
local l_StarterGui_0 = game:GetService("StarterGui"); local l_Players_0 = game:GetService("Players"); local l_RobloxGui_0 = game:GetService("CoreGui"):WaitForChild("RobloxGui"); local l_LocalPlayer_0 = l_Players_0.LocalPlayer; while l_LocalPlayer_0 == nil do l_Players_0.ChildAdded:wait(); l_LocalPlayer_0 = l_Pl...
1,507
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/BulkPurchaseApp.luau
luau
.luau
require(game:GetService("CorePackages").Workspace.Packages.BulkPurchaseApp).renderBulkPurchaseApp();
21
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/CharacterNameHandler.luau
luau
.luau
local l_Players_0 = game:GetService("Players"); local l_CorePackages_0 = game:GetService("CorePackages"); local v2 = require(game:GetService("CoreGui").RobloxGui.Modules.ApolloClient); local v3 = require(l_CorePackages_0.Workspace.Packages.UserProfiles); local v4 = {}; local v5 = { CharacterAdded = "CharacterAdded"...
887
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ChatEmoteUsage.luau
luau
.luau
local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local _ = game:GetService("CorePackages"); local l_Players_0 = game:GetService("Players"); local l_Stats_0 = game:GetService("Stats"); local l_CoreGui_0 = game:GetService("CoreGui"); local v5 = require(l_CoreGui_0.RobloxGui.Modules.EmotesMenu.Const...
1,732
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ContextActionTouch.luau
luau
.luau
local l_ContextActionService_0 = game:GetService("ContextActionService"); local l_UserInputService_0 = game:GetService("UserInputService"); local l_Players_0 = game:GetService("Players"); local l_GuiService_0 = game:GetService("GuiService"); local l_TouchEnabled_0 = l_UserInputService_0.TouchEnabled; local v5 = {}; loc...
2,674
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/CoreScriptErrorReporter.luau
luau
.luau
local l_ContentProvider_0 = game:GetService("ContentProvider"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_HttpService_0 = game:GetService("HttpService"); local l_Players_0 = game:GetService("Players"); local l_RobloxReplicatedStorage_0 = game:GetSe...
1,267
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/CoreScriptsGlobalEffects.luau
luau
.luau
local l_CorePackages_0 = game:GetService("CorePackages"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local l_RobloxGui_0 = l_CoreGui_0:WaitForChild("RobloxGui"); local v4 = require(l_RobloxGui_0.Modules.Common.CoreScriptsRootProvider); local v...
428
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ExperienceChatMain.luau
luau
.luau
local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_TextChatService_0 = game:GetService("TextChatService"); local l_StarterGui_0 = game:GetService("StarterGui"); local v4 = l_CoreGui_0:WaitForChild("RobloxGui", math.huge); local v5 = require(v4.Modules.Flags...
1,250
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ExperienceNotifications.luau
luau
.luau
require(game:GetService("CorePackages").Workspace.Packages.NotificationsUpsell).setupNotificationsUpsell();
21
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/FaceChatSelfieView.luau
luau
.luau
debugPrint = function(__) end; local v1 = nil; local v2 = nil; local l_game_EngineFeature_0 = game:GetEngineFeature("AvatarJointUpgradeFeature"); local l_game_EngineFeature_1 = game:GetEngineFeature("LoadStreamAnimationForSelfieViewApiEnabled"); local l_game_EngineFeature_2 = game:GetEngineFeature("AnimatorAndADFRefact...
24,944
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/FacialAnimationStreaming.luau
luau
.luau
local _ = game:GetService("VRService"); local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local l_AppStorageService_0 = game:GetService("AppStorageService"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_Players_0 = game:GetService("Players"); local l_CorePackages_0 = game:GetService("Co...
11,576
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/FriendPlayerPrompt.luau
luau
.luau
local l_StarterGui_0 = game:GetService("StarterGui"); local l_Players_0 = game:GetService("Players"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local l_RobloxGui_0 = l_CoreGui_0:WaitForChild("RobloxGui"); local l_LocalPlayer_0 = l_Players_0.L...
3,064
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/GameInviteModalGUI.luau
luau
.luau
local l_CorePackages_0 = game:GetService("CorePackages"); local l_CoreGui_0 = game:GetService("CoreGui"); local v2 = require(l_CoreGui_0:WaitForChild("RobloxGui").Modules.PlayerList.PlayerListManager); local v3 = require(l_CorePackages_0.Workspace.Packages.GameInvite); local l_renderCoreScriptGameInviteModalContainer_0...
213
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/InspectAndBuy.luau
luau
.luau
local l_CorePackages_0 = game:GetService("CorePackages"); local l_GuiService_0 = game:GetService("GuiService"); local l_RobloxGui_0 = game:GetService("CoreGui"):WaitForChild("RobloxGui"); local l_InspectAndBuy_0 = l_RobloxGui_0:WaitForChild("Modules"):WaitForChild("InspectAndBuy"); local v4 = require(l_CorePackages_0.R...
635
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/IrisUpdateBubbleChat.luau
luau
.luau
local l_bubbleChat_0 = game:GetService("CoreGui"):WaitForChild("ExperienceChat"):WaitForChild("bubbleChat"); l_bubbleChat_0.ChildAdded:Wait(); l_bubbleChat_0:GetChildren()[1].AlwaysOnTop = true;
57
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/MicrophoneDevicePermissionsLoggingInitializer.luau
luau
.luau
local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local v2 = require(l_CoreGui_0.RobloxGui.Modules.Settings.getCamMicPermissions); local v3 = require(l_CoreGui_0.RobloxGui.Modules.Settings.Resources.MicrophoneDevicePermissionsLogging); local l_default_0 = require(...
163
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/NetworkPause.luau
luau
.luau
local l_Players_0 = game:GetService("Players"); local l_CoreGui_0 = game:GetService("CoreGui"); local _ = game:GetService("StarterGui"); local l_RunService_0 = game:GetService("RunService"); local l_GuiService_0 = game:GetService("GuiService"); local l_Modules_0 = l_CoreGui_0:WaitForChild("RobloxGui"):WaitForChild("Mod...
618
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/PerformanceStatsManagerScript.luau
luau
.luau
local l_Players_0 = game:GetService("Players"); local l_GameSettings_0 = UserSettings().GameSettings; local l_CoreGui_0 = game:GetService("CoreGui"); local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local v4 = require(l_CoreGui_0.RobloxGui.Modules.Stats.StatsAggregatorManager); local v5 = require...
1,247
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/PlayerBillboards.luau
luau
.luau
local l_Chat_0 = game:GetService("Chat"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_Players_0 = game:GetService("Players"); local l_ReplicatedStorage_0 = game:GetService("ReplicatedStorage"); local _ = game:GetService("StarterGui"); local l_TextCha...
3,821
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/PlayerRagdoll.luau
luau
.luau
local l_Players_0 = game:GetService("Players"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_RobloxReplicatedStorage_0 = game:GetService("RobloxReplicatedStorage"); local _ = game:GetService("StarterPlayer"); local l_Common_0 = l_CoreGui_0:FindFirstChild("RobloxGui"):FindFirstChild("Modules"):FindFirstChild(...
726
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/PlayerView.luau
luau
.luau
local l_CoreGui_0 = game:GetService("CoreGui"); local l_RobloxReplicatedStorage_0 = game:GetService("RobloxReplicatedStorage"); local l_PlayerViewService_0 = game:GetService("PlayerViewService"); local l_RobloxGui_0 = l_CoreGui_0:WaitForChild("RobloxGui"); local v4 = require(l_RobloxGui_0.Modules.Flags.GetFFlagPlayerVi...
552
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/PortalTeleportGUI.luau
luau
.luau
local l_Lighting_0 = game:GetService("Lighting"); local l_TweenService_0 = game:GetService("TweenService"); local l_RunService_0 = game:GetService("RunService"); local l_AdService_0 = game:GetService("AdService"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); ...
2,434
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ProximityPrompt.luau
luau
.luau
local l_UserInputService_0 = game:GetService("UserInputService"); local l_ProximityPromptService_0 = game:GetService("ProximityPromptService"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_TweenService_0 = game:GetService("TweenService"); local l_RunS...
7,496
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ScreenshotHud.luau
luau
.luau
local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local l_CoreGui_0 = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_GuiService_0 = game:GetService("GuiService"); local l_HttpRbxApiService_0 = game:GetService("HttpRbxApiService"); local l_Players_0 = ...
6,344
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/SocialContextToast.luau
luau
.luau
local _ = game:GetService("CoreGui"); local l_CorePackages_0 = game:GetService("CorePackages"); local l_Players_0 = game:GetService("Players"); local l_CoreGui_1 = game:GetService("CoreGui"); local l_Modules_0 = l_CoreGui_1:WaitForChild("RobloxGui").Modules; local l_EventIngestService_0 = game:GetService("EventIngestSe...
382
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/SoundTelemetry.luau
luau
.luau
local l_CorePackages_0 = game:GetService("CorePackages"); local l_RbxAnalyticsService_0 = game:GetService("RbxAnalyticsService"); local l_UserGameSettings_0 = UserSettings():GetService("UserGameSettings"); local l_SoundService_0 = game:GetService("SoundService"); local l_Modules_0 = game:GetService("CoreGui"):WaitForCh...
2,067
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/ToastNotificationGUI.luau
luau
.luau
require(game:GetService("CorePackages").Workspace.Packages.ToastNotification).renderToastNotificationContainer({ renderLocation = "coreScript" });
28
latte-soft/datamodelpatch
latte-soft-datamodelpatch-3fdb22f/src/PatchRoot/CoreScripts/CoreScripts/TrackerLodControllerDebugUI.luau
luau
.luau
local l_CoreGui_0 = game:GetService("CoreGui"); local _ = game:GetService("GuiService"); local l_RobloxGui_0 = l_CoreGui_0:WaitForChild("RobloxGui"); local l_game_Service_0 = game:FindService("FaceAnimatorService"); local v4 = Color3.fromRGB(0, 196, 221); local v5 = Color3.fromRGB(18, 217, 40); local v6 = Color3.fromRG...
2,080