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
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/Selection.luau
luau
.luau
local SelectionService = game:GetService("Selection") local Packages = script.Parent.Parent local DraggerFramework = require(Packages.DraggerFramework) local isProtectedInstance = DraggerFramework.Utility.isProtectedInstance local Selection = {} Selection.__index = Selection export type Class = setmetatable<{ Sele...
341
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/SelectionInfo.luau
luau
.luau
-- Baseline wrapper around the default SelectionInfo implementation provided in DraggerFramework. -- This provides backwards compatibility for its previous place of residence, while still allowing -- consumers to extend it as needed. local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent lo...
95
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/TransformHandlesImplementation.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type TemporaryTransparency = DraggerFramework.TemporaryTransparency type AttachmentMover = DraggerFramework.AttachmentMover type DraggerContext = DraggerFramework.DraggerContext...
3,683
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/addUndoWaypoint.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext return function(draggerContext: DraggerContext, waypointIdentifier: string, waypointText: string) draggerContext:addUndoW...
82
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/beginBoxSelect.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext local getSelectableWithCache = require(DraggerSchemaCore.getSelectableWithCache) local shouldSelectSubPart = require(Dragg...
505
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/beginRecording.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext return function(draggerContext: DraggerContext, waypointName: string) draggerContext:beginRecording(waypointName) end
74
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/dispatchWorldClick.luau
luau
.luau
local DraggerSchemaCore = script.Parent local FreeformDragger = require(DraggerSchemaCore.FreeformDragger) local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) local Utility = DraggerFramework.Utility local getGeometry = Utility.getGeometry local getFaceInstance = Uti...
832
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/endBoxSelect.luau
luau
.luau
return function(draggerContext) -- Nothing to do, the incremental updates as the mouse moves are sufficient -- to get the selection up to date in the core schema. end
38
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/getMouseTarget.luau
luau
.luau
local DraggerSchemaCore = script.Parent local shouldSelectSubPart = require(DraggerSchemaCore.shouldSelectSubPart) local getSelectableWithCache = require(DraggerSchemaCore.getSelectableWithCache) local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext...
530
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/getNextSelectables.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local dispatchWorldClick = require(DraggerSchemaCore.dispatchWorldClick) type FreeformDragInfo = dispatchWorldClick.FreeformDragInfo local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.Drag...
151
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/getSelectableWithCache.luau
luau
.luau
--[[ Get the selectable object from the passed-in part or model. If the instance is an Attachment or Constraint, it is returned directly. If the instance belongs to a model the top-level model is returned, unless the alt key is held, in which case the part itself is returned. Locked parts are not considered sele...
661
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/getSelectionBoxComponent.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext return function(draggerContext: DraggerContext, hoverSelectable: Instance): string? if draggerContext:areConstraintDetail...
186
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/init.luau
luau
.luau
--[[ DraggerSchema, Core Dragger Implementation A schema describing the dragger framework implementation which the core modeling tools use, where the user selects and transforms an aggregate of parts and attachments. ]] local TransformHandlesImplementation = require(script.TransformHandlesImplementation) local Ex...
2,466
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/isExclusiveSelectable.luau
luau
.luau
-- Attachments like to be exclusively selected unless we're trying to multiple -- select them. local Packages = script.Parent.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext return function(draggerContext: DraggerContext, selectable: Instance?,...
90
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/setActivePoint.luau
luau
.luau
local DraggerSchemaCore = script.Parent local SelectionInfo = require(DraggerSchemaCore.SelectionInfo) local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext type SelectionInfo = SelectionInfo.Class return function(d...
119
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/setHover.luau
luau
.luau
-- For the core manipulators, just set the Studio Service hovered instance to -- the instance which the mouse was directly hovered over (hoverItem). local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = Dragge...
107
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/DraggerSchemaCore/shouldSelectSubPart.luau
luau
.luau
local DraggerSchemaCore = script.Parent local Packages = DraggerSchemaCore.Parent local DraggerFramework = require(Packages.DraggerFramework) type DraggerContext = DraggerFramework.DraggerContext return function(draggerContext: DraggerContext) -- Geometric mode: hover -> select model, alt-hover -> select sub part...
144
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/EasyStore/init.luau
luau
.luau
local EasyStore = {} EasyStore.__index = EasyStore local PlayerData = {} PlayerData.__index = PlayerData local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local Shared = script.Parent local Trove = require(Shared.Trove) local Signal = require(Shared.Signal) local...
5,214
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/LinearPath/init.luau
luau
.luau
--!strict local LinearPath = {} LinearPath.__index = LinearPath export type Class = typeof(setmetatable({} :: { Dists: { number }, Points: { Vector3 }, Normals: { Vector3 }, Length: number, }, LinearPath)) --- Creates a new LinearPath from a list of points. function LinearPath.new(points: { Vector3 }...
994
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/ModelSquash/DeferredPatcher.luau
luau
.luau
local DeferredPatcher = {} local AssetService = game:GetService("AssetService") type MeshPatch = { MeshContent: Content?, FluidFidelity: Enum.FluidFidelity?, RenderFidelity: Enum.RenderFidelity?, CollisionFidelity: Enum.CollisionFidelity?, } local pendingMeshes = {} :: { [MeshPart]: MeshPatch } l...
373
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/ModelSquash/init.luau
luau
.luau
local Shared = script.Parent local Squash = require(Shared.Squash) local PropSquash = require(script.PropSquash) local ArraySquash = require(Shared.ArraySquash) local DeferredPatcher = require(script.DeferredPatcher) local ReflectionService = game:GetService("ReflectionService") local Filters = require(script.Filters...
2,589
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Mutex/init.luau
luau
.luau
local DEFAULT_KEY = "Default" local function index(key: string): string return `|{key:gsub("|", "\\|")}` end local function addLock(inst: Instance, lock: string, key: string?) local list = tostring(inst:GetAttribute(lock) or "") key = index(key or DEFAULT_KEY) if not list:find(key) then list ...
300
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Events/Client.luau
luau
.luau
--!strict local Client = {} Client.__index = Client local Network = script.Parent.Parent local Types = require(Network.Types) local Signal = Types.Signal type Signal<T...> = Types.Signal<T...> type EventOptions = Types.EventOptions type Validator<T...> = Types.Validator<T...> export type Class<T... = ...any> = type...
263
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Events/Server.luau
luau
.luau
--!strict local Server = {} Server.__index = Server local Network = script.Parent.Parent local Players = game:GetService("Players") local Types = require(Network.Types) local Signal = Types.Signal type Signal<T...> = Types.Signal<T...> type EventOptions = Types.EventOptions type Validator<T...> = Types.Validator<T....
497
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Functions/Client.luau
luau
.luau
--!strict local Client = {} Client.__index = Client local Network = script.Parent.Parent local Types = require(Network.Types) type Signal<T...> = Types.Signal<T...> type Validator<T...> = Types.Validator<T...> export type Class<Args... = ...any, Rets... = ...any> = typeof(setmetatable({} :: { Id: string, V...
481
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Functions/Server.luau
luau
.luau
--!strict local Server = {} Server.__index = Server local Network = script.Parent.Parent local Types = require(Network.Types) type Signal<T...> = Types.Signal<T...> type Validator<T...> = Types.Validator<T...> export type Class<Args... = ...any, Rets... = ...any> = typeof(setmetatable({} :: { Id: string, V...
503
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Remotes.luau
luau
.luau
--!strict local Shared = script.Parent.Parent local RunContext = require(Shared.RunContext) local reliableEvent = script:FindFirstChildOfClass("RemoteEvent") local remoteFunction = script:FindFirstChildOfClass("RemoteFunction") local unreliableEvent = script:FindFirstChildOfClass("UnreliableRemoteEvent") if not (rel...
424
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/Types.luau
luau
.luau
--!strict local Shared = script.Parent.Parent local Signal = require(Shared.Signal) export type Signal<T...> = Signal.Signal<T...> export type Validator<T...> = (...unknown) -> T... type Named = { Name: string } type Reliable = { Reliable: boolean? } type Unreliable = { Unreliable: boolean? } export t...
103
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Network/init.luau
luau
.luau
--!strict local Shared = script.Parent local RunContext = require(Shared.RunContext) local Players = game:GetService("Players") local Events = script.Events local Functions = script.Functions local EventClient = require(Events.Client) local EventServer = require(Events.Server) local FunctionClient = require(Functio...
2,535
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Octree/init.luau
luau
.luau
--!strict local Octree = {} Octree.__index = Octree local OctreeNode = {} OctreeNode.__index = OctreeNode type Region = { subRegions: { Region }, lowerBounds: Vector3, upperBounds: Vector3, position: Vector3, size: Vector3, parent: Region?, parentIndex: number?, depth: number, nodes: { [NodeInternal]: t...
3,345
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/ReactSlim/init.luau
luau
.luau
local ReactSlim = {} local Shared = script.Parent local React = require(Shared.React) local ReactRoblox = require(Shared.ReactRoblox) local ReactGlobals = require(Shared.ReactGlobals) export type Binding<T> = React.Binding<T> export type Object = React.Object export type ComponentType<P> = React.ComponentType<P> exp...
954
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/RobloxMesh/Buffer.luau
luau
.luau
local Buffer = {} Buffer.__index = Buffer export type Class = typeof(setmetatable({} :: { _buf: buffer, _pos: number, _bitsValue: number, _bitsLength: number, }, Buffer)) export type LowHigh = { Low: number, High: number, } function Buffer.new(buf: buffer, pos: number?): Class if pos the...
1,460
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/RobloxMesh/Draco/Constants.luau
luau
.luau
local CONST = table.freeze return CONST({ MeshEncoderType = CONST({ Invalid = -1, PointCloud = 0, TriangularMesh = 1, }), MeshEncodingMethod = CONST({ Sequential = 0, EdgeBreaker = 1, }), MetadataConstants = CONST({ FlagMask = 0x8000, }), ...
831
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/RobloxMesh/Draco/Debug.luau
luau
.luau
local Draco = script.Parent local RobloxMesh = Draco.Parent local Buffer = require(RobloxMesh.Buffer) local DEBUG = false type Buffer = Buffer.Class local debugStack = 0 local function nameof<T>(sourceTable: T, value: number?): keyof<T> | "nil" if value == nil then return "nil" end for name, val...
567
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/RobloxMesh/Draco/Rans.luau
luau
.luau
local Draco = script.Parent local RobloxMesh = Draco.Parent local Buffer = require(RobloxMesh.Buffer) local Debug = require(Draco.Debug) local Rans = {} Rans.__index = Rans type ProbEnt = { prob: number, cumProb: number, } export type BitState = { BitsValue: number, BitsLength: number, } export typ...
1,412
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/RunContext/init.luau
luau
.luau
--!strict local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local RunService = game:GetService("RunService") local VRService = game:GetService("VRService") local isEdit = false local isServer = RunService:IsServer() local isClient = RunService:IsClient() loc...
407
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/StackModifier/init.luau
luau
.luau
-- StackModifier -- MaximumADHD -- March 21st, 2023 --!strict --- A module for handling complex property stacking and modification. --- It allows for multiple sources to modify the same property on an instance, with the ability to prioritize and weight each source. --- Modifiers with higher priorities will override l...
2,575
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/StringBuilder/init.luau
luau
.luau
local StringBuilder = {} StringBuilder.__index = StringBuilder export type Class = typeof(setmetatable({} :: { _stack: number, _buffer: string, _dirty: boolean, _splitCache: { string }, }, StringBuilder)) local function new(): Class return setmetatable({ _stack = 0, _buffer = ...
585
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/Tags/init.luau
luau
.luau
------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- Tags -- MaximumADHD -- December 22nd, 2020 ---------------------------------------------------------------------------------------------------------------...
567
MaximumADHD/Roblox-Utils
MaximumADHD-Roblox-Utils-5926d8b/Modules/UserId/init.luau
luau
.luau
local Shared = script.Parent local RunContext = require(Shared.RunContext) local StudioService = if RunContext.IsStudio then game:GetService("StudioService") else nil local Players = game:GetService("Players") --- Returns a player's `UserId`, and a `boolean` indicating whether it is a mocked value or not. --...
548
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/scripts/run-benchmarks.server.luau
luau
.luau
--[[ Performance benchmarks for EditableImageBlur, run through run-in-roblox by scripts/bench.sh against the same place the tests build. Each cell times a whole blur call with os.clock across several runs and prints the best, median, and mean, since the best run is the one least disturbed by the garbage collector ...
1,297
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/scripts/run-tests.server.luau
luau
.luau
--[[ Boots Jest inside the built test place. run-in-roblox reports the place script's outcome, so failing tests surface by erroring at the end. ]] -- run-in-roblox output does not render ANSI colors, so Jest's reporter -- prints plain text. -- selene: allow(global_usage) _G.NOCOLOR = true local ReplicatedStorage = ...
511
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/Dispatcher.luau
luau
.luau
--!strict --[[ Internal actor pool for the parallel blur path. The consumer never touches an Actor: on first use this module clones the package's WorkerTemplate into a runtime bin (ServerScriptService on the server, PlayerScripts on the client), one Actor per worker, and scatters padded row bands to them via Acto...
2,541
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/Kernel.luau
luau
.luau
--!strict --!native --!optimize 2 --[[ Pure buffer blur kernel. Based on the "3 box blurs approximate a Gaussian" technique from https://blog.ivank.net/fastest-gaussian-blur.html The pixel buffer is u8 RGBA, row-major: index = ((y * width) + x) * 4 + channel, with 0-based x, y, and channel (0 = R .. 3 = A). Eac...
9,024
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/Resample.luau
luau
.luau
--!strict --!native --!optimize 2 --[[ Bilinear resampling of u8 RGBA pixel buffers, used to implement the downscaleFactor option now that the engine has removed EditableImage:Resize. The blur runs on the downsampled copy and the result is upsampled back to the image's real size on write-back. The resize is sepa...
1,850
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/WorkerTemplate/Worker.luau
luau
.luau
--!strict --[[ Blur worker body, shared by the context-specific entry scripts (WorkerClient, WorkerServer, WorkerPlugin). Writing RunContext at runtime requires plugin capability, so the template ships one pre-set entry script per context and the Dispatcher enables only the one matching its environment; each entr...
558
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/WorkerTemplate/WorkerClient.server.luau
luau
.luau
--!strict -- Client-context worker entry. RunContext ships pre-set in the meta file -- because writing it at runtime requires plugin capability; the Dispatcher -- enables only the entry script matching its environment. local run = require(script.Parent:WaitForChild("Worker") :: ModuleScript) :: (Script) -> () run(scr...
69
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/WorkerTemplate/WorkerPlugin.server.luau
luau
.luau
--!strict -- Plugin-context worker entry (Studio edit mode inside a plugin tree). -- RunContext ships pre-set in the meta file because writing it at runtime -- requires plugin capability; the Dispatcher enables only the entry script -- matching its environment. local run = require(script.Parent:WaitForChild("Worker")...
78
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/src/WorkerTemplate/WorkerServer.server.luau
luau
.luau
--!strict -- Server-context worker entry. RunContext ships pre-set in the meta file -- because writing it at runtime requires plugin capability; the Dispatcher -- enables only the entry script matching its environment. local run = require(script.Parent:WaitForChild("Worker") :: ModuleScript) :: (Script) -> () run(scr...
69
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/tests/bands.test.luau
luau
.luau
--[[ Exhaustive unit tests for the band-layout math. Band layout is the likeliest place for off-by-one errors, so the invariants are checked with plain Lua across thousands of (height, sigma, workerCount) combinations and only violations surface through Jest. ]] local ReplicatedStorage = game:GetService("Replicate...
1,502
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/tests/editableimageblur.test.luau
luau
.luau
--[[ API-level tests for the public module: in-place buffer semantics, config validation, the downscaleFactor resample path, sync/async equivalence, request isolation under concurrency, and one real EditableImage roundtrip to prove buffer-format compatibility with ReadPixelsBuffer/WritePixelsBuffer. ]] local Asse...
2,938
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/tests/helpers.luau
luau
.luau
--!strict -- Shared buffer helpers for the test suite. All coordinates are 0-based to -- match the kernel's u8 RGBA buffer layout. local Helpers = {} -- Builds a width*height*4 u8 RGBA buffer from a per-pixel fill function -- returning four 0-255 channel values. function Helpers.makeBuffer( width: number, height: ...
833
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/tests/jest.config.luau
luau
.luau
return { testMatch = { "**/*.(spec|test)", }, testPathIgnorePatterns = { "Packages", "DevPackages", }, }
38
boatbomber/EditableImageBlur
boatbomber-EditableImageBlur-0ee6594/tests/kernel.test.luau
luau
.luau
--[[ Pure property tests for the buffer blur kernel: no Instances, no engine image APIs. These pin the blur math's fixed points (uniform images, step edges, oversized radii, alpha skipping) and prove the band decomposition used by the parallel path reproduces the full-image blur. ]] local ReplicatedStorage = game:...
2,033
7kayoh/Lydie
7kayoh-Lydie-8f60b62/Tests/Demo.client.luau
luau
.luau
-- 7kayoh -- Demo.lua -- 07 February 2022 -- Tests out every UI component in the library local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer.PlayerGui local Packages = ReplicatedStorage.Package...
1,921
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/AppBarButton.luau
luau
.luau
-- 7kayoh -- AppBarButton.lua -- 20 February 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Icons = require(Modules.Icons) local Scheme = require(Modules.Scheme) local IconButton = require(Components.Controls.IconButton) return function(props) return IconButton({ _ico...
162
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/AppTabBarButton.luau
luau
.luau
-- 7kayoh -- AppTabBarButton.lua -- 21 February 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Constants = require(Modules.Constants) local Icons = require(Modules.Icons) local Scheme = require(Mo...
373
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/BaseButton.luau
luau
.luau
-- 7kayoh -- TextButton.lua -- 10 February 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Constants = require(Modules.Constants) local Scheme = require(Modules.Scheme) local Children = Fusion.Chi...
571
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/Checkbox.luau
luau
.luau
-- 7kayoh -- Checkbox.lua -- 24 March 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Icons = require(Modules.Icons) local Scheme = require(Modules.Scheme) local BaseButton = require(Components.Con...
437
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/ColorPicker.luau
luau
.luau
-- 7kayoh -- ColorPicker.lua -- 24 Apr 2024 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Slider = require(Components.Controls.Slider) local Constants = require(Modules.Constants) local Scheme = requi...
1,060
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/IconButton.luau
luau
.luau
-- 7kayoh -- IconButton.lua -- 17 March 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Scheme = require(Modules.Scheme) local BaseButton = require(Components.Controls.BaseButton) local New = Fus...
254
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/IconTextButton.luau
luau
.luau
-- 7kayoh -- IconTextButton.lua -- 17 March 2022 local TextService = game:GetService("TextService") local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Scheme = require(Modules.Scheme) local BaseButton = re...
490
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/Slider.luau
luau
.luau
-- 7kayoh -- Slider.lua -- 2 Apr 2022 local UserInputService = game:GetService("UserInputService") local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Scheme = require(Modules.Scheme) local Constants = req...
943
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/TextButton.luau
luau
.luau
-- 7kayoh -- TextButton.lua -- 17 March 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Scheme = require(Modules.Scheme) local BaseButton = require(Components.Controls.BaseButton) local New = Fusi...
225
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/TextField.luau
luau
.luau
local TextService = game:GetService("TextService") local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Constants = require(Modules.Constants) local Scheme = require(Modules.Scheme) local Children = Fusion.C...
1,217
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Controls/Toggle.luau
luau
.luau
-- 7kayoh -- Toggle.lua -- 18 February 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Constants = require(Modules.Constants) local Scheme = require(Modules.Scheme) local BaseButton = require(Compo...
544
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Divider.luau
luau
.luau
-- 7kayoh -- Divider.lua -- 03 February 2022 --[[ Divider { AnchorPoint: Vector2?, Size: UDim2?, Position: UDim2?, ZIndex: number? } -> Frame --]] local Components = script.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require...
211
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Views/AppTabBar.luau
luau
.luau
-- 7kayoh -- BottomAppTabBar.lua -- 21 February 2022 local Components = script.Parent.Parent local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Children = Fusion.Children local New = Fusion.New return function(props) return New("Frame")({ BackgroundTransparency = 1, ZIndex = prop...
173
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Views/BottomAppBar.luau
luau
.luau
-- 7kayoh -- BottomAppBar.lua -- 07 February 2022 --[[ BottomAppBar { ZIndex: number?, [Fusion.Children]: {Instances} } -> Frame --]] local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion...
329
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Views/ToolTip.luau
luau
.luau
-- 7kayoh -- ToolTip.lua -- 4 April 2022 local Components = script.Parent.Parent local Modules = Components.Parent.Modules local Lydie = Components.Parent local Fusion = require(Lydie.Parent.Fusion) local Constants = require(Modules.Constants) local Scheme = require(Modules.Scheme) local Shadow = require(Components.S...
658
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Views/TopAppBar.luau
luau
.luau
-- 7kayoh -- TopAppbar.lua -- 03 February 2022 --[[ TopAppBar { Icon: Value<string>|string, Title: Value<string>|string, Subtitle: Value<string>|string, ZIndex: number?, [Fusion.Children]: {Instances} } -> Frame --]] local Components = script.Parent.Parent local Modu...
1,051
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/Views/Window.luau
luau
.luau
-- 7kayoh -- Window.lua -- 03 February 2022 --[[ Window { Size: Value<UDim2>|UDim2?, Position: Value<UDim2>|UDim2?, ZIndex: Value<number>|number?, Visible: Value<boolean>|boolean?, [Fusion.Children]: {Instances} } -> Frame --]] local Components = script.Parent.Parent local...
494
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Components/init.luau
luau
.luau
return { Controls = { AppBarButton = require(script.Controls.AppBarButton), AppTabBarButton = require(script.Controls.AppTabBarButton), BaseButton = require(script.Controls.BaseButton), Checkbox = require(script.Controls.Checkbox), ColorPicker = require(script.Controls.ColorP...
196
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/Constants.luau
luau
.luau
local EnumList = require(script.Parent.EnumList) local rect256 = Rect.new(Vector2.new(256, 256), Vector2.new(256, 256)) return { BottomRounded = EnumList.new("BottomRounded", { Center = rect256, Id = "rbxassetid://8858987793", }), Rounded = EnumList.new("Rounded", { Center = rect256, Id = "rbxassetid://88...
316
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/EnumList.luau
luau
.luau
-- bubba_biga -- EnumList.lua -- 17 January 2022 --[[ EnumList.new(name: string, enumTable: table {[string]: any}) --> Enum EnumList.IsA(self: any) --> boolean EnumList.GetEnums() --> table [EnumList instance only]: EnumList:IsEnumItem(enumItem: any) --> boolean EnumList:GetEnumItems() --> table {[string]: an...
431
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/Scheme/Schemes/Dark.luau
luau
.luau
-- 7kayoh -- Dark.lua -- 03 February 2022 return { Elevation = { Color3.fromRGB(0, 0, 0), Color3.fromRGB(20, 20, 20), Color3.fromRGB(25, 25, 25), Color3.fromRGB(30, 30, 30), }, Typography = { HeroLarge = { Font = Enum.Font.GothamBold, Size = 28 }, Hero = { Font = Enum.Font.GothamMedium, Size = 25 }, He...
629
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/Scheme/Schemes/Light.luau
luau
.luau
-- 7kayoh -- Light.lua -- 03 February 2022 return { Elevation = { Color3.fromRGB(200, 200, 200), Color3.fromRGB(245, 245, 245), Color3.fromRGB(250, 250, 255), Color3.fromRGB(255, 255, 255), }, Typography = { HeroLarge = { Font = Enum.Font.GothamBold, Size = 28 }, Hero = { Font = Enum.Font.GothamMedium, S...
629
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/Scheme/Schemes/SolarizedDark.luau
luau
.luau
-- 7kayoh -- SolarizedDark.lua -- 03 February 2022 return { Elevation = { Color3.fromHex("002b36"), Color3.fromHex("002b36"), Color3.fromHex("073642"), Color3.fromHex("073642"), }, Typography = { HeroLarge = { Font = Enum.Font.Ubuntu, Size = 28 }, Hero = { Font = Enum.Font.Ubuntu, Size = 25 }, Header =...
568
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/Scheme/init.luau
luau
.luau
-- bubba_biga -- Scheme.lua -- 03 February 2022 --[[ Scheme.Schemes: EnumList Scheme.Current: string Scheme.Switch(enumScheme: string) --> void ]] -- :( why wally local Scheme = {} :: { Switch: (string) -> (), SetAccent: (Color3|Fusion.Value<Color3>) -> (), _updateScheme: ({ any }, { any }) -> (), _...
582
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/SharedStates.luau
luau
.luau
-- SharedStates.lua -- 09 February 2022 return {}
15
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/Modules/init.luau
luau
.luau
return { Scheme = require(script.Scheme), Constants = require(script.Constants), EnumList = require(script.EnumList), Icons = require(script.Icons), SharedStates = require(script.SharedStates) }
43
7kayoh/Lydie
7kayoh-Lydie-8f60b62/src/init.luau
luau
.luau
return { Components = require(script.Components), Modules = require(script.Modules), }
18
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lib/init.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> export type Asset = { IconName: string, -- "icon-name" Id: number, -- 123456789 Url: string, -- "rbxassetid://123456789" ImageRectSize: Vector2, -- Vector2.new(48, 48) ImageRectOffset: Vector2, -- Vector2.new(648, 266) } local ...
1,916
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/compile-icons.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local stdio = require("@lune/stdio") local process = require("@lune/process") local Log = require("modules/Log") local CommandUtils = require("modules/CommandUtils") local StringUtils = require("modules/StringUtils")...
634
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/generate-md-index.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local StringUtils = require("modules/StringUtils") local IconSourcesDir = "icons/src" local IconDisplayDir = "icons/compiled/48px" local IconDisplayFileType = "png" local OutputPath = "md/icon-index.md" local Outpu...
283
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/make.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local process = require("@lune/process") local Log = require("modules/Log") local Run = require("modules/Run") local VersionInfo = require("../version-info") local RojoOutputPath = "build/lucide-roblox.rbxm" local ...
454
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/CommandUtils.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local process = require("@lune/process") local CommandUtils = {} -- We'll check some required commands in a sec function CommandUtils.CommandExists(binary: string): boolean if process.os ~= "windows" then -- Unix-compliance is simple!...
181
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/ParseArgs.luau
luau
.luau
-- MIT License | Copyright (c) 2023 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}, optio...
485
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/Run.luau
luau
.luau
-- MIT License | Copyright (c) 2023 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.SpawnResult local Args = args or {} local DirectRun = if...
219
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/StringUtils.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local StringUtils = {} function StringUtils.FileType(filePath: string): string? local Match = string.match(filePath, ".%.([^%.]+)$") if Match then Match = string.lower(Match) end return Match end function StringUtils.File...
876
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/tarmac-sync.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> -- Yes, this gets a bit hacky; we're reading from the manifest directly, so.. local fs = require("@lune/fs") local serde = require("@lune/serde") local Log = require("modules/Log") local StringUtils = require("modules/StringUtils") local LuaEncode...
688
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/stories/Lucide.story.luau
luau
.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local ServerStorage = game:GetService("ServerStorage") local Lucide = require(ServerStorage.Lucide) local function ApplyToInstance(object: Instance, properties: {[string]: any}): Instance if properties then for Property, Value in prop...
350
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/version-info.luau
luau
.luau
return { PackageVersion = "0.1.3", -- The version of the `lucide-roblox` package LucideVersion = "0.363.0", -- The version of the Lucide icon set itself the package ver noted above is on }
59
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/benchmarks/BenchmarkClient.client.luau
luau
.luau
--[[ - Author: Mawin CK - Date: 2026 ]] --[[ I never wrote this to be readable But who cares. ]] -- Services local Rep = game:GetService("ReplicatedStorage") local RepFirst = game:GetService("ReplicatedFirst") local UIS = game:GetService("UserInputService") local RS = game:GetService("RunService") -- Settings lo...
3,908
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/benchmarks/BenchmarkServer.server.luau
luau
.luau
--[[ - Author Mawin CK - Date: 2026 ]] --[[ Interactive server benchmark. Type single letters in chat to control the benchmark (e.g. "p" to start). Type "h" for the full list of commands. ]] -- Services local RS = game:GetService("RunService") local Rep = game:GetService("ReplicatedStorage") local SSS = game:Get...
3,058
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/src/BaseCastParallel.luau
luau
.luau
--[[ - Author : Mawin CK - Date : 2025 ]] local FastCast2 = script.Parent local FastCastEnums = require(FastCast2:WaitForChild("FastCastEnums")) local ActiveCast = require(FastCast2:WaitForChild("ActiveCast")) local TypeDef = require(FastCast2:WaitForChild("TypeDefinitions")) local ParallelSimulation = require(Fas...
2,934
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/src/BaseCastSerial.luau
luau
.luau
--[[ - Author : Mawin CK - Date : 2025 ]] local FastCast2 = script.Parent local SerialSimulation = require(script.Parent.SerialSimulation) local FastCastEnums = require(FastCast2:WaitForChild("FastCastEnums")) local ActiveCast = require(FastCast2:WaitForChild("ActiveCast")) local TypeDef = require(FastCast2:WaitFo...
2,110
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/src/Config.luau
luau
.luau
--[[ - Author : Mawin CK - Date : 2025 ]] local Configs = {} Configs.DebugLogging = { Casting = false, Segment = false, Hit = false, Pierced = false, Calculation = false, } Configs.VisualizeCasts = true return Configs
70
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/src/DefaultConfigs.luau
luau
.luau
--[[ - Author : Mawin_CK - Date : 2025 ]] --!strict -- Requires local TypeDefinitions = require(script.Parent.TypeDefinitions) local FastCastEnums = require(script.Parent:WaitForChild("FastCastEnums")) -- Defaults local Defaults = {} Defaults.VisualizationFolderName = "FastCastVisualizationObjects" -- Behavi...
465
weenachuangkud/FastCast2
weenachuangkud-FastCast2-8e16a31/src/FastCastEnums.luau
luau
.luau
--[[ - Author : Mawin CK - Date : 2025 ]] --!strict --[=[ @class FastCastEnums Enums for FastCast2. ]=] local Enums = {} --[=[ How High-Fidelity the cast simulation should be. @type HighFidelityBehavior {Default, Automatic, Always} @within FastCastEnums ]=] Enums.HighFidelityBehavior = { Default = 1, Aut...
131