repo stringclasses 350
values | file_path stringlengths 29 200 | language stringclasses 2
values | file_type stringclasses 4
values | code stringlengths 2 1.01M | tokens int64 2 598k |
|---|---|---|---|---|---|
EgoMoose/patch-roblox-cameramodule | EgoMoose-patch-roblox-cameramodule-46a5293/src/init.luau | luau | .luau | --!strict
local ProxyTemplate = script:WaitForChild("ProxyTemplate") :: ModuleScript
type ProxyValue<T> = { value: T }
local function unknownRequire(instance: Instance)
assert(instance:IsA("ModuleScript"), "The provided instance was not a ModuleScript.")
return require(instance) :: any
end
local function createMo... | 648 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/FastCanvas.luau | luau | .luau | --!native
--[[
FastCanvas is a simple, but very fast and efficent
drawing canvas with per pixel methods utilising EditableImage.
This module was designed to be intergrated with CanvasDraw,
A real-time roblox pixel-based graphics library.
This can be used on normal GUI Frames AND Decals, Textures, MeshParts,... | 3,757 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/3x6.luau | luau | .luau | --[[
Font: 3x6
Desc: A very small font set. Designed to fit easily within low res
canveses while still being legible.
96 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(3, 6),
Padding = 1,
Bitmap = {
[" "] = {0b000,0b000,0b000,0b000,0b000,0b000},
["!"] = {0b010,0b010... | 3,046 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/Atari.luau | luau | .luau | --[[
Font: Atari (ATASCII)
Desc: A simple and easy to read 8x8 font set.
97 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(8, 8),
Padding = -1,
Bitmap = {
[" "] = {0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000},
["!"] = {0b00000000... | 5,342 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/Codepage.luau | luau | .luau | --[[
Font: Code page 437 - 8x8
Desc: A detailed font which was used on old IMB PCs.
254 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(8, 8),
Padding = 0,
Bitmap = {
--["NUL"] = {0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000,0b00000000},
[... | 14,235 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/CodepageLarge.luau | luau | .luau | --[[
Font: Code page 437 - 9x16 (VGA version)
Desc: A detailed font which was used on old IMB PCs.
254 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(9, 16),
Padding = 0,
Bitmap = {
--["NUL"] = {0b000000000,0b000000000,0b000000000,0b000000000,0b000000000,0b000000000,0b00... | 26,528 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/GrandCD.luau | luau | .luau | --[[
Font: GrandCD
Desc: A thin 7x8 font set that I designed for CanvasDraw.
92 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(7, 8),
Padding = 0,
Bitmap = {
[" "] = {0b0000000,0b0000000,0b0000000,0b0000000,0b0000000,0b0000000,0b0000000,0b0000000},
["!"] = {0b0000000,0b000... | 5,119 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/Monogram.luau | luau | .luau | --[[
Font: Monogram
Desc: A 6x10 font set based on Monogram.
91 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(6, 10),
Padding = 0,
Bitmap = {
["A"] = {0b000000,0b011100,0b100010,0b100010,0b100010,0b111110,0b100010,0b100010,0b000000,0b000000},
["B"] = {0b000000,0b111100,0b... | 5,244 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/Fonts/Round.luau | luau | .luau | --[[
Font: Round
Desc: A round 6x6 font set.
90 Characters are supported
]]
return {
Lower = false,
CharacterSize = Vector2.new(6, 6),
Padding = 0,
Bitmap = {
["A"] = {0b011100,0b100010,0b111110,0b100010,0b100010,0b000000},
["B"] = {0b111100,0b100010,0b111100,0b100010,0b111100,0b000000},
["C"] = {0b0111... | 3,421 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/ImageDataConstructor.luau | luau | .luau | --!native
local Module = {}
local Lerp = math.lerp
local bit32bor = bit32.bor
local bit32lshift = bit32.lshift
local AssetService = game:GetService("AssetService")
function Module.new(ImageDataResX, ImageDataResY, Buffer)
local ImageData = {
ImageBuffer = Buffer,
ImageResolution = Vector2.new(ImageDataResX, Im... | 3,634 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/SaveObjectReader.luau | luau | .luau | --!native
--!optimize 2
--[[
The main module which handles loading SaveObjects, which are offline texture instances that are stored in the place itself
rather outside on the cloud.
This module is designed to be backwards compataible and be able to load any version of the CanvasDraw SaveObject along with
other fo... | 1,169 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/StringCompressor.luau | luau | .luau | --!native
-- Module by 1waffle1, optimized by boatbomber
-- https://devforum.roblox.com/t/text-compression/163637
local gsub = string.gsub
local sub = string.sub
local insert = table.insert
local rep = string.rep
local dictionary = {}
do -- populate dictionary
local length = 0
for i = 32, 127 do
if i ~= 34 and i... | 958 |
Ethanthegrand/CanvasDraw | Ethanthegrand-CanvasDraw-6843015/src/VectorFuncs.luau | luau | .luau | local Abs = math.abs
function getNormalFromPartFace(part, normalId)
return part.CFrame:VectorToWorldSpace(Vector3.FromNormalId(normalId))
end
function normalVectorToFace(part, normalVector)
local normalIDs = {
Enum.NormalId.Front,
Enum.NormalId.Back,
Enum.NormalId.Bottom,
Enum.NormalId.Top,
Enum.NormalId.... | 507 |
devSparkle/Overture | devSparkle-Overture-04f0e13/src/Overture.luau | luau | .luau | --!nonstrict
--// Initialization
const LogService = game:GetService("LogService")
const RunService = game:GetService("RunService")
const CollectionService = game:GetService("CollectionService")
--[=[
@class Overture
The core of Overture revolves around the management of libraries.
In Overture, a library is any... | 2,032 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/.lune/regex.luau | luau | .luau | --[=[
@class RegexMatch
A match from a regular expression.
Contains the following values:
- `start` -- The start index of the match in the original string.
- `finish` -- The end index of the match in the original string.
- `text` -- The text that was matched.
- `len` -- The length of the text that was matched... | 1,219 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/BundleModel.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
local luau = require("@lune/luau")
local roblox = require("@lune/roblox")
local LuneUtils = require("./Libraries/LuneUtils")
local Log = LuneUtils.Log
local StringUtils = LuneUtils.StringUtils
local LuaEncode = require("./Libraries/LuaEncod... | 2,140 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Data/Template.luau | luau | .luau | -- This codegen template *must* be 100% compatible with Lua 5.1x+, NOT just Luau
-- With that being said, this explains the weird cflow in some parts
return [[
-- ++++++++ WAX BUNDLED DATA BELOW ++++++++ --
-- Will be used later for getting flattened globals
local ImportGlobals
-- Holds direct closure data (defining... | 4,128 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/CommandUtils.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
local process = require("@lune/process")
local CommandUtils = {}
function CommandUtils.CommandExists(binary: string): boolean
if process.os ~= "windows" then
-- Unix-compliance is simple!
return process.exec("type", {bina... | 173 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/EnsureFileTree.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
--[[
This kinda looks like a strange function, because of the format a "FileTree" accepts:
```lua
EnsureFileTree({
["test"] = {
["test.txt"] = "hi",
["test.json"] = "... | 302 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/ParseArgs.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
type OptionsInput = {[string]: {string | number | boolean | nil}}
type OptionsOutput = {[string]: string | number | boolean | nil}
local process = require("@lune/process")
local Log = require("./Log")
local function ParseArgs(args: {string}... | 488 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/RecursiveReadDir.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
local function RecursiveReadDir(directory: string, _existingFileList: {string}?): {string}
if not string.match(directory, "[/\\]$") then
directory ..= "/"
end
local FileList = _existingFileL... | 159 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/Run.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
local process = require("@lune/process")
local Log = require("./Log")
local function Run(command: string, args: {string}?, directRun: boolean?, errorHandler: (string?) -> ()?): process.ExecResult
local Args = args or {}
local DirectR... | 221 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Build/Lib/Libraries/LuneUtils/init.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2024 Latte Softworks <https://latte.to>
return {
Log = require("@self/Log"),
StringUtils = require("@self/StringUtils"),
CommandUtils = require("@self/CommandUtils"),
WebhookQueue = require("@self/WebhookQueue"),
Run = require("@self/Run"),
ParseArgs = requi... | 115 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Boolean.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Boolean
The Boolean class is used to lift a constant type with the LBC_CONSTANT_BOOLEAN id (1)
]=]
local Boolean = {}
Boolean.__type = "Boolean"
Boolean.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_BOOLEAN
Boolean.__index = Boolean
local Tru... | 205 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/ClassShape.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class ClassShape
The ClassShape class is used to lift a constant type with the
LBC_CONSTANT_CLASS_SHAPE id (10), added in bytecode version 10.
It describes a user-defined `class` declaration: the class name plus the
names of its properties and methods. ClassNam... | 340 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Closure.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Closure
The Closure class is used to lift a constant type with the LBC_CONSTANT_CLOSURE id (6)
]=]
local Closure = {}
Closure.__type = "Closure"
Closure.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_CLOSURE
Closure.__index = Closure
--[=[
@w... | 206 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Import.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
local String = require("@root/Classes/Constants/String")
--[=[
@class Import
The Import class is used to lift a constant type with the LBC_CONSTANT_IMPORT id (4)
]=]
local Import = {}
Import.__type = "Import"
Import.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CON... | 341 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Integer.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Integer
The Integer class is used to lift a constant type with the LBC_CONSTANT_INTEGER id (9)
]=]
local Integer = {}
Integer.__type = "Integer"
Integer.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_INTEGER
Integer.__index = Integer
--[=[
@w... | 235 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Nil.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Nil
The Nil class is used to lift a constant type with the LBC_CONSTANT_NIL id (0)
]=]
local Nil = {}
Nil.__type = "Nil"
Nil.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_NIL
Nil.__index = Nil
local Singleton = setmetatable({}, Nil)
table.fre... | 170 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Number.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Number
The Number class is used to lift a constant type with the LBC_CONSTANT_NUMBER id (2)
]=]
local Number = {}
Number.__type = "Number"
Number.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_NUMBER
Number.__index = Number
--[=[
@within Numb... | 201 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/String.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class String
The String class is used to lift a constant type with the LBC_CONSTANT_STRING id (3)
]=]
local String = {}
String.__type = "String"
String.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_STRING
String.__index = String
--[=[
@within Stri... | 260 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Table.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Table
The Table class is used to lift a constant type with the LBC_CONSTANT_TABLE id (5)
]=]
local Table = {}
Table.__type = "Table"
Table.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_TABLE
Table.__index = Table
--[=[
@within Table
The Ta... | 423 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/TableWithConstants.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class TableWithConstants
The TableWithConstants class is used to lift a constant type with the LBC_CONSTANT_TABLE_WITH_CONSTANTS id (8)
]=]
local TableWithConstants = {}
TableWithConstants.__type = "TableWithConstants"
TableWithConstants.__constant_type = LuauSpec.... | 514 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Constants/Vector.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
--[=[
@class Vector
The Vector class is used to lift a constant type with the LBC_CONSTANT_VECTOR id (7)
]=]
local Vector = {}
Vector.__type = "Vector"
Vector.__constant_type = LuauSpec.LuauBytecodeConstants.LBC_CONSTANT_VECTOR
Vector.__index = Vector
--[=[
@within Vect... | 241 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Hexadecimal.luau | luau | .luau | --[=[
@class Hexadecimal
The Hexadecimal class is used to represent an integer as a Hexadecimal
]=]
local Hexadecimal = {}
Hexadecimal.__type = "Hexadecimal"
Hexadecimal.__index = Hexadecimal
--[=[
@within Hexadecimal
The Hexadecimal class is used to represent an integer as a Hexadecimal
@return Hexadecimal
]=... | 177 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Instruction.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
local Hexadecimal = require("@root/Classes/Hexadecimal")
--[=[
@class Instruction
The Instruction class is used to lift a luau instruction
]=]
local Instruction = {}
Instruction.__type = "Instruction"
Instruction.__index = Instruction
function Instruction.__eq(a, b): bo... | 591 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Instructions.luau | luau | .luau | local Buffer = require("@root/Utilities/Buffer")
local LuauSpec = require("@root/Luau/Spec")
local Instruction = require("@root/Classes/Instruction")
--[=[
@class Instructions
Lazy-decoded sequence of Luau instruction words. Behaves like a 1-indexed
array of `Instruction` values without materialising them up-front... | 1,175 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Proto.luau | luau | .luau | local Buffer = require("@root/Utilities/Buffer")
local LuauSpec = require("@root/Luau/Spec")
local TypeInfo = require("@root/Luau/TypeInfo")
local Instructions, Upvalue = require("@root/Classes/Instructions"), require("@root/Classes/Upvalue")
local Nil, Boolean, Number, String, Import, Table, Closure, Vector, TableW... | 2,787 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Classes/Upvalue.luau | luau | .luau | --[=[
@class Upvalue
The Upvalue class is used to lift a luau Upvalue
]=]
local Upvalue = {}
Upvalue.__type = "Upvalue"
Upvalue.__index = Upvalue
--[=[
@within Upvalue
The Upvalue class is used to lift a luau Upvalue
@param Bytecode Buffer.BufferReader
@return Upvalue
]=]
function Upvalue.new(Name: string): U... | 130 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Deserializer.d.luau | luau | .luau | export type Upvalue = {
__type: "Upvalue",
Name: string
}
export type VectorConstant = {
__type: "Vector",
X: number,
Y: number,
Z: number,
W: number,
Display: string?
}
export type TableConstant = {
__type: "Table",
Value: { [number]: Constant },
Display: string?
}
export... | 1,681 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/Luau/TypeInfo.luau | luau | .luau | local LuauSpec = require("@root/Luau/Spec")
local Buffer = require("@root/Utilities/Buffer")
--[=[
Helpers for parsing the per-proto type-info section of Luau bytecode.
For typesversion 1 the section is just the function signature.
For typesversion 2 it adds typed upvalues and typed locals.
For typesv... | 1,425 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Src/init.luau | luau | .luau | local Types = require("@root/Deserializer.d")
local Buffer = require("@root/Utilities/Buffer")
local LuauSpec = require("@root/Luau/Spec")
local Proto = require("@root/Classes/Proto")
local Iridium = {
LuauSpec = LuauSpec
}
--[=[
@class Deserializer
The Deserializer class is used for deserializing Luau Byte... | 3,444 |
ActualMasterOogway/Iridium | ActualMasterOogway-Iridium-2a834af/Tests/test_v10_v11.luau | luau | .luau | -- Runs Iridium against the v10/v11 bytecode fixtures produced by the patched
-- luau-compile (CLASS_SHAPE constants, NEWCLASSMEMBER/CALLFB opcodes, the v11
-- feedback vector). Reports per-file deserialization status and a summary of
-- the new bytecode features that were recovered.
local Iridium = require("@root")
l... | 546 |
devSparkle/sentry-roblox | devSparkle-sentry-roblox-96a1701/src/Defaults.luau | luau | .luau | --!nocheck
--// Variables
local RunService = game:GetService("RunService")
local Module = {}
type Hint = {[string]: any}
type Filter<T> = (T, Hint) -> (T?)
--[=[
@within SDK
@interface Options
.DSN string? -- The DSN for the sentry project to send events to
.debug boolean? -- See [SDK.debug] (must press the "... | 1,315 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Connections/OnAttached.luau | luau | .luau | -- Author: iGottic
local OnAttached = {}
-- Types
export type OnAttached = (Object : any, Callback : (AttachedInstance : Instance) -> nil) -> RBXScriptConnection
function OnAttached:__call(Object : any, Callback : (AttachedInstance : Instance) -> nil)
return (Object.AttachedToInstance :: RBXScriptSignal):Connect... | 172 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Connections/OnAttributeChanged.luau | luau | .luau | -- Author: iGottic
local OnAttributeChanged = {}
-- Types
export type OnAttributeChanged = (AttributeName : string) -> (...any) -> RBXScriptConnection
function OnAttributeChanged:__call(AttributeName : string)
local ActiveConnection : RBXScriptConnection = nil
local EventBinding = setmetatable({
Des... | 264 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Connections/OnChanged.luau | luau | .luau | -- Author: iGottic
local OnChanged = {}
-- Types
export type OnChanged = (Object : any, Callback : (PropertyChanged : string, NewValue : any) -> nil) -> RBXScriptConnection
function OnChanged:__call(Object : any, Callback : (PropertyChanged : string, NewValue : any) -> nil)
-- Fortunately, states also have a Cha... | 210 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Connections/OnEvent.luau | luau | .luau | -- Author: iGottic
local OnEvent = {}
-- Types
export type OnEvent = (EventName : string) -> (...any) -> RBXScriptConnection
function OnEvent:__call(EventName : string)
local ActiveConnection : RBXScriptConnection = nil
local EventBinding = setmetatable({
Destroy = function()
if ActiveCo... | 282 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Attribute.luau | luau | .luau | -- Author: iGottic
local Attribute = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
-- Variable
local ClassSymbol = Symbol.new("Attribute")
-- Types Extended
export type Attribute = (AttributeName : string) -> (Object : I... | 546 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Children.luau | luau | .luau | -- Author: iGottic
local Children = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = Symbol.new("Children")
-- Types Extended
export type Children = (Object : Instance, Children : {Types.Chi... | 644 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Component.luau | luau | .luau | -- Author: iGottic
-- Imports
local Scope = require(script.Parent.Parent.Memory.Scope)
local Symbol = require(script.Parent.Parent.Parent.Modules.Symbol)
-- Types extended
export type Component = ({[any] : any}) -> (Scope.ScopeInstance?, {[string] : any}) -> any
local function Component(ComponentModule : {[any] : an... | 339 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Destroyed.luau | luau | .luau | -- Author: iGottic
local Destroyed = {}
-- Types
export type Destroyed = (Object : Instance, Callback : () -> nil) -> nil
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = Symbol.new("Destroyed")
function Destroyed:__call(Object :... | 165 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/EventSequence.luau | luau | .luau | -- Author: iGottic
local EventSequence = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
local Trove = require(Modules.Trove)
local UpdateSignals = require(Modules.UpdateSignals)
-- Types extended
export type SequenceKeyframe = {number | () -> nil}
export typ... | 804 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/FollowAttribute.luau | luau | .luau | -- Author: iGottic
local FollowAttribute = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = Symbol.new("FollowAttribute")
-- Types Extended
export type FollowAttribute = (AttributeName : str... | 472 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/FollowProperty.luau | luau | .luau | -- Author: iGottic
local FollowProperty = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = Symbol.new("FollowProperty")
-- Types Extended
export type FollowProperty = (PropertyName : string)... | 462 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Lifetime.luau | luau | .luau | -- Author: iGottic
local Lifetime = {}
-- Types
export type Lifetime = (Object : Instance, CleanupTime : number) -> nil
-- Services
local DebrisService = game:GetService("Debris")
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = ... | 205 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/New.luau | luau | .luau | -- Author: iGottic
local New = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
local CreateDeepTraceback = require(Modules.CreateDeepTraceback)
local Scope = require(script.Parent.Parent.Memory.Scope)
local Children = require(script.Parent.Children)
-- Types e... | 571 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/StyleSheet.luau | luau | .luau | -- Author: iGottic
local StyleSheet = {}
-- Services
local CollectionService = game:GetService("CollectionService")
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
-- Constants
local API_MESSAGE_NAME = "SEAM_STYLESHEET"
-- Variables
local DeclarationSymbol = Sy... | 1,861 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Declarations/Tags.luau | luau | .luau | -- Author: iGottic
local Tags = {}
-- Types
export type Tags = (Object : Instance, AddedTags : {string}) -> nil
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Symbol = require(Modules.Symbol)
-- Variables
local ClassSymbol = Symbol.new("Tags")
function Tags:__call(Object : Instance, AddedTags... | 174 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Memory/Scope.luau | luau | .luau | -- Author: iGottic
local Scope = {}
-- Imports
local Constructors = script.Parent.Parent
local Modules = Constructors.Parent.Modules
local States = Constructors.States
local Trove = require(Modules.Trove)
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
local CreateDeepTraceback = require(M... | 1,874 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Animation/Spring.luau | luau | .luau | -- Author: iGottic
local Spring = {}
-- Constants
local EPSILON = 0.001
-- Imports
local Constructors = script.Parent.Parent.Parent
local Modules = Constructors.Parent.Modules
local Batch = require(Modules.Batch)
local GetValue = require(Constructors.Utilities.GetValue)
local StateManager = require(Modules.StateMana... | 2,237 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Animation/Tween.luau | luau | .luau | -- Author: iGottic
local Tween = {}
-- Constants
local EPSILON = 0.001
-- Services
local TweenService = game:GetService("TweenService")
-- Imports
local Constructors = script.Parent.Parent.Parent
local Modules = Constructors.Parent.Modules
local Batch = require(Modules.Batch)
local GetValue = require(Constructors.U... | 1,342 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Bezier.luau | luau | .luau | -- Author: iGottic
local Bezier = {}
-- Imports
local Constructors = script.Parent.Parent
local Modules = Constructors.Parent.Modules
local Computed = require(script.Parent.Computed)
local Value = require(script.Parent.Value)
local GetValue = require(Constructors.Utilities.GetValue)
local ValuePacker = require(Module... | 1,708 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Computed.luau | luau | .luau | -- Author: iGottic
local Computed = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Batch = require(Modules.Batch)
local StateManager = require(Modules.StateManager)
local Trove = require(Modules.Trove)
local Signal = require(Modules.Signal)
local Types = require(Modules.Types)
local Symbol = ... | 992 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/ForPairs.luau | luau | .luau | -- Author: iGottic
local ForPairs = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Types = require(Modules.Types)
local Symbol = require(Modules.Symbol)
local CreateDeepTraceback = require(Modules.CreateDeepTraceback)
local Computed = require(script.Parent.Computed)
local Value = require(scri... | 531 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Rendered.luau | luau | .luau | -- Author: iGottic
local Rendered = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Batch = require(Modules.Batch)
local StateManager = require(Modules.StateManager)
local Trove = require(Modules.Trove)
local Signal = require(Modules.Signal)
local Types = require(Modules.Types)
local Symbol = ... | 607 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Resource.luau | luau | .luau | -- Author: iGottic
local Resource = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Batch = require(Modules.Batch)
local StateManager = require(Modules.StateManager)
local Trove = require(Modules.Trove)
local Signal = require(Modules.Signal)
local Types = require(Modules.Types)
local Symbol = ... | 830 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/States/Value.luau | luau | .luau | -- Author: iGottic
local Value = {}
-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Batch = require(Modules.Batch)
local StateManager = require(Modules.StateManager)
local Trove = require(Modules.Trove)
local Signal = require(Modules.Signal)
local Types = require(Modules.Types)
local IsValueChang... | 1,677 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/GetValue.luau | luau | .luau | -- Author: iGottic
local GetValue = {}
-- Types
export type GetValue = (State : any?) -> any?
-- Imports
local IsState = require(script.Parent.IsState)
function GetValue:__call(State : any?) : any?
-- Nothing exists? No problem.
if State == nil then
return nil
end
-- Is it a state? Return t... | 170 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/Inspect.luau | luau | .luau | -- Author: iGottic
local Inspect = {}
-- Types
export type Inspect = (Object : any, DebugName : string) -> RBXScriptConnection
function Inspect:__call(Object : any, DebugName : string)
if not DebugName then
error("Expected DebugName, got nil")
end
return (Object.Changed :: RBXScriptSignal):Conne... | 206 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/IsComponent.luau | luau | .luau | -- Author: iGottic
local IsComponent = {}
-- Types
export type IsComponent = (CheckedValue : any?) -> boolean
function IsComponent:__call(CheckedValue : any?) : boolean
if typeof(CheckedValue) ~= "table" then
return false -- Not a component since it's not a table
end
if CheckedValue.__SEAM_COMPO... | 167 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/IsState.luau | luau | .luau | -- Author: iGottic
local IsState = {}
-- Types
export type IsState = (CheckedValue : any?) -> boolean
-- Constants
local RECOGNIZED_STATE_SYMBOLS = {"Spring", "Tween", "Bezier", "Resource", "ComputedInstance", "RenderedInstance", "Value"}
function IsState:__call(CheckedValue : any?) : boolean
if typeof(CheckedV... | 259 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/LockValue.luau | luau | .luau | -- Author: iGottic
local LockValue = {}
-- Imports
local Value = require(script.Parent.Parent.States.Value)
-- Types
export type LockValue = (LockedValue : Value.ValueInstance<any>) -> nil
function LockValue:__call(LockedValue : Value.ValueInstance<any>) : nil
if typeof(LockedValue) ~= "table" or not LockedValu... | 177 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Constructors/Utilities/SetValue.luau | luau | .luau | -- Author: iGottic
local SetValue = {}
-- Types
export type SetValue = (State : any?, NewValue : any?) -> any?
function SetValue:__call(State : any?, NewValue : any?) : any?
if State == nil then
return NewValue
end
if typeof(State) == "table" and State.Value ~= nil then
State.Value = New... | 146 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/Batch.luau | luau | .luau | -- Author: iGottic
local Batch = {}
-- Types
type BatchedArguments = {
n: number,
[number]: any,
}
export type Batch = ((Callback: (...any) -> ...any, ...any) -> ...any)
-- Variables
local ActiveDepth = 0
local PendingSignals: {[any]: BatchedArguments} = {}
local PendingOrder: {any} = {}
local function Flu... | 439 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/CreateDeepTraceback.luau | luau | .luau | -- Author: iGottic
-- Constants
local DEPTH = 10
return function()
local Traceback = ""
for Index = 1, DEPTH do
local ThisTraceback = debug.traceback(nil, Index + 1)
if ThisTraceback:len() == 0 then
break
end
Traceback ..= ThisTraceback .. "\n"
end
return Traceback
end
| 94 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/IsValueChanged.luau | luau | .luau | -- Author: iGottic
return function(OldValue : any, NewValue : any) : boolean
if typeof(OldValue) ~= typeof(NewValue) then
return true
end
return OldValue ~= NewValue
end | 54 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/Signal/Connection.luau | luau | .luau | --[=[
@within Signal
@interface SignalConnection
.Connected boolean
.Disconnect (SignalConnection) -> ()
Represents a connection to a signal.
```lua
local ConnectionObj = SignalInstance:Connect(function() end)
print(ConnectionObj.Connected) --> true
ConnectionObj:Disconnect()
print(ConnectionObj.Connected) -... | 322 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/StateManager.luau | luau | .luau | -- Author: iGottic
local StateManager = {}
-- Imports
local Trove = require(script.Parent.Trove)
local IsValueChanged = require(script.Parent.IsValueChanged)
local UpdateSignals = require(script.Parent.UpdateSignals)
local CreateDeepTraceback = require(script.Parent.CreateDeepTraceback)
local function GetObjectType(... | 591 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/Symbol.luau | luau | .luau | -- Author: iGottic
local Symbol = {}
-- Types
export type Symbol = typeof(newproxy(true))
function Symbol.new(Name : string)
local self = newproxy(true)
getmetatable(self).__tostring = function()
return Name
end
return self
end
return Symbol | 64 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/Trove.luau | luau | .luau | --!strict
local RunService = game:GetService("RunService")
export type Trove = {
Extend: (self: Trove) -> Trove,
Clone: <T>(self: Trove, instance: T & Instance) -> T,
Construct: <T, A...>(self: Trove, class: Constructable<T, A...>, A...) -> T,
Connect: (
self: Trove,
signal: SignalLike | SignalLikeMetatable |... | 2,633 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/Types.luau | luau | .luau | -- Author: iGottic
export type BaseState<T> = {
Value : T,
}
export type Child = Instance | BaseState<any> | {[unknown] : Child}
return nil | 41 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/UpdateSignals.luau | luau | .luau | -- Author: iGottic
local UpdateSignals = {}
-- Types
type UpdateSignals = {
OnFrameUpdate : RBXScriptSignal,
OnFramePreUpdate : RBXScriptSignal,
}
-- Services
local RunService = game:GetService("RunService")
if RunService:IsClient() then
UpdateSignals.OnFrameUpdate = RunService.RenderStepped
UpdateS... | 143 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/Modules/ValuePacker/init.luau | luau | .luau | -- Author: iGottic
-- Based on UnpackType and PackType from Elttob
local ValuePacker = {}
-- Types
type UnpackedValue = {[number]: number}
-- Imports
local Oklab = require(script.Oklab) -- We use Oklab color space to make animating colors look more natural
-- Variables
local Converter : {[string] : {Pack : (Unpacke... | 1,714 |
MiaGobble/Seam | MiaGobble-Seam-cbdeaf5/src/init.luau | luau | .luau | -- Author: iGottic
-- Documentation: https://seam.igottic.com/
-- Services
local RunService = game:GetService("RunService")
-- Imports
-- Note: I opt for WaitForChild to load stuff; this helps prevent edge case errors where children don't load in time, particularly when loading from ReplicatedStorage in a script loca... | 1,673 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Client/PositionCache.luau | luau | .luau | -- A client-sided utility that you can use to access non-interpolated (!!!) player positions
return {} :: {[Player]: CFrame} | 30 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Client/ReplicationHandler.luau | luau | .luau | local Players = game:GetService('Players')
local BetterReplication = script.Parent.Parent
local Config = require(BetterReplication.Config)
local BufferUtils = require(BetterReplication.Lib.BufferUtils)
local Utils = require(BetterReplication.Lib.Utils)
local FromClient = BetterReplication.Remotes.FromClient
local pl... | 484 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Config.luau | luau | .luau | local Config = {
-- not recommended to change these values at runtime
-- from how many studs should players not be replicated with BetterReplication anymore?
proximityThreshold = 100, -- default: 100
-- ship the whole cframe orientation instead of only the yaw axis to make the humanoidrootpart interpolate accur... | 231 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Example/ServerScriptService/SanityChecker.server.luau | luau | .luau | local BetterReplication = require(game.ReplicatedStorage.BetterReplication.Interface)
BetterReplication.start()
BetterReplication.bindSanityCheck(function(data)
print(data.t, data.c)
return true
end) | 44 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Example/StarterCharacterScripts/Interpolation.client.luau | luau | .luau | local BetterReplication = require(game.ReplicatedStorage.BetterReplication.Interface)
BetterReplication.startReplication() | 24 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Example/StarterPlayerScripts/Replication.client.luau | luau | .luau | local BetterReplication = require(game.ReplicatedStorage.BetterReplication.Interface)
BetterReplication.startInterpolater() | 25 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Lib/BufferUtils.luau | luau | .luau | type from_client_packet = {
t: number,
c: CFrame
}
type to_client_packet = {
t: number,
p: number,
c: CFrame
}
type register_identifier = {
p: string,
id: number
}
local writef16, readf16
do
local EXPONENT_BIAS = 14
local SIGN_OFFSET = 2 ^ 15
local EXPONENT_OFFSET = 2 ^ 10
local MANTISSA_OFFSET = 2 ^ 10
... | 2,282 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Lib/Snapshots.luau | luau | .luau | -- Implementation by Pogo. Used for the replication buffer implementation.
--!strict
local clock = os.clock
local Snapshot = {}
Snapshot.__index = Snapshot
type datetime = number
export type Snapshot = {
-- fields
_subject: Player?,
_cache: {
{
o: CFrame,
at: datetime
}
},
-- methods
pushAt: (self: ... | 758 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Lib/Utils.luau | luau | .luau | -- Thanks Tazmondo for this util suggestion
local RunService = game:GetService('RunService')
local Utils = {}
function Utils.FrequencyPostSimulation(callback: (number) -> (), frequency: number)
local last = time()
frequency = 1/frequency
return RunService.PostSimulation:Connect(function()
local dt = time() - las... | 177 |
PogoDigitalism/BetterReplication | PogoDigitalism-BetterReplication-6b337ba/src/BetterReplication/Interface/Rig/Animate.client.luau | luau | .luau | -- humanoidAnimateR15Moods.lua
local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
local pose = "Standing"
local userNoUpdateOnLoopSuccess, userNoUpdateOnLoopValue = pcall(function() return UserSettings():IsUserFeatureEnabled("UserNoUpdateOnLoop") end)
local userNoUpdateOnLoop = userNo... | 6,319 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Administer/Modules/Helpers/BootstrapGame.luau | luau | .luau | --// Administer
--// CodingAgent 2026
--// This file exists to stop circular imports
local Root = script:FindFirstAncestor("Loader")
local Admins = require(Root.Modules.AdminRunner)
local Apps = require(Root.Modules.Apps)
local Utils = require(Root.Modules.Utilities)
local Var = require(Root.Core.Variables)
return f... | 390 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Core/Configuration.luau | luau | .luau | --!strict
--// Administer
--// CodingAgent 2026
local Types = require(script.Parent.Types)
local Locales: { Default: string, Value: string, Items: { string } } = {
Default = "en",
Value = "en",
Items = {},
}
for _, Locale in script.Parent.Locales:GetChildren() do
table.insert(Locales.Items, Locale.Name)
end
type... | 3,488 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Core/Icons/init.luau | luau | .luau | --// Administer
--// CodingAgent 2026
return {
["Meta"] = {
Name = "UIcons",
Author = "FlatIcon",
Type = "full-set",
AllowThemeDependencies = true,
},
["logos"] = {
["administer-blue"] = "116599744136879",
["administer-can"] = "18841275783",
["administer-beta"] = "18770010888",
["administer-wirefra... | 1,699 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Core/Locales/th.luau | luau | .luau | --// # THIS IS AN AUTOGENERATED FILE - DO NOT EDIT
--// Compilation Date: Wed Oct 01 2026 18:40:37 GMT-0400 (Eastern Daylight Time)
--// Source file: /mnt/other/Projects/Administer/administer/src/Server/Core/Locales/th.luau
return {}
| 71 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/Debugging.luau | luau | .luau | --// Administer
--// CodingAgent 2026
local Debugging = {}
local Root = script:FindFirstAncestor("Loader")
local AdminRunner = require(Root.Modules.AdminRunner)
local Var = require(Root.Core.Variables)
Debugging.text = [[
///// ADMINISTER DEBUG OUTPUT \\\\\
* VERSION: 1.0
* GENERATION TIMESTAMP: 1727997091
* GENERA... | 1,122 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.