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 |
|---|---|---|---|---|---|
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/Subscription.lua | luau | .lua | --!strict
-- OverHash deviation: local Redux = require(script.Parent.Parent.Parent.Redux)
local Batch = require(script.Parent.batch)
-- encapsulates the subscription logic for connecting a component to the redux store, as
-- well as nesting subscriptions of descendant components, so that we can ensure the
-- ancestor... | 883 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/batch.lua | luau | .lua | --!strict
local exports = {}
-- Default to a dummy "batch" implementation that just runs the callback
local function defaultNoopBatch(callback: () -> ())
callback()
end
local batch = defaultNoopBatch
-- Allow injecting another batching function later
exports.setBatch = function(newBatch: typeof(defaultNoopBatch))
... | 103 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/reactBatchedUpdates.roblox.lua | luau | .lua | local ReactRoblox = require(script.Parent.Parent.Parent["react-roblox"])
return ReactRoblox.unstable_batchedUpdates
| 26 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/shallowEqual.lua | luau | .lua | --!strict
-- OverHash deviation: use "LuauPolyfill" instead of "Collections"
local Collections = require(script.Parent.Parent.Parent.ReactLua.node_modules[".luau-aliases"]["@jsdotlua"].collections)
local Object = Collections.Object
local function shallowEqual(objA: any, objB: any)
if objA == objB then
return true... | 196 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/useSyncExternalStore.lua | luau | .lua | local _useSyncExternalStore = require(script.Parent.Parent.useSyncExternalStore.useSyncExternalStoreShimClient)
local _useSyncExternalStoreWithSelector =
require(script.Parent.Parent.useSyncExternalStore.useSyncExternalStoreWithSelector)
local exports = {}
exports.notInitialized = function()
error("uSES not initial... | 96 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/tableutil/init.lua | luau | .lua | -- Table Util
-- Stephen Leitnick
-- September 13, 2017
--[[
TableUtil.Copy(tbl: table): table
TableUtil.CopyShallow(tbl: table): table
TableUtil.Sync(tbl: table, template: table): void
TableUtil.FastRemove(tbl: table, index: number): void
TableUtil.FastRemoveFirstValue(tbl: table, value: any): (boolean, number)... | 2,028 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/include/RuntimeLib.lua | luau | .lua | local Promise = require(script.Parent.Promise)
local RunService = game:GetService("RunService")
local OUTPUT_PREFIX = "roblox-ts: "
local NODE_MODULES = "node_modules"
local DEFAULT_SCOPE = "@rbxts"
local TS = {}
TS.Promise = Promise
local function isPlugin(context)
return RunService:IsStudio() and context:FindFi... | 1,372 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Components/ScrollView/ScrollContentViewNativeComponent.luau | luau | .luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 386 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Components/ScrollView/ScrollViewNativeComponent.luau | luau | .luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 1,594 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Components/View/View.luau | luau | .luau | -- ROBLOX note: no upstream
--[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required... | 506 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Lists/AnimatedFlatList.luau | luau | .luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 456 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Lists/Hooks/init.luau | luau | .luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 153 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/Lists/Hooks/useFocusNavigationScrolling.luau | luau | .luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 904 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/virtualized-list/src/init.luau | luau | .luau | -- ROBLOX note: no upstream
--[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required... | 342 |
sircfenner/AutoImport | sircfenner-AutoImport-f98ad73/scripts/dump-services.luau | luau | .luau | local fs = require("@lune/fs")
local net = require("@lune/net")
local serde = require("@lune/serde")
print("Fetching client version...")
local versionRes = net.request("https://clientsettings.roblox.com/v2/client-version/WindowsStudio64")
local version = serde.decode("json", versionRes.body).clientVersionUpload
prin... | 806 |
sircfenner/AutoImport | sircfenner-AutoImport-f98ad73/src/getModules.luau | luau | .luau | local moduleServices = require(script.Parent.moduleServices)
local excludedRoots = {
"_Index", -- wally
"node_modules", -- npm/yarn
}
local function isImportable(module: ModuleScript)
local parent = module.Parent
while parent and parent ~= game do
if parent:IsA("Folder") and table.find(excludedRoots, parent.Nam... | 599 |
sircfenner/AutoImport | sircfenner-AutoImport-f98ad73/src/moduleServices.luau | luau | .luau | return {
game:GetService("Workspace"),
game:GetService("ReplicatedFirst"),
game:GetService("ReplicatedStorage"),
game:GetService("ServerScriptService"),
game:GetService("ServerStorage"),
game:GetService("StarterGui"),
game:GetService("StarterPack"),
game:GetService("StarterPlayer"),
}
| 64 |
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 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/Helpers/PanelRelocator.luau | luau | .luau | --// Administer
--// CodingAgent 2026
--// Administer - PanelRelocator
--// Patches AdministerMainPanel's script Sources from the Rojo-managed
--// PanelScripts folder at server startup, before any panel is cloned.
--//
--// HOW IT WORKS:
--// PanelScripts/ mirrors the script hierarchy inside AdministerMainPanel.
--... | 731 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/Helpers/ParseCommand.luau | luau | .luau | --// Administer
--// CodingAgent 2026
--// This code sucks, hopefully it will never have to be seen
return function(Input: string): { Command: string, Flags: {} }
local Options: {} = {}
local Split = {}
local Quotes = false
local Buff = ""
for char in string.gmatch(Input .. " ", ".") do
if char == "'" or char ... | 367 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/Importer.luau | luau | .luau | --// Administer
--// CodingAgent 2026
local Importer = {}
local Utils = require(script.Parent.Utilities)
Importer.Systems = {
"EXE_5",
"EXE_6",
"HD_ADMIN",
"ADONIS",
"BASIC_ADMIN_ESSENTIALS",
"KOHLS_ADMIN",
"KOHLS_ADMIN_2",
}
function Importer.GetData(SystemName)
if SystemName == "EXE_5" then
local Exe5El... | 1,000 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/SettingsAPI/Signal/Connection.luau | luau | .luau | local Connection = {}
Connection.__index = Connection
function Connection.new(callback)
local newConnection = {}
newConnection.callback = function(...)
callback(...)
end
return newConnection
end
function Connection:_Fire()
if self.callback then
task.spawn(self.callback)
end
end
function Connection:Disconne... | 72 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/SettingsAPI/Signal/init.luau | luau | .luau | local Signal = {}
Signal.__index = Signal
local Connection = require(script.Connection)
local HttpService = game:GetService("HttpService")
function Signal.new()
local connectionSignal = {}
connectionSignal.Connections = {}
function connectionSignal:Connect(setting: string, callback)
local connection = Connectio... | 125 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/Modules/SettingsAPI/init.luau | luau | .luau | -- dogo8me2 2024
local SettingsAPI = {}
local Types = require(script.Parent.Parent.Core.Types)
local Signal = require(script.Signal)
local DataStoreService = game:GetService("DataStoreService")
local HttpService = game:GetService("HttpService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Pla... | 2,113 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Loader/SettingsAPIExample.server.luau | luau | .luau | local SettingsAPI = require(game.ServerScriptService.Administer.Loader.Modules.SettingsAPI)
local Settings = SettingsAPI.new({
["_SettingsMeta"] = {
["Name"] = "Administertesttesttest",
},
["General"] = {
["_CategoryOpts"] = {
["DisplayName"] = "General",
["Color"] = "#fff",
["Description"] = "Configu... | 494 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/ButtonAnims.luau | luau | .luau | return function(UIInstance, Mouse, Duration, Color)
if UIInstance.ClipsDescendants == false then
UIInstance.ClipsDescendants = true
end
if UIInstance.AutoButtonColor == true then
UIInstance.AutoButtonColor = false
end
local ASX, ASY = UIInstance.AbsoluteSize.X, UIInstance.AbsoluteSize.Y
local APX, APY = UIIn... | 294 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Libraries/ConfettiCreator.luau | luau | .luau | local gui = script.Parent.Parent.Parent
local types = script:WaitForChild("ConfettiTypes")
local deleteConfettiAfter = 10
local rnd = Random.new()
function CreateOne(origin, colors, minSize, maxSize)
local allTypes = types:GetChildren()
local confetti = allTypes[rnd:NextInteger(1, #allTypes)]:Clone()
confetti.... | 1,150 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Libraries/Neon.luau | luau | .luau | -- fractality
local module = {}
local RunService = game:GetService("RunService")
local camera = workspace.CurrentCamera
do
local function IsNotNaN(x)
return x == x
end
local continue = IsNotNaN(camera:ScreenPointToRay(0, 0).Origin.x)
while not continue do
RunService.RenderStepped:wait()
continue = IsNotNaN... | 1,874 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Libraries/QuickBlur.luau | luau | .luau | local QuickBlur = {} :: QuickBlurImpl
type QuickBlurImpl = {
Blur: (self: QuickBlurImpl, Image: EditableImage, Size: number?, Desample: number?) -> EditableImage,
}
function QuickBlur:Blur(Image, Size, Desample)
Size = Size or 3
Desample = Desample or 12
local ImageWidth = Image.Size.X // Desample
local ImageHe... | 735 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Admins.luau | luau | .luau | --// CodingAgent 2026
local Modules = script.Parent
local Libs = script.Parent.Parent.Libraries
local Utilities = require(Modules.Utilities)
local Frontend = require(Modules.Frontend)
local Var = require(Modules.Variables)
local Admins = {}
local Connections: { RBXScriptConnection } = {}
local RanksFrame = Var.Main... | 8,900 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/ClientSettings/ElementModules/Dropdown/init.luau | luau | .luau | -- AjaxTiba
-- Services
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
local guiService = game:GetService("GuiService")
local Frontend = require(script.Parent.Parent.Parent.Frontend)
local Utilities = require(script.Parent.Parent.Parent.Utilities)
local ... | 797 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/ClientSettings/ElementModules/InputBox.luau | luau | .luau | -- AjaxTiba
-- Services
local runService = game:GetService("RunService")
local guiService = game:GetService("GuiService")
local module = {}
module.__index = module
local LastGoodWidth
function module.setupTextBox(textBox: TextBox)
local self = {}
self.textBox = textBox
self.value = ""
self.ValueChangedBindabl... | 204 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/ClientSettings/ElementModules/KeybindSelector.luau | luau | .luau | -- AjaxTiba
-- Services
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
local guiService = game:GetService("GuiService")
local module = {}
module.__index = module
function module.createKeybindListener(bounds: GuiButton, indicationText: TextLabel)
local ... | 423 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/ClientSettings/ElementModules/Slider.luau | luau | .luau | -- AjaxTiba
-- Services
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
local guiService = game:GetService("GuiService")
local module = {}
module.__index = module
function module.createSlider(bounds: GuiButton, min, max, step, fill: Frame, head: Frame)
... | 576 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/ClientSettings/ElementModules/Toggle.luau | luau | .luau | -- AjaxTiba
-- Services
local tweenService = game:GetService("TweenService")
local module = {}
module.__index = module
function module.createSwitch(bounds: GuiButton, indicator: TextLabel)
local self = {}
self.boundingArea = bounds
self.indicatingText = indicator
self.value = false
bounds.MouseButton1Click:C... | 197 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Frontend.luau | luau | .luau | --// Administer
--// CodingAgent 2024-2026
local Frontend = { Popup = {}, Drawer = {} }
local Libraries = script.Parent.Parent.Libraries
local Modules = script.Parent
local Utilities = require(Modules.Utilities)
local Ripple = require(Modules.Parent.Parent.ButtonAnims)
local Var = require(Modules.Variables)
local Ty... | 14,036 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Helpers/FirstTimeSetup/Tour/init.luau | luau | .luau | -- AjaxTiba, July 2026 (For pyxfloof)
local Root = script.Parent.Parent.Parent
local Var = require(Root.Variables)
local Frontend = require(Root.Frontend)
local Utilities = require(Root.Utilities)
local TweenService = Var.Services.TweenService
local Frames = Var.MainFrame.Welcome.SetupFull
local tour = {}
tour.Butt... | 1,985 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Helpers/FirstTimeSetup/init.luau | luau | .luau | --// CodingAgent 2026
local Root = script.Parent.Parent
local Var = require(Root.Variables)
local Frontend = require(Root.Frontend)
local Utilities = require(Root.Utilities)
local Page
local Frames = Var.MainFrame.Welcome.SetupFull
local TweenService = Var.Services.TweenService
local function SwapPages(Page1, Page... | 2,156 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Types.luau | luau | .luau | local Types = {}
export type ButtonConfig = {
Icon: string,
AppName: string,
Background: string,
Description: string,
MainButtonClick: () -> (),
MainButtonFrame: Frame | CanvasGroup?,
ButtonID: string,
SubIcons: {
{
Icon: string,
Name: string,
Frame: Frame | CanvasGroup,
Click: () -> (),
Bu... | 100 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/UI/AdminHelperEnv.luau | luau | .luau | return {
EditMode = false,
MaxPeople = 50,
EditModeMembers = {},
EditModeApps = {},
EditModeName = "",
EditModeColor = "",
EditModeReason = "",
EditModeIsProtected = false,
EditModeRank = 0,
HasPopulatedApps = false,
Strings = {
["_locale"] = "en_US",
["WelcHeaderNew"] = "Welcome to the Rank Creator"... | 775 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/UI/Settings.luau | luau | .luau | local module = {}
local Variables = require(script.Parent.Parent.Variables)
local settings = Variables.MainFrame.Configuration.Settings
type settingProperties = { title: string, subtitle: string, description: string, placeholder: string }
type category = { title: string, containers: { title: string, entries: { setting... | 86 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Variables.luau | luau | .luau | --// Administer
--// CodingAgent (2024-2026)
local Variables = {}
Variables.AdministerRoot = script.Parent.Parent.Parent
Variables.Remotes = game.ReplicatedStorage:WaitForChild("Administer", 15)
Variables.MainFrame = Variables.AdministerRoot:WaitForChild("Main", 10)
Variables.Mobile = false
Variables.InitErrored = f... | 318 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/Modules/Widgets.luau | luau | .luau | --// Administer
--// CodingAgent 2024-2026
local Widgets = {
Active = {},
}
local Modules = script.Parent
local Utilities = require(Modules.Utilities)
local Frontend = require(Modules.Frontend)
local Var = require(Modules.Variables)
function Widgets.GetAvailableWidgets(): { Small: { {} }, Large: { {} } }
local Wi... | 4,053 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Client/init.client.luau | luau | .luau | --// Administer
--// CodingAgent 2022-2026
local SharedLibs = script.Libraries
local Assets = script.Assets
local Modules = script.Modules
local Var = require(Modules.Variables)
task.spawn(function()
for _, effect in ipairs(game.Lighting:GetChildren()) do
if effect:IsA("BlurEffect") then
effect.Size = 0
end
... | 4,449 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/CommandBar.client.luau | luau | .luau | --// darkpixlz 2024
--// Administer
local TS = game:GetService("TweenService")
local UIS = game:GetService("UserInputService")
local CommandBar = script.Parent.CommandBar
local Actions = {
["Moderation+_Ban"] = {
["ActionName"] = "Ban",
["Description"] = "Ban a set of users.",
["FromApp"] = "Configuration",
... | 1,288 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/Relocator.luau | luau | .luau | --// Administer - UIScript Relocator
--// Moves scripts from the UIScripts holder folder to their correct UI parents,
--// then enables them. Called once at the top of Client/init.client.luau.
local Panel = script.Parent
local Holder = script.Parent.UIScripts
local function place(scriptName: string, getParent: () -> ... | 461 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/UIScripts/FullscreenMessage_Fade.client.luau | luau | .luau | --// CodingAgent 2024
local TS = game:GetService("TweenService")
TS:Create(
script.Parent,
TweenInfo.new(0.75, Enum.EasingStyle.Quart),
{ GroupTransparency = 0, Size = UDim2.new(1, 0, 1, 0) }
):Play()
local Blur = nil
script.Parent.Exit.MouseButton1Click:Connect(function()
TS:Create(
script.Parent,
TweenInf... | 171 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/UIScripts/Notifications_InitialTemplate_Neon.client.luau | luau | .luau | local ButtonAnims = game.Players.LocalPlayer.PlayerGui:FindFirstChild("AdministerMainPanel")
and game.Players.LocalPlayer.PlayerGui.AdministerMainPanel:FindFirstChild("ButtonAnims")
if not ButtonAnims then
return
end
local neonModule = ButtonAnims:WaitForChild("neon", 5)
if not neonModule then
return
end
local neo... | 141 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/UIScripts/Notifications_Watcher.client.luau | luau | .luau | script.Parent.ChildAdded:Connect(function(Inst)
xpcall(function()
Inst.NotificationContent.Background.LocalScript.Enabled = true
end, function() end)
end)
| 35 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Administer/Resources/AdministerMainPanel/UIScripts/Spinner_NewAdmin.client.luau | luau | .luau | local target = script.Parent
if not target:IsA("GuiObject") then
return
end
game:GetService("TweenService")
:Create(target, TweenInfo.new(0.3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1), { Rotation = 360 })
:Play()
| 66 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/Clear.server.luau | luau | .luau | local DataStoreService = game:GetService("DataStoreService")
local StoresToClear = {
Admins = DataStoreService:GetDataStore("Administer_Admins"),
Home = DataStoreService:GetDataStore("Administer_HomeStore"),
AppData = DataStoreService:GetDataStore("Administer_AppData"),
Settings = DataStoreService:GetDataStore("Ad... | 346 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/ColorGrouping.server.luau | luau | .luau | local colorGroups = 15
local administerGUI = game.ServerScriptService.Administer.Resources.AdministerMainPanel
local administerGUIObjects = {}
function reverseTable(t)
local reversed = {}
for i = #t, 1, -1 do
reversed[#reversed + 1] = t[i]
end
return reversed
end
function colorSequenceToRGB(colorSequence: Col... | 1,801 |
administer-org/administer | administer-org-administer-31365ed/src/ServerScriptService/gadgetify.server.luau | luau | .luau | local gadgetImages = {
"132155185248849",
"96879314613381",
"75428722132628",
"130692500562659",
"120002585152101",
"109826556268480",
"80314306562423",
"103465951664730",
"73339990402667",
"134954987288161",
"101058423449889",
"113361826673953",
"93764028428803",
"133407670117159",
"70699994424997",
"1... | 271 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/Benchmarks/bench1.client.luau | luau | .luau | -- Services
local RS = game:GetService("RunService")
local Rep = game:GetService("ReplicatedStorage")
local UIS = game:GetService("UserInputService")
local RepFirst = game:GetService("ReplicatedFirst")
-- Requires
local FastCastM = require(Rep:WaitForChild("FastCast2"))
-- Variables
local ProjectileContainer = Instan... | 988 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/BaseCast.luau | luau | .luau | --[[
- Author : Mawin CK
- Date : 2025
-- Verison : 0.0.9
]]
-- Services
--local HTTPS = game:GetService("HttpService")
local RS = game:GetService("RunService")
-- Requires
local FastCast2 = script.Parent
local FastCastM = require(FastCast2)
local FastCastEnums = require(FastCast2:WaitForChild("FastCastEnums"))
l... | 2,440 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/Configs.luau | luau | .luau | --[[
- Author : Mawin CK
- Date : 2025
-- Verison : 0.0.3
]]
-- Haha, noob
local Configs = {}
Configs.DebugLogging = {
Casting = false,
Segment = false,
Hit = false,
RayPierce = false,
Calculation = false,
}
Configs.VisualizeCasts = true
return Configs
| 90 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/DefaultConfigs.luau | luau | .luau | --[[
- Author : Mawin_CK
- Date : 2025
-- Verison : 0.0.6
]]
--!strict
-- Requires
local TypeDefinitions = require(script.Parent.TypeDefinitions)
local FastCastEnums = require(script.Parent:WaitForChild("FastCastEnums"))
-- Defaults
local Defaults = {}
Defaults.VisualizationFolderName = "FastCastVisualizationO... | 537 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/FastCastEnums.luau | luau | .luau | --[[
- Author : Mawin CK
- Date : 2025
-- Verison : 0.0.9
]]
--!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 = {
... | 143 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/FastCastVMs/ClientVM.client.luau | luau | .luau | --[[
- Author : Mawin CK
- Date : 11/03/2025
]]
-- Modules
-- REPLACE WITH ACTUAL PATH (Just use ObjectValue lol)
--local Rep = game:GetService("ReplicatedStorage")
--local FastCast2Module = Rep:WaitForChild("FastCast2")
local FastCast2Module: ModuleScript = script:WaitForChild("FastCast2").Value :: ModuleScript
... | 632 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/FastCastVMs/ServerVM.server.luau | luau | .luau | --[[
- Author : Mawin CK
- Date : 11/03/2025
]]
-- Modules
-- REPLACE WITH ACTUAL PATH (Just use ObjectValue lol)
--local Rep = game:GetService("ReplicatedStorage")
--local FastCast2Module = Rep:WaitForChild("FastCast2")
local FastCast2Module: ModuleScript = script:WaitForChild("FastCast2").Value :: ModuleScript
... | 679 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/FastCastVMs/init.luau | luau | .luau | -- ******************************* --
-- AX3NX / AXEN --
-- ******************************* --
-- Modded by Mawin_CK
-- Desc : I make it more customizable and more easy to use :P
-- Services
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local ServerScriptService = game:GetService("ServerScriptSer... | 1,459 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/ObjectCache.luau | luau | .luau | --[[
- Modded By Mawin_CK
Desc : i added __type = "ObjectCache" to letting FastCast Recongize that this is ObjectCache
]]
--[=[
@class ObjectCache
@private
@external ObjectCache https://devforum.roblox.com/t/objectcache-a-modern-blazing-fast-model-and-part-cache/3104112
ObjectCache usage should be derived from the... | 1,587 |
weenachuangkud/FastCast2 | weenachuangkud-FastCast2-3267a94/src/FastCast2/Signal.luau | luau | .luau | --!optimize 2
--!nocheck
--!native
export type Connection<U...> = {
Connected: boolean,
Disconnect: (self: Connection<U...>) -> (),
Reconnect: (self: Connection<U...>) -> (),
}
export type Signal<T...> = {
RBXScriptConnection: RBXScriptConnection?,
Connect: <U...>(self: Signal<T...>, fn: (...any) -> (), U...) ... | 1,578 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Client.luau | luau | .luau | --!optimize 2
--!native
-- Services.
local CollectionService = game:GetService("CollectionService")
local RunService = game:GetService("RunService")
-- Attempt to find the plugin object.
local plugin = script:FindFirstAncestorOfClass("Plugin")
-- Network packets.
local packets
if not plugin then -- Game context.
pa... | 3,307 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Data/Defaults.luau | luau | .luau | --!optimize 2
-- Services.
local CollectionService = game:GetService("CollectionService")
-- Attempt to find the plugin object.
local plugin = script:FindFirstAncestorOfClass("Plugin")
-- Default defaults.
local defaults = {
Time = 1,
EasingStyle = "Linear",
EasingDirection = "In",
DelayTime = 0,
Reverses =... | 408 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Data/Types.luau | luau | .luau | -- Signal types from Signal+.
export type Connection = {
Connected: boolean,
Disconnect: typeof(
-- Removes the connection from the signal.
-- <strong>The connection’s data remains.</strong>
function(connection: Connection) end
)
}
export type Signal<Parameters...> = {
Connect: typeof(
-- Connects a functio... | 480 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Server.luau | luau | .luau | --!optimize 2
--!native
-- Services.
local CollectionService = game:GetService("CollectionService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
-- Get and verify network packets.
local packets = CollectionService:GetTagged("Packets")[1]
if packets then
packets = requir... | 3,725 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Utilities/EasingFunctions.luau | luau | .luau | --!optimize 2
--!native
-- Services.
local CollectionService = game:GetService("CollectionService")
-- Elastic constants.
local elasticInP = 0.3
local elasticInA = 1.0
local elasticInS = elasticInP*0.25
local elasticOutP = 0.3
local elasticOutA = 1.0
local elasticOutS = elasticOutP*0.25
local elasticInOutP = 0.45
loc... | 2,785 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Utilities/UpdateFunctions.luau | luau | .luau | --!optimize 2
-- Value functions.
local valueFunctions = require(script.Parent.ValueFunctions)
local normalValueFunctions = valueFunctions.Normal
local advancedValueFunctions = valueFunctions.Advanced
-- Property validation function.
local function checkProperty(instance, property)
instance[property] = instance[pro... | 554 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-c1b96de/source/Utilities/ValueFunctions.luau | luau | .luau | --!optimize 2
--!native
local function numberLerper(a, b)
local difference = b - a
return function(alpha)
return a + difference*alpha
end
end
local function normalize(x, y, z, w)
local m = math.sqrt(x*x + y*y + z*z + w*w)
if m == 0 then return 0, 0, 0, 1 end
m = 1/m
return x*m, y*m, z*m, w*m
end
local func... | 4,425 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/atlas.luau | luau | .luau | --!strict
local Internal = require("./internal")
local AssetService = game:GetService("AssetService")
local MAX_ATLAS_SIZE = 1024
export type CreateAtlasParams = {
CornerRadius: number?,
CornerSmoothing: number?,
TopLeftRadius: number?,
TopRightRadius: number?,
BottomRightRadius: number?,
BottomLeftRadius: nu... | 3,073 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/figma_squircle_luau/distribute.luau | luau | .luau | --!strict
local types = require("./types")
type NormalizedCorners = types.NormalizedCorners
-- Corner indices: 1=TL, 2=TR, 3=BR, 4=BL
-- Adjacency (hardcoded):
-- TL: TR via top(width), BL via left(height)
-- TR: TL via top(width), BR via right(height)
-- BR: BL via bottom(width), TR via right(height)
-- B... | 737 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/figma_squircle_luau/draw.luau | luau | .luau | --!strict
const types = require("./types")
type CornerPathParams = types.CornerPathParams
type SvgOp = types.SvgOp
type SvgPathInput = {
width: number,
height: number,
top_left_path_params: CornerPathParams,
top_right_path_params: CornerPathParams,
bottom_right_path_params: CornerPathParams,
bottom_left_path_p... | 1,616 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/figma_squircle_luau/init.luau | luau | .luau | --!strict
const types = require("./figma_squircle_luau/types")
const distribute = require("./figma_squircle_luau/distribute")
const draw = require("./figma_squircle_luau/draw")
export type FigmaSquircleParams = types.FigmaSquircleParams
export type SvgOp = types.SvgOp
const function get_svg_path(params: FigmaSquircl... | 608 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/figma_squircle_luau/types.luau | luau | .luau | --!strict
export type MoveToOp = {
type: "M",
x: number,
y: number,
}
export type LineToOp = {
type: "L",
x: number,
y: number,
}
export type CubicBezierOp = {
type: "c",
dx1: number,
dy1: number,
dx2: number,
dy2: number,
dx: number,
dy: number,
}
export type ArcOp = {
type: "a",
rx: number,
ry: nu... | 352 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/flatten.luau | luau | .luau | --!strict
const squircleTypes = require(script.Parent.figma_squircle_luau)
type SvgOp = squircleTypes.SvgOp
const VERTEX_STRIDE = 8
const INITIAL_CAPACITY = 128
-- Module-level scratch buffer for De Casteljau subdivision stack, reused across calls.
const MAX_DEPTH = 16
const STACK_STRIDE = 36
const stackBuf = buffe... | 2,968 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/init.luau | luau | .luau | --!strict
--!nolint LocalShadow
const Internal = require("@self/internal")
const Atlas = require("@self/atlas")
const AssetService = game:GetService("AssetService")
export type CreateParams = {
CornerRadius: number?,
CornerSmoothing: number?,
TopLeftRadius: number?,
TopRightRadius: number?,
BottomRightRadius: n... | 3,211 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/internal.luau | luau | .luau | --!strict
--!nolint LocalShadow
local FigmaSquircle = require("./figma_squircle_luau")
local Flatten = require("./flatten")
local Rasterize = require("./rasterize").rasterize
export type RedrawParams = {
CornerRadius: number?,
CornerSmoothing: number?,
TopLeftRadius: number?,
TopRightRadius: number?,
BottomRight... | 1,846 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/src/rasterize.luau | luau | .luau | --!strict
--!nolint LocalShadow
-- Edge buffer layout (f32 fields at byte offsets)
-- [0] yMin [4] yMax [8] xAtYmin [12] dxPerDy [16] dir (+1/-1)
const EDGE_STRIDE = 20
-- Vertex buffer layout (f32 fields at byte offsets)
-- [0] x [4] y
const VERTEX_STRIDE = 8
-- Module-level scratch buffers, reused across rend... | 4,400 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/test.client.luau | luau | .luau | --!strict
const RepStorage = game:GetService("ReplicatedStorage")
const UserInputService = game:GetService("UserInputService")
const Players = game:GetService("Players")
const Supercorner = require(RepStorage.supercorner)
const STROKE_RADIUS = 0
const SIZE = 200
const SLIDER_HEIGHT = 40
const GAP = 80
const ScreenG... | 2,684 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/test_atlas.client.luau | luau | .luau | --!strict
local RepStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local Supercorner = require(RepStorage.supercorner)
local Atlas = Supercorner.atlas
local SIZE = 200
local SLIDER_HEIGHT = 40
local KEYPOINTS = 25
... | 2,690 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner/test_cache.client.luau | luau | .luau | --!strict
const RepStorage = game:GetService("ReplicatedStorage")
const Players = game:GetService("Players")
const Supercorner = require(RepStorage.supercorner)
const GRID_COLS = 4
const GRID_ROWS = 4
const CELL_SIZE = 100
const GAP = 10
const CORNER_RADIUS = 25
const CORNER_SMOOTHING = 1.
const ScreenGui = Instanc... | 1,037 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_fusion03/src/atlas.luau | luau | .luau | --!strict
local Fusion =
require(script.Parent.Parent.Parent.Parent._Index["elttob_fusion@0.3.0"].fusion)
local Supercorner =
require(script.Parent.Parent.Parent.Parent._Index["cameronpcampbell_supercorner@0.1.0"].supercorner)
local Shared = require(script.Parent.shared)
local Peek, Children = Fusion.peek, Fusion.... | 1,968 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_fusion03/src/init.luau | luau | .luau | --!strict
local Fusion =
require(script.Parent.Parent.Parent._Index["elttob_fusion@0.3.0"].fusion)
local Supercorner =
require(script.Parent.Parent.Parent._Index["cameronpcampbell_supercorner@0.1.0"].supercorner)
local Shared = require(script.shared)
local AtlasFusion = require(script.atlas)
local Peek, Children =... | 3,061 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_fusion03/src/shared.luau | luau | .luau | --!strict
local Fusion =
require(script.Parent.Parent.Parent.Parent._Index["elttob_fusion@0.3.0"].fusion)
local Peek, Children = Fusion.peek, Fusion.Children
type Scope = Fusion.Scope<typeof(Fusion)>
type UsedAs<T> = Fusion.UsedAs<T>
type Child = Fusion.Child
export type ResolvedRadii = {
topLeft: UsedAs<number>,... | 1,830 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_fusion03/supercorner_fusion03_index.luau | luau | .luau | local PackagesIndex = script.Parent._Index
return require(PackagesIndex.SUPERCORNER_FUSION03["supercorner-fusion03"])
| 32 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_react/src/init.luau | luau | .luau | --!strict
local React = require(script.Parent.Parent.Parent._Index["jsdotlua_react@17.2.1"].react)
local Supercorner =
require(script.Parent.Parent.Parent._Index["cameronpcampbell_supercorner@0.0.8"].supercorner)
local CreateElement = React.createElement
const CREATE_ONLY_PROPS = { "MaxCornerRadius", "MaxTopLeft... | 4,437 |
cameronpcampbell/supercorner | cameronpcampbell-supercorner-c5ea4c8/supercorner_react/supercorner_react_index.luau | luau | .luau | local PackagesIndex = script.Parent._Index
return require(PackagesIndex.SUPERCORNER_REACT["supercorner-react"])
| 28 |
Denied-ID/HTMLToRoblox | Denied-ID-HTMLToRoblox-fb60f46/source/src/ReplicatedStorage/HTMLToRoblox/GuiBuilder/JSEngine/StdLib.luau | luau | .luau | local StdLib = {}
-- Console
StdLib.console = {
log = function(...)
print(...)
end,
warn = function(...)
warn(...)
end,
error = function(...)
error(table.concat({...}, " "), 0)
end,
}
-- Math object mapping to Lua's math library
StdLib.Math = {
abs = math.abs,
f... | 1,236 |
Denied-ID/HTMLToRoblox | Denied-ID-HTMLToRoblox-fb60f46/source/src/ReplicatedStorage/HTMLToRoblox/GuiBuilder/JSEngine/init.luau | luau | .luau | local JSTranspiler = require(script.JSTranspiler)
local StdLib = require(script:WaitForChild("StdLib"))
local JSEngine = {}
JSEngine.StdLib = StdLib
JSEngine.GuiRegistry = {}
JSEngine.variables = {}
JSEngine.forms = {}
JSEngine.timeouts = {}
JSEngine.intervals = {}
JSEngine.eventListeners = {}
JSEngine.elements = {}
... | 2,793 |
Denied-ID/HTMLToRoblox | Denied-ID-HTMLToRoblox-fb60f46/source/src/ReplicatedStorage/HTMLToRoblox/HtmlTagDefinitions.luau | luau | .luau | -----------------------------------------------------------
-- Variables
-----------------------------------------------------------
local TagDefinitions = {}
local defs = {
["!--"] = { ignore = true },
["#comment"] = { ignore = true },
head = { ignore = true },
meta = { void = true, ignor... | 786 |
thegalaxydev/Aloha | thegalaxydev-Aloha-51c1eac/Aloha/Classes/Color3.luau | luau | .luau | -- thegalaxydev
--[=[
@class Color3
The Color3 data type describes a color using red, green, and blue components in the range of 0 to 1.
]=]
local Color3 = {}
Color3.__index = Color3
export type Color3 = typeof(Color3) & {
R: number,
G: number,
B: number,
}
--[=[
Creates a new Color3.
@param r number
@param... | 1,134 |
thegalaxydev/Aloha | thegalaxydev-Aloha-51c1eac/Aloha/Classes/DiscordWebSocket.luau | luau | .luau | --[=[
@class DiscordWebSocket
Class to spawn sharded websockets for Discord.
]=]
local DiscordWebSocket = {}
DiscordWebSocket.__index = DiscordWebSocket
local Event = require("./Event")
local Bot = require("../Lib/Bot")
local Task = require("../Util/Task")
local Client = require("../Lib/Client")
local Misc = require(... | 1,707 |
thegalaxydev/Aloha | thegalaxydev-Aloha-51c1eac/Aloha/Classes/Embed.luau | luau | .luau | --[=[
@class Embed
Class to create Discord embeds.
]=]
local Embed = {}
local Color3 = require("Color3")
type Color3 = Color3.Color3
local DiscordTypes = require("../Lib/DiscordTypes")
export type Embed = {
setTitle: (title: string) -> Embed,
setDescription: (description: string) -> Embed,
setUrl: (url: string) ... | 1,598 |
thegalaxydev/Aloha | thegalaxydev-Aloha-51c1eac/Aloha/Classes/Event.luau | luau | .luau | --[=[
@class Event
Class to create events.
]=]
local Event = {}
Event.__index = Event
Event.__class = "Event"
export type Event<T...> = {
Callbacks : {[(T...)->any]: any};
Waiting : {thread};
Connect : (Event<T...>, func : (T...)->any) -> Connection,
Fire : (Event<T...>, T...) -> nil,
Wait : (Event<T...>, numb... | 507 |
thegalaxydev/Aloha | thegalaxydev-Aloha-51c1eac/Aloha/Classes/LinkedList.luau | luau | .luau | --[=[
@class LinkedList
A linked list implementation.
]=]
local LinkedList = {}
LinkedList.__index = function(self, key)
if type(key) == "number" then
local current = self.Head
for _ = 1, key - 1 do
if not current then return nil end
current = current.Next
end
return current
end
return LinkedList[key]
... | 1,514 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.