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
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/uncollide.luau
luau
.luau
--Implementation of a command. --!strict local PhysicsService = game:GetService("PhysicsService") local IncludedCommandUtil = require(script.Parent.Parent:WaitForChild("IncludedCommandUtil")) local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "uncollide", Category = "...
599
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unff.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "unff", Category = "UsefulFunCommands", Description = "Removes all force fields from the given players.", Arguments = { { Type = "nexusAdminPlayers",...
175
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unfly.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) local FlyState = require(script.Parent.Parent:WaitForChild("Resources"):WaitForChild("FlyState")) return { Keyword = "unfly", Category = "UsefulFunCommands", Description = "Removes flight fro...
154
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/ungod.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "ungod", Category = "UsefulFunCommands", Description = "Sets the max health of the given players 100.", Arguments = { { Type = "nexusAdminPlayers", ...
185
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unjail.luau
luau
.luau
--Implementation of a command. --!strict local IncludedCommandUtil = require(script.Parent.Parent:WaitForChild("IncludedCommandUtil")) local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "unjail", Category = "UsefulFunCommands", Description = "Unjails a set of playe...
229
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unlock.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "unlock", Category = "UsefulFunCommands", Description = "Unlocks the character of the given players.", Arguments = { { Type = "nexusAdminPlayers", ...
168
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unname.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "unname", Category = "UsefulFunCommands", Description = "Removes the name of a player's character from :name.", Arguments = { { Type = "nexusAdminPla...
177
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/unstun.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "unstun", Category = "UsefulFunCommands", Description = "Unstuns a set of players.", Arguments = { { Type = "nexusAdminPlayers", Name = "...
174
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/walkspeed.luau
luau
.luau
--Implementation of a command. --!strict local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = {"walkspeed", "speed"}, Category = "UsefulFunCommands", Description = "Sets the walkspeeds of the given players.", Arguments = { { Type = "nexusAdmin...
209
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/IncludedCommands/UsefulFun/where.luau
luau
.luau
--Implementation of a command. --!strict local IncludedCommandUtil = require(script.Parent.Parent:WaitForChild("IncludedCommandUtil")) local Types = require(script.Parent.Parent.Parent:WaitForChild("Types")) return { Keyword = "where", Category = "UsefulFunCommands", Description = "Displays the positions ...
406
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Resources/NexusAdminClientLoader.server.luau
luau
.luau
--Loads Nexus Admin on the client. --!strict local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local GuiService = game:GetService("GuiService") local ContextActionService = game:GetService("ContextActionService") local NexusAdminClient = require(ReplicatedStorag...
727
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Server/Replicator.luau
luau
.luau
--Replicates instances to players. --!strict local Players = game:GetService("Players") local StarterPlayerScripts = game:GetService("StarterPlayer"):WaitForChild("StarterPlayerScripts") local Replicator = {} Replicator.__index = Replicator export type Replicator = typeof(setmetatable({}, Replicator)) --[[ Create...
371
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Server/ServerAuthorization.luau
luau
.luau
--Handles users being authorized. --!strict local GROUP_LEVEL_CACHE_EXPIRE_SECONDS = 30 * 60 local Players = game:GetService("Players") local GroupService = game:GetService("GroupService") local Authorization = require(script.Parent.Parent:WaitForChild("Common"):WaitForChild("Authorization")) local Configuration = r...
1,371
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Server/ServerFilter.luau
luau
.luau
--Filters strings to comply with Roblox's filtering rules. --!strict local Filter = require(script.Parent.Parent:WaitForChild("Common"):WaitForChild("Filter")) local ServerFilter = {} ServerFilter.__index = ServerFilter setmetatable(ServerFilter, Filter) export type ServerFilter = typeof(setmetatable({}, ServerFilte...
917
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Server/ServerLogsRegistry.luau
luau
.luau
--Manages logs that are streamed to clients on the server. --!strict local Players = game:GetService("Players") local Types = require(script.Parent.Parent:WaitForChild("Types")) local ServerLogsRegistry = {} ServerLogsRegistry.__index = ServerLogsRegistry type LogDataEntry = { MinimumAdminLevel: number, Lis...
865
TheNexusAvenger/Nexus-Admin
TheNexusAvenger-Nexus-Admin-e416436/src/Server/ServerMessages.luau
luau
.luau
--Sends messages to players. --!strict local ServerMessages = {} ServerMessages.__index = ServerMessages export type ServerMessages = { DisplayHintEvent: RemoteEvent, DisplayMessageEvent: RemoteEvent, DisplayNotificationEvent: RemoteEvent, } & typeof(setmetatable({}, ServerMessages)) --[[ Creates a ser...
447
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/.lune/build-rbxm.luau
luau
.luau
local process = require("@lune/process") -- stylua: ignore process.exec( "rojo", { "build", "--output", "fluid.rbxm" }, { stdio = "forward" } )
48
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/.lune/build-test-place.luau
luau
.luau
local process = require("@lune/process") process.exec( "rojo", { "build", "roblox-tests.project.json", "--output", "test-file.rbxl" }, { stdio = "forward" } )
50
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/.lune/dev.luau
luau
.luau
local process = require("@lune/process") local task = require("@lune/task") task.spawn(function() process.exec("rojo", { "sourcemap", "roblox-tests.project.json", "--output", "sourcemap.json", "--watch", "--include-non-scripts", }, { stdio = "forward", }) end) task.spawn(function() -- stylua: ignore...
132
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/anim/lerp.luau
luau
.luau
local graph = require("../reactive/graph") local oklab = require("../utils/oklab") local read = require("../utils/read") local types = require("../reactive/types") local active_animations = {} local function vector_lerp(a: vector, b: vector, t: number): vector return a + (b - a) * t end local function general_lerp(...
659
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/anim/spring/coefficients.luau
luau
.luau
local function under_dampened( t: number, speed: number, damping: number ): (number, number, number, number) local alpha = speed * math.sqrt(1 - damping ^ 2) local over_alpha = 1 / alpha local exp = math.exp(-1 * t * speed * damping) local exp_sin = exp * math.sin(alpha * t) local exp_cos = exp * math.cos(alpha...
559
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/anim/spring/spring_file.luau
luau
.luau
--[[ Temporarily named this until luau language server fixes issue ]] local coefficients = require("./coefficients") local graph = require("../../reactive/graph") local oklab = require("../../utils/oklab") local read = require("../../utils/read") local types = require("../../reactive/types") local SLEEP_VELOCITY = 1e...
1,670
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/init.luau
luau
.luau
if _G.__DEV__ == nil then -- thanks type state _G.__DEV__ = (game and not game:GetService("RunService"):IsStudio()) :: any end local action = require("@self/instances/action") local async = require("@self/reactive/async") local bind = require("@self/instances/bind") local changed = require("@self/instances/changed")...
720
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/action.luau
luau
.luau
local action_metatable_symbol = table.freeze({}) export type Identity = setmetatable<{ callback: (inst: Instance) -> (), priority: number, }, typeof(action_metatable_symbol)> local action = { metatable = action_metatable_symbol, } function action.is_action(action: unknown): boolean return type(action) == "table"...
135
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/bind.luau
luau
.luau
local action = require("./action") local graph = require("../reactive/graph") local scheduler = require("../scheduler") local types = require("../reactive/types") local untrack = require("../reactive/untrack") type PropertyPair<T> = { tag: "property", name: string, value: T, } type ReactivePropertyPair<T> = { tag...
1,621
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/changed.luau
luau
.luau
local action = require("./action") local graph = require("../reactive/graph") local function changed(property: string, fn: (any) -> ()) return action.create(function(instance: Instance) fn((instance :: any)[property]) local con = instance:GetPropertyChangedSignal(property):Connect(function() fn((instance :: a...
97
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/create.luau
luau
.luau
local action = require("./action") local bind = require("./bind") type Instances = { AudioChannelSplitter: AudioChannelSplitter, AudioPitchShifter: AudioPitchShifter, AudioDeviceOutput: AudioDeviceOutput, AudioChannelMixer: AudioChannelMixer, AudioTextToSpeech: AudioTextToSpeech, AudioDeviceInput: AudioDeviceInp...
1,374
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/for_keys.luau
luau
.luau
local graph = require("../reactive/graph") local read = require("../utils/read") local scheduler = require("../scheduler") local types = require("../reactive/types") local function indexes<K, VI, VO>( input: types.UsedAs<{ [K]: VI }>, transform: ( () -> VI, K, active: types.Readable<boolean> ) -> (VO, number?...
1,033
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/for_values.luau
luau
.luau
local graph = require("../reactive/graph") local read = require("../utils/read") local scheduler = require("../scheduler") local types = require("../reactive/types") local function values<V, KI, KO>( input: types.UsedAs<{ [KI]: V }>, transform: ( value: V, key: () -> KI, active: types.Readable<boolean> ) -> (...
1,104
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/instances/mount.luau
luau
.luau
local bind = require("./bind") local root = require("../reactive/root") local function mount(fn: () -> { [any]: any }, inst: Instance): () -> () return root(function() bind(inst, { fn(), }) end) end return mount
59
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/logging.luau
luau
.luau
--!optimize 1 local colorful = require("./vendor/colorful") local scheduler = require("./scheduler") local dev_mode = _G.__DEV__ == true local warn_storage: { [string]: true } = {} local function format(text: string, is_supressed: boolean): string if is_supressed then return (string.format("[fluid][SUPRESSED]: %*...
387
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/async.luau
luau
.luau
local graph = require("./graph") local logging = require("../logging") local task = task or require("@lune/task") type State = "busy" | "ok" --[[ async nodes creates a source node for the latest valid value and for the state. it also creates a reactive node which spawns a new thread that it runs under it's own scope....
495
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/cleanup.luau
luau
.luau
local graph = require("./graph") local get_scope = graph.get_scope local push_cleanup = graph.push_cleanup local function helper(obj: any) return if typeof(obj) == "RBXScriptConnection" then function() obj:Disconnect() end elseif type(obj) == "thread" then function() task.cancel(obj) end elseif typeof...
337
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/deferred.luau
luau
.luau
local graph = require("./graph") local types = require("./types") local function deferred<T>(callback: types.Effect<T>, initial_value: T) graph.set_group(graph.new_group("deferred")) local node = graph.create_reactive_node( graph.assert_stable_parent(), callback, "deferred", initial_value ) graph.evaluate...
132
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/derive.luau
luau
.luau
local graph = require("./graph") local types = require("./types") local function derive<T>(source: types.Effect<T>): types.Readable<T> graph.set_group(graph.new_group("derive")) local node = graph.create_reactive_node(graph.assert_stable_parent(), source, "lazy") local function evaluate() local result = graph.ev...
101
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/effect.luau
luau
.luau
local graph = require("./graph") local types = require("./types") local function effect<T>(callback: types.Effect<T>, initial_value: T) graph.set_group(graph.new_group("effect")) local node = graph.create_reactive_node(graph.assert_stable_parent(), callback, "eager", initial_value) graph.clear_group() graph.eva...
124
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/graph.luau
luau
.luau
local logging = require("../logging") local no_yield = require("../utils/no_yield") local result = require("../result") local scheduler = require("../scheduler") local types = require("./types") local dev_mode = _G.__DEV__ == true -- groups are an internal way of organizing nodes within developer mode to enhance -- a...
3,376
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/root.luau
luau
.luau
local graph = require("./graph") local types = require("./types") local refs: { [graph.Node<any>]: true? } = {} local function root<T...>(fn: (destroy: types.Cleanup) -> T...): (types.Cleanup, T...) graph.set_group(graph.new_group("root")) local node = graph.create_stable_node(graph.get_scope()) -- prevent gc of ...
199
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/source.luau
luau
.luau
local graph = require("./graph") local types = require("./types") local function get_argument_from<T>(...: T): (boolean, T) if select("#", ...) == 0 then return false, nil :: any end local first_value = ... return true, first_value end local function source<T>(initial_value: T): types.Source<T> graph.set_grou...
229
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/types.luau
luau
.luau
export type Readable<T> = () -> T export type Callable<T> = (value: T) -> () export type Effect<T> = (value: T) -> T export type Source<T> = ((T) -> T) & Readable<T> export type UsedAs<T> = T | Readable<T> export type Cleanup = () -> () return nil
78
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/reactive/untrack.luau
luau
.luau
local graph = require("./graph") local function untrack<T>(source: () -> T): T local scope = graph.get_scope() if (not scope) or (scope and not scope.effect) then return source() end -- temporarily unbind effect local effect = scope.effect scope.effect = false :: any local value = source() scope.effect = ...
88
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/result.luau
luau
.luau
type OkResult<T> = { success: true, value: T, } type FailResult<T> = { success: false, err: T, trace: string, } export type Identity<T, E> = OkResult<T> | FailResult<E> local function tostring_result<T>(result: FailResult<T>) return `err: {result.err}, trace: {result.trace}` end local function ok<T>(value: T)...
311
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/scheduler.luau
luau
.luau
local task = (task or require("@lune/task")) :: typeof(task) type RenderCallback = (delta_time: number) -> () local connections: { RenderCallback } = {} local scheduler = { connections = connections, } function scheduler.step(delta_time: number) for _, callback in connections do task.spawn(callback, delta_time)...
219
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/interval.luau
luau
.luau
local graph = require("../reactive/graph") local logging = require("../logging") local no_yield = require("./no_yield") local scheduler = require("../scheduler") local dev_mode = _G.__DEV__ == true local function interval<T>(func: (dt: number) -> T, hz: number?, offset: number?): () -> T local scope = graph.assert_s...
380
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/no_yield.luau
luau
.luau
local fluid_yield_error = "attempted to yield in a callback" export type Error = { trace: string, message: string, yielded: boolean, } -- errors "thread is not yieldable" or "attempt to yield across metamethod/C-call boundary" -- TODO: Luau type state issue local function no_yield<T..., R...>(callback: (T...) -> R...
351
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/oklab.luau
luau
.luau
local X_CONST = vector.create(0.4122214708, 0.5363325363, 0.0514459929) local Y_CONST = vector.create(0.2119034982, 0.6806995451, 0.1073969566) local Z_CONST = vector.create(0.0883024619, 0.2817188376, 0.6299787005) local oklab = {} function oklab.from_srgb(color: vector): vector local l = vector.dot(color, X_CONST)...
506
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/read.luau
luau
.luau
export type function CastIntoValue(value: type) local function get_return_for_fn(t: type) local values = t:returns() local head = values.head local tail = values.tail if head then local first = head[1] return first elseif tail then return tail else return types.singleton(nil) end end if v...
236
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/show.luau
luau
.luau
local derive = require("../reactive/derive") local read = require("./read") local types = require("../reactive/types") local untrack = require("../reactive/untrack") local function show<T, U>( condition: () -> any, truthy: types.UsedAs<T>, falsy: types.UsedAs<U>? ): () -> T | U return derive(function() if condit...
218
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/show_delay.luau
luau
.luau
local reat = require("./read") local switch_delay = require("./switch_delay") local types = require("../reactive/types") local function show<T, U>( condition: () -> any, truthy: (active: types.Readable<boolean>) -> (T, number?), falsy: ((active: types.Readable<boolean>) -> (U, number?))? ): () -> { T | U } return ...
199
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/switch.luau
luau
.luau
local derive = require("../reactive/derive") local read = require("./read") local types = require("../reactive/types") local untrack = require("../reactive/untrack") local function switch<T, U>(condition: () -> T) return function(options: { [T]: types.UsedAs<U> }): () -> read.CastIntoValue<U>? return derive(functio...
129
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/switch_delay.luau
luau
.luau
local derive = require("../reactive/derive") local graph = require("../reactive/graph") local result = require("../result") local scheduler = require("../scheduler") local types = require("../reactive/types") type Condition<T> = (types.Readable<boolean>) -> (T, number?) type SwitchGraph<Result> = { previous_effect: ...
936
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/utils/tags.luau
luau
.luau
local action = require("../instances/action") local cleanup = require("../reactive/cleanup") local graph = require("../reactive/graph") local function bind_tag(instance: Instance, tag: string) instance:AddTag(tag) cleanup(function() instance:RemoveTag(tag) end) end local function tags(tags: { string | () -> str...
185
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/src/vendor/colorful.luau
luau
.luau
export type Styler = (text: string) -> string local function createStylerFunction(opener: number, closer: number): Styler local open = string.format("%c[%dm", 27, opener) local close = string.format("%c[%dm", 27, closer) return function(text: string) return `{open}{text}{close}` end end local function combineS...
574
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/fuzz_tests/colors.fuzz.luau
luau
.luau
local oklab = require("@src/utils/oklab") local function within(epsilon: number) return function(value1: vector, value2: vector): boolean return vector.magnitude(value1 - value2) <= epsilon end end local colors_within = within(0.01) local function oklab_fuzz() for r = 1, 256 do for g = 1, 256 do for b = 1,...
159
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/hooks/init.luau
luau
.luau
--[[ hooks to improve developer experience ]] return { scheduler = require("@self/scheduler"), logging = require("@self/logging"), }
29
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/hooks/logging.luau
luau
.luau
--[[ hook onto when fluid warns used if you wanna catch a logging.warn/logging.warn_supressed this will allow you to hook onto that ]] local logging = require("@src/logging") type OnWarn = (text: string) -> () -- user callback for when fluid warns to the stdio -- if nothing is specified, fluid will output to the st...
269
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/hooks/scheduler.luau
luau
.luau
--[[ hooks wait/delay in fluid this allows you to timeskip forward in tests ]] local fluid = require("@src") local logging = require("@src/logging") local task = require("@lune/task") local scheduler_interface = fluid.__SCHEDULER_INTERFACE local step_fluid = fluid.provide_scheduler() local step_tick = 0 local wait...
516
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/init.luau
luau
.luau
--!nolint BuiltinGlobalWrite local process = require("@lune/process") local roblox = require("@lune/roblox") local _, _, _, FINISH = require("@vendor/testkit").test() local tests = {} function tests.fuzz() require("@self/fuzz_tests/colors.fuzz")() end function tests.unit_tests() require("@self/unit_tests/logging....
204
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/creating_instances.client.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TextService = game:GetService("TextService") local fluid = require(ReplicatedStorage.fluid) local random_words = fluid.source({ "hi", "bye", "meow", "mrrp" }) local function label() return fluid.create("T...
910
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/inbetween_state.client.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local fluid = require(ReplicatedStorage.fluid) local create = fluid.create local scale = UDim2.fromScale local px = UDim2.fromOffset fluid.mount(function() local color = fluid.source(Color3.new()) local size = fluid.source(px(60, 60)) fluid.effect(fu...
270
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/show.client.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local fluid = require(ReplicatedStorage.fluid) local mount = fluid.mount local source = fluid.source local show = fluid.show local show_delay = fluid.show_delay local create = fluid.create local scale = UDim2.fromScale local px = UDim2.fromOffset mount(f...
589
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/show_delay.client.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TextService = game:GetService("TextService") local fluid = require(ReplicatedStorage.fluid) local function main() local active = fluid.source(false) return fluid.create("ScreenGui" :: "ScreenGui")({ fl...
251
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/springs.client.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local fluid = require(ReplicatedStorage.fluid) local create = fluid.create local mount = fluid.mount local parent_screen = create("ScreenGui")({ Name = "ParentScreen", ResetOnSpawn = false, Parent = Players.Lo...
282
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/tests/roblox_tests/client/testing_delay.client.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local fluid = require(ReplicatedStorage.fluid) local create = fluid.create local keys = fluid.for_keys local mount = fluid.mount local source = fluid.source local parent_screen = create("ScreenGui")({ Name = "Pa...
253
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/vendor/signal.luau
luau
.luau
--!optimize 2 --!native local task = task or require("@lune/task") local tspawn = task.spawn local cyield = coroutine.yield local freeThread: thread? = nil local function deletedSignalError() error("Cannot fire a deleted signal", 2) end local errorTable = { fire = deletedSignalError, connect = deletedSignalError...
1,341
ffrostfall/fluid
ffrostfall-fluid-d7ddeb0/vendor/testkit.luau
luau
.luau
--!nocheck --!nolint ------------------------------------------------------------------------------- -- testkit.luau -- v0.7.3 -------------------------------------------------------------------------------- local color = { white_underline = function(s: string) return `\27[1;4m{s}\27[0m` end, white = function(s...
2,796
loneka/avalog
loneka-avalog-9153b4b/Include/EasyLoader/Client/init.server.luau
luau
.luau
local Avalog = require(script.Parent.Parent.Avalog) local Config = require(script.Parent.Config) local Icon = require(script.Parent.Parent.Avalog.Packages.TopbarPlus) Avalog.Config:Update(Config) Avalog:Start() local AvalogIcon = Icon.new():setImage("rbxassetid://109049301067448"):setLeft():setImageScale(0.55) Aval...
100
loneka/avalog
loneka-avalog-9153b4b/Include/EasyLoader/Config/init.luau
luau
.luau
--!strict local AvalogConfig = require(script.Parent.Parent.Avalog.Packages.Avalog.Config) local Config: AvalogConfig.Config = { Featured = { Items = {}, }, } return Config
47
loneka/avalog
loneka-avalog-9153b4b/Include/EasyLoader/Server/init.server.luau
luau
.luau
local Avalog = require(script.Parent.Parent.Avalog) local Config = require(script.Parent.Config) Avalog.Config:Update(Config) Avalog:Start()
34
loneka/avalog
loneka-avalog-9153b4b/scripts/pesdeToWally.luau
luau
.luau
local fs = require("@lune/fs") local serde = require("@lune/serde") local function convertDependencies(pesdeDependencies) local wallyDependencies = {} for alias, dependency in pairs(pesdeDependencies) do if next(dependency) ~= nil then assert(dependency.name == nil, `Package relies on Pesde package.`) if d...
375
loneka/avalog
loneka-avalog-9153b4b/src/API/Client.luau
luau
.luau
local SOURCE = script.Parent.SourceCode local PACKAGES = script.Parent.Parent local CLIENT = SOURCE.Client local States = require(SOURCE.Client.UI.States) local Fusion = require(PACKAGES.Fusion) local Bootloader = require(PACKAGES.Bootloader) local Config = require(script.Parent.Config) local ServiceProvider = require...
385
loneka/avalog
loneka-avalog-9153b4b/src/API/Server.luau
luau
.luau
local SOURCE = script.Parent.SourceCode local PACKAGES = script.Parent.Parent local SERVER = SOURCE.Server local Config = require(script.Parent.Config) local Bootloader = require(PACKAGES.Bootloader) local function GetModules() local Modules = {} for _, Child in ipairs(SERVER:GetChildren()) do if Child:IsA("Modu...
243
loneka/avalog
loneka-avalog-9153b4b/src/API/init.luau
luau
.luau
local RunService = game:GetService("RunService") if RunService:IsServer() then return require(script.Server) else return require(script.Client) end
33
loneka/avalog
loneka-avalog-9153b4b/src/Client/Avatar/AvatarManager.luau
luau
.luau
-- An AvatarManager represents an avatar and operations that can be performed on this avatar. local Avalog = script.Parent.Parent.Parent.Parent local HumanoidDescriber = require(Avalog.Parent.HumanoidDescriber) local Signal = require(Avalog.Parent.Signal) export type CatalogItem = { Id: number, Type: Enum.AvatarIte...
340
loneka/avalog
loneka-avalog-9153b4b/src/Client/Avatar/LocalAvatar.luau
luau
.luau
local AvatarEditorService = game:GetService("AvatarEditorService") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent local HumanoidDescriber = require(Avalog.Parent.HumanoidDescriber) local Signal = require(Avalog.Parent.Signal...
2,152
loneka/avalog
loneka-avalog-9153b4b/src/Client/CoreUI/init.luau
luau
.luau
local GuiService = game:GetService("GuiService") local StarterGui = game:GetService("StarterGui") local Avalog = script.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Config = require(Avalog.Config) local ITEM_HANDLERS = { Backpack =...
274
loneka/avalog
loneka-avalog-9153b4b/src/Client/Promo/init.luau
luau
.luau
local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent local Version = require(Avalog.SourceCode.Shared.Version) local Promo = {} function Promo:Start() if not RunService:IsStudio() then print(`Running Avalog {Version} 🛠️\n> https://devforum.roblox.com/t/3513102`) end end r...
87
loneka/avalog
loneka-avalog-9153b4b/src/Client/ServiceProvider.luau
luau
.luau
-- Provides some service. Must call `Setup` to setup services before getting any. -- This is how the plugin swaps its implementations. local Avalog = script.Parent.Parent.Parent local AvatarManager = require(Avalog.SourceCode.Client.Avatar.AvatarManager) export type AvatarManager = AvatarManager.AvatarManager local ...
155
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/AvatarViewport.luau
luau
.luau
local MarketplaceService = game:GetService("MarketplaceService") local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States)...
1,881
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/BuildTab.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local ServiceProvider = require(Avalog.SourceCode.Client.ServiceProvider) local ScaleLimits = require(Avalog.SourceCode.Shared.ScaleLimits) local StretchNumber = require(Ava...
678
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/CatalogItemsTab.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local CatalogSearch = require(Avalog.SourceCode.Client.UI.StateExtensions.CatalogSearch) local Navigation = require(Avalog.SourceCode.Client.UI.StateExtensions.Navigation) l...
920
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/CatalogMenu.luau
luau
.luau
local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Categories = require(Avalog.SourceCode.Shared.Categories) ...
515
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/CategoryBar.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Categories = require(Avalog.SourceCode.Shared.Categories) local CategoriesToNames = require(Avalog.SourceCod...
598
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/CustomButton.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Util = OnyxUI.Util local Themer = OnyxUI.Themer export type Props = {} & { [string]: any } return function(Scope: Fusion.Scope<any>, Props: Props) local Scope = Fu...
312
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/EquippedItemsTab.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local ItemsTab = require(script.Parent.ItemsTab) export type Props = ItemsTab.Props & {} return function(Scope:...
290
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/IconSwap.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) export type Props = { Options: Fusion.UsedAs<{ string }>?, Selection: Fusion.UsedAs<number>?, OnSwap: Fusion.UsedAs<(number) -> ()>?, } return function(Scope: Fusion.Sc...
381
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/InventoryItemsTab.luau
luau
.luau
local AvatarEditorService = game:GetService("AvatarEditorService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Navigation = require(Avalog.SourceCode.Client.UI.StateExtensions.Navigation) local States = require...
803
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/ItemButton.luau
luau
.luau
local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local...
1,858
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/ItemsTab.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Children = Fusion.Children local Out = Fusion.Out local OnChange = Fusion.OnChange export type Props = { [...
1,043
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/NavigationBar.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Config = require(Avalog.Config) local States = require(Avalog.SourceCode.Client.UI.States) local IconSwap = require(script.Parent.IconSwap) local Tabs = require(script...
757
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/PrimaryItemsTab.luau
luau
.luau
local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Sift = require(...
875
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/SkinTab.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local ServiceProvider = require(Avalog.SourceCode.Client.ServiceProvider) local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Children = Fusion.Children local...
480
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/SliderSetting.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Children = Fusion.Children export type Props = { [string]: any } & { Value: Fusion.UsedAs<number>?, Label: Fusion.UsedAs<string>?, } return function(Scope: Fusion...
279
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/TabDisplay.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Config = require(Avalog.Config) local States = require(Avalog.SourceCode.Client.UI.States) local Categories = require(Avalog.SourceCode.Shared.Categories) local Child...
777
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/Tabs.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(Avalog.SourceCode.Client.UI.States) local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Children = Fusion.Children export type Props = { [string]: any } & { Options: Fusion.UsedAs<{ string }>?,...
574
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Components/UpdatesIndicator.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Version = require(Avalog.SourceCode.Shared.Version) local Children = Fusion.Children export type Props = { Open: Fusion.UsedAs<boolean>?, Link: Fusion.UsedAs<strin...
1,128
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/ScreenGuis/AvalogMenu.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local ServiceProvider = require(Avalog.SourceCode.Client.ServiceProvider) local Version = require(Avalog.SourceCod...
914
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/ScreenGuis/AvalogMenu.story.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local OnyxUI = require(Avalog.Parent.OnyxUI) local States = require(Avalog.SourceCode.Client.UI.States) local StateExtensions = require(Avalog.SourceCode.Client.UI.StateExtensions) local DarkTheme = require(Avalog.Sour...
358
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/Avatar.luau
luau
.luau
local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Fusion = require(Avalog.Parent.Fusion) local CatalogItems = require(Avalog.SourceCode.Client.UI.StateExtensions.CatalogItems) local ServiceProvider = require(Ava...
920
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/CatalogItems.luau
luau
.luau
local AssetService = game:GetService("AssetService") local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent.Parent local Future = require(Avalog.Parent.Future) local AssetTypeFromId = require(Avalog.SourceCode.Shared...
902