repo stringclasses 254
values | file_path stringlengths 29 241 | code stringlengths 100 233k | tokens int64 14 69.4k |
|---|---|---|---|
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/quicksave/src/Quicksave/makeEnum.lua | local function makeEnum(enumName, members)
local enum = {}
for _, memberName in ipairs(members) do
enum[memberName] = memberName
end
return setmetatable(enum, {
__index = function(_, k)
error(string.format("%s is not in %s!", k, enumName), 2)
end,
__newindex = function()
error(string.format("Creatin... | 119 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/quicksave/src/Quicksave/stackSkipAssert.lua | local function stackSkipAssert(condition, text)
if not condition then
error(text, 3)
end
end
return {
stackSkipAssert = stackSkipAssert;
}
| 36 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/quicksave/src/t/init.lua | -- t: a runtime typechecker for Roblox
-- regular lua compatibility
local typeof = typeof or type
local function primitive(typeName)
return function(value)
local valueType = typeof(value)
if valueType == typeName then
return true
else
return false, string.format("%s expected, got %s", typeName, valueType... | 6,453 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/components/Context.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
--OverHash deviation: local Redux = require(script.Parent.Parent.Parent.Redux)
local Subscription = require(script.Parent.Parent.utils.Subscription)
export type ReactReduxContextValue<SS = any, A = any> = {
store: any, --OverHash deviation: use any in... | 156 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/components/Provider.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
local ReactReduxContext = require(script.Parent.Context)
local Subscription = require(script.Parent.Parent.utils.Subscription)
-- OverHash deviation: local Redux = require(script.Parent.Parent.Parent.Redux)
export type ProviderProps<A = any, S = unkno... | 409 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/hooks/useDispatch.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
local ReactReduxContext = require(script.Parent.Parent.components.Context)
local useDefaultStore = require(script.Parent.useStore).useStore
local createStoreHook = require(script.Parent.useStore).createStoreHook
local exports = {}
--[[
* Hook factor... | 360 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/hooks/useReduxContext.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
local ReactReduxContext = require(script.Parent.Parent.components.Context)
local exports = {}
--[[
* A hook to access the value of the `ReactReduxContext`. This is a low-level
* hook that you should usually not need to call directly.
*
* @returns ... | 221 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/hooks/useSelector.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
local useDefaultReduxContext = require(script.Parent.useReduxContext).useReduxContext
local ReactReduxContext = require(script.Parent.Parent.components.Context)
local types = require(script.Parent.Parent.types)
local useSyncExternalStore = require(scri... | 822 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/hooks/useStore.lua | --!strict
local React = require(script.Parent.Parent.Parent.react)
-- OverHash deviation: local Redux = require(script.Parent.Parent.Parent.Redux)
local Context = require(script.Parent.Parent.components.Context)
local useDefaultReduxContext = require(script.Parent.useReduxContext).useReduxContext
local exports = {}
-... | 352 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/types.lua | --!strict
local React = require(script.Parent.Parent.react)
export type FixTypeLater = any
export type EqualityFn<T> = (a: T, b: T) -> boolean
export type ExtendedEqualityFn<T, P> = (a: T, b: T, c: P, d: P) -> boolean
export type DispatchProp<A = any> = {
dispatch: (any) -> (),
}
export type Matching<InjectedProps... | 358 |
OverHash/Roblox-TS-Libraries | OverHash-Roblox-TS-Libraries-8a3ce46/react-redux/src/utils/Subscription.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 | --!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 | 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 | --!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 | 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 | -- 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 | 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 | --[[
* 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 | --[[
* 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 | -- 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 | --[[
* 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 | --[[
* 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 | --[[
* 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 | -- 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 | 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 | 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 | 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 |
EgoMoose/patch-roblox-cameramodule | EgoMoose-patch-roblox-cameramodule-46a5293/src/init.luau | --!strict
local ProxyTemplate = script:WaitForChild("ProxyTemplate") :: ModuleScript
type ProxyValue<T> = { value: T }
local function unknownRequire(instance: Instance)
assert(instance:IsA("ModuleScript"), "The provided instance was not a ModuleScript.")
return require(instance) :: any
end
local function createMo... | 648 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-7ce9e6e/source/Client.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-7ce9e6e/source/Data/Defaults.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-7ce9e6e/source/Data/Types.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-7ce9e6e/source/Server.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,736 |
AlexanderLindholt/TweenPlus | AlexanderLindholt-TweenPlus-7ce9e6e/source/Utilities/EasingFunctions.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-7ce9e6e/source/Utilities/UpdateFunctions.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-7ce9e6e/source/Utilities/ValueFunctions.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 |
Denied-ID/HTMLToRoblox | Denied-ID-HTMLToRoblox-fb60f46/source/src/ReplicatedStorage/HTMLToRoblox/GuiBuilder/JSEngine/StdLib.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 | 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 | -----------------------------------------------------------
-- Variables
-----------------------------------------------------------
local TagDefinitions = {}
local defs = {
["!--"] = { ignore = true },
["#comment"] = { ignore = true },
head = { ignore = true },
meta = { void = true, ignor... | 786 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/AVLTree/init.luau | local AVLTree = {}
AVLTree.__index = AVLTree
export type Node<T = any> = {
Value: T,
Left: Node<T>?,
Right: Node<T>?,
Height: number,
}
export type Class<T = any> = typeof(setmetatable({} :: {
Root: Node<T>?,
Compare: (T, T) -> number,
_lookup: {
[T]: Node<T>,
},
_size: n... | 1,738 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/ArraySquash/init.luau | local Shared = script.Parent
local Squash = require(Shared.Squash)
local VLQ = Squash.vlq()
local F32 = Squash.f32()
local I32 = Squash.i32()
local U32 = Squash.u32()
local U8 = Squash.u8()
type Cursor = Squash.Cursor
type SerDes<T...> = Squash.SerDes<T...>
--------------------------------------------
-- SerDes (Int... | 3,331 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/BufferExtras/init.luau | --!native
--!strict
--- Reads a 16-bit floating point number (half-precision) from a buffer at the given offset.
local function readf16(buf: buffer, offset: number): number
local b0 = buffer.readu8(buf, offset)
local b1 = buffer.readu8(buf, offset + 1)
local sign = bit32.btest(b0, 128) and -1 or 1
loc... | 1,467 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/CrunchTable/init.luau | -- CrunchTable lets you define compression schemes for simple tables to be sent by roblox
-- If a field in a table is not defined in the layout, it will be ignored and stay in the table
-- If a field in a table is not present, but is defined in the layout, it'll default to 0 (or equiv)
--!native
--!strict
local Crunc... | 3,278 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/DeltaTable/init.luau | --!native
--!strict
local DeltaTable = {}
export type LazyTable = {
[any]: any,
}
export type Patch = {
Path: { string },
Value: any,
}
export type Trace = {
Path: { string },
OnApply: (path: { string }, value: any) -> (),
}
local function Deep(tbl: any): any
local tCopy = table.create(#tbl... | 1,035 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/EasyStore/init.luau | --!strict
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.Sig... | 4,804 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/LinearPath/init.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-1f43d91/Modules/Marketplace/init.luau | --!strict
local Shared = script.Parent
local Signal = require(Shared.Signal)
local Network = require(Shared.Network)
local Promise = require(Shared.Promise)
local RunContext = require(Shared.RunContext)
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
type P... | 2,308 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/ModelSquash/init.luau | local Shared = script.Parent
local Squash = require(Shared.Squash)
local PropSquash = require(script.PropSquash)
local ArraySquash = require(Shared.ArraySquash)
local ReflectionService = game:GetService("ReflectionService")
local Accumulated = ArraySquash.Accumulated
local AccI32 = Accumulated.I32
local STRING = Squ... | 2,184 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Mutex/init.luau | 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)
if not list:find(key) then
list ..= key
inst:SetAttribute(lock, list)
... | 279 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Network/Client.luau | --!strict
local Client = {}
Client.__index = Client
local Network = script.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> = typeof(setm... | 262 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Network/Remotes.luau | --!strict
local Shared = script.Parent.Parent
local RunContext = require(Shared.RunContext)
local reliable = script:FindFirstChildOfClass("RemoteEvent")
local unreliable = script:FindFirstChildOfClass("UnreliableRemoteEvent")
if not (reliable and unreliable) then
if RunContext.IsServer or RunContext.IsEdit then
... | 298 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Network/Server.luau | --!strict
local Server = {}
Server.__index = Server
local Network = script.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...>
ex... | 496 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Network/Types.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...
export type EventOptions = {
Name: string,
Reliable: boolean?,
Unreliable: boolean?,
}
return {
Signal = Signal,
} | 76 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Network/init.luau | --!strict
local Shared = script.Parent
local RunContext = require(Shared.RunContext)
local Players = game:GetService("Players")
local Client = require(script.Client)
local Server = require(script.Server)
local Types = require(script.Types)
type Client<T...> = Client.Class<T...>
type Server<T...> = Server.Class<T...>... | 1,211 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/Octree/init.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-1f43d91/Modules/RobloxMesh/Buffer.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-1f43d91/Modules/RobloxMesh/Draco/Constants.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-1f43d91/Modules/RobloxMesh/Draco/Debug.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(sourceTable: { [string]: number }, value: number?): string
if value == nil then
return "nil"
end
for nam... | 564 |
MaximumADHD/Roblox-Utils | MaximumADHD-Roblox-Utils-1f43d91/Modules/RobloxMesh/Draco/Rans.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-1f43d91/Modules/RunContext/init.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-1f43d91/Modules/StackModifier/init.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-1f43d91/Modules/StringBuilder/init.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-1f43d91/Modules/Tags/init.luau | ------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Tags
-- MaximumADHD
-- December 22nd, 2020
---------------------------------------------------------------------------------------------------------------... | 567 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/CamMaker.plugin.luau | if not isfolder("CAMS") then
makefolder("CAMS")
end
local Plugin = {
PluginName = "Cam Maker v1.2",
PluginDescription = "CamMaker but better!",
Commands = {
makecam = {
ListName = "makecam / mc [Name]",
Description = "Creates a camera to view.",
Aliases = { "mc" },
Function = function(args, speaker)
... | 784 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/FakeChat.plugin.luau | local Plugin = {
["PluginName"] = "Fake Chat",
["PluginDescription"] = "Be able to chat as anyone.",
["Commands"] = {
["fakechat"] = {
["ListName"] = "fakechat / fchat [plr] [msg]",
["Description"] = "Chat an string as the specified player.",
["Aliases"] = { "fchat" },
["Function"] = function(args, spe... | 189 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/FreeFall.plugin.luau | local Players = game:GetService("Players")
return {
["PluginName"] = "Free Fall",
["PluginDescription"] = "Scripted by NoobSploit#0001",
["Commands"] = {
["freefall"] = {
["ListName"] = "freefall [height]",
["Description"] = "FreeFalled",
["Aliases"] = {},
["Function"] = function(args, speaker)
if ... | 312 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/Freecam2.plugin.luau | local allowspeedmove = true
wait(1)
local c = workspace.CurrentCamera
local player = game.Players.LocalPlayer
local userInput = game:GetService("UserInputService")
local rs = game:GetService("RunService")
local starterPlayer = game:GetService("StarterPlayer")
local selected = false
local speed = 60
local lastUpdate =... | 941 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/GotoFolder.plugin.luau | return {
["PluginName"] = "goto folder",
["PluginDescription"] = "Go to a folder",
["Commands"] = {
["gotofolder"] = {
["ListName"] = "gotofolder",
["Description"] = "Made By D7M",
["Aliases"] = {},
["Function"] = function(args, speaker)
for i, v in pairs(workspace:GetDescendants()) do
if v.Na... | 172 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/Keybinds.plugin.luau | if not isfile("keybinds.keybinds") then
keybinds = {}
else
keybinds = game:GetService("HttpService"):JSONDecode(readfile("keybinds.keybinds"))
end
local event
event = game:GetService("Players").LocalPlayer:GetMouse().KeyDown:Connect(function(input)
for i, v in pairs(keybinds) do
if input:lower() == v.KEY and v.TO... | 1,076 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/MinionMeme.plugin.luau | return {
["PluginName"] = "Minion Meme",
["PluginDescription"] = "this is funny (Empire#4946)",
["Commands"] = {
["minionmeme"] = {
["ListName"] = "minionmeme / minionm / minm",
["Description"] = "Opens up a GUI that is minion memes",
["Aliases"] = { "minionm", "minm" },
["Function"] = function(args, s... | 1,439 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/Orbit.plugin.luau | local PluginAPI = {}
function PluginAPI:CreatePlugin(name, description)
local Functions = {}
local Plugin = {
["PluginName"] = name,
["PluginDescription"] = description,
["Commands"] = {},
}
function Functions:AddCommand(Name, ListName, Description, Aliases, Callback)
Plugin["Commands"][Name] = {
["ListN... | 1,100 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/SaveLoadTools.plugin.luau | return {
["PluginName"] = "Save/Load Tools",
["PluginDescription"] = "Scripted by Empire#4946!",
["Commands"] = {
["savetools"] = {
["ListName"] = "savetools / savet",
["Description"] = "Saves Tools and puts them into your Player",
["Aliases"] = { "savet" },
["Function"] = function(args, speaker)
f... | 257 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/ShaderMod.plugin.luau | -- Instances --------------------------------------
local Blur = Instance.new("BlurEffect")
Blur.Name = "Blur [Shader Mod]"
Blur.Parent = game.Lighting
Blur.Size = 4
Blur.Enabled = false
local DepthOfField = Instance.new("DepthOfFieldEffect")
DepthOfField.Name = "Depth Of Field [Shader Mod]"
DepthOfField.Parent = gam... | 330 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/ShiftToSprint.plugin.luau | local lplr = game:GetService("Players").LocalPlayer
normalSpeed = lplr.Character.Humanoid.WalkSpeed
speed = 30
local Plugin = {
["PluginName"] = "Shift To Sprint",
["PluginDescription"] = "A plugin to be able to shift to sprint at the speed you want",
["Commands"] = {
["shifttosprint"] = {
["ListName"] = "shi... | 447 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/antiflingunfling.plugin.luau | return {
["PluginName"] = "antiflingunfling",
["PluginDescription"] = "Stops you from getting flinged from the unfling cmd",
["Commands"] = {
["antiflingunfling"] = {
["ListName"] = "antiflingunfling / afu",
["Description"] = "Stops you from getting flinged from the unfling cmd",
["Aliases"] = { "afu" },
... | 154 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/antikill.plugin.luau | local AntiKill = false
local RunService = game:GetService("RunService")
local Me = game:GetService("Players").LocalPlayer
local Char = Me.Character
local BPack = Me.Backpack
local Humanoid = Char:FindFirstChildWhichIsA("Humanoid")
local ToolTable = BPack:GetChildren()
RunService.Stepped:Connect(function()
local Tool =... | 736 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/beyblade.plugin.luau | local Plugin = {
["PluginName"] = "Beyblade",
["PluginDescription"] = "Turns you into a beyblade.",
["Commands"] = {
["beyblade"] = {
["ListName"] = "beyblade",
["Description"] = "Makes you a beyblade!",
["Aliases"] = {},
["Function"] = function(args, speaker)
execCmd("walkspeed 100", speaker)
... | 120 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/bighead.plugin.luau | local Plugin = {
["PluginName"] = "Big Head",
["PluginDescription"] = "May you do a ton of trolling",
["Commands"] = {
["bighead"] = {
["ListName"] = "bighead / biggest / bigger / big",
["Description"] = "Makes you head big",
["Aliases"] = { "biggest", "bigger", "big" },
["Function"] = function(args, s... | 243 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/blanksay.plugin.luau | local Plugin = {
["PluginName"] = "Blank Say",
["PluginDescription"] = "Send blank messages.",
["Commands"] = {
["blanksay"] = {
["ListName"] = "blanksay / blankchat",
["Description"] = "Send a blank message in chat",
["Aliases"] = { "blankchat" },
["Function"] = function(args, speaker)
game:GetSer... | 133 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/blockself.plugin.luau | return {
["PluginName"] = "BlockSelf",
["PluginDescription"] = "Makes you blocky and fat.",
["Commands"] = {
["blockself"] = {
["ListName"] = "blockself [delay]",
["Description"] = "Makes you blocky and fat.",
["Aliases"] = {},
["Function"] = function(args, speaker)
speaker.Character.CharacterMesh:... | 196 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/btools2.plugin.luau | local Plugin = {
["PluginName"] = "Cyclically's Custom Btools",
["PluginDescription"] = "Just better btools",
["Commands"] = {
["cycbtools"] = {
["ListName"] = "cycbtools / btools2",
["Description"] = "Cyclically's Custom Btools",
["Aliases"] = { "btools2" },
["Function"] = function(args, speaker)
... | 791 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/builderchat.plugin.luau | local Plugin = {
["PluginName"] = "Builderman Chat",
["PluginDescription"] = "Pretend to be Builderman (Modded by LuaLighter)",
["Commands"] = {
["buildchat"] = {
["ListName"] = "buildchat / bchat [your msg] [builderman msg]",
["Description"] = "Chat as Builerman",
["Aliases"] = { "bchat" },
["Function... | 178 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/clearchat.plugin.luau | local Plugin = {
["PluginName"] = "Clear Chat",
["PluginDescription"] = "you may be warned",
["Commands"] = {
["clearchat"] = {
["ListName"] = "clearchat / clchat",
["Description"] = "deez nuts HA GOTTEM",
["Aliases"] = { "clchat" },
["Function"] = function(args, speaker)
local ReplicatedStorage = ... | 2,530 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/climb.plugin.luau | climbing = false
local Plugin = {
["PluginName"] = "Climb",
["PluginDescription"] = "Make you climb",
["Commands"] = {
["climb"] = {
["ListName"] = "climb",
["Description"] = "monke",
["Aliases"] = {},
["Function"] = function(args, speaker)
if climbing == false then
climbing = true
local ... | 333 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/crash.plugin.luau | local Plugin = {
["PluginName"] = "Crasher",
["PluginDescription"] = "does something",
["Commands"] = {
["crash"] = {
["ListName"] = "crash",
["Description"] = "fucks up ur roblox game",
["Aliases"] = {},
["Function"] = function(args, speaker)
function build()
local part = Instance.new("Part")... | 142 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/ctrl_lock.plugin.luau | local Plugin = {
["PluginName"] = "Ctrl Lock",
["PluginDescription"] = "Bind Shift Lock to Left Control",
["Commands"] = {
["controllock"] = {
["ListName"] = "controllock / ctrllock",
["Description"] = "Bind Shift Lock to Left Control",
["Aliases"] = { "ctrllock" },
["Function"] = function(args, speake... | 233 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/displayNameRemover.plugin.luau | local Plugin = {
["PluginName"] = "displayNameRemover",
["PluginDescription"] = "removes those pesky display names",
["Commands"] = {
["removedisplay"] = {
["ListName"] = "removedisplay / removedisplaynames / nodisplayname / ndn",
["Description"] = "this removes display names",
["Aliases"] = { "removedisp... | 347 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/enablebackpack.plugin.luau | local Plugin = {
["PluginName"] = "Enable Backpack",
["PluginDescription"] = "Enables backpack",
["Commands"] = {
["enablebackpack"] = {
["ListName"] = "enablebackpack",
["Description"] = "Enables backpack",
["Aliases"] = {},
["Function"] = function(args, speaker)
mouse = game.Players.LocalPlayer:G... | 183 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/example.plugin.luau | local Plugin = {
["PluginName"] = "plugin name",
["PluginDescription"] = "description",
["Commands"] = {
["command1"] = {
["ListName"] = "command1 / alias1 / alias2",
["Description"] = "description",
["Aliases"] = { "alias1", "alias2" },
["Function"] = function(args, speaker)
print("placeholder")
... | 107 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/fakecommands.plugin.luau | local Plugin = {
["PluginName"] = "Fake Commands",
["PluginDescription"] = "Allows you to pretend you got kick/banned, for whatever reason you need it for.",
["Commands"] = {
["fakekick"] = {
["ListName"] = "fakekick <reason>",
["Description"] = "Kicks you for the desired reason.",
["Aliases"] = { "fkick"... | 253 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/fakeify.plugin.luau | local Plugin = {
["PluginName"] = "Fakeify",
["PluginDescription"] = "Scripted by NoobSploit#0001",
["Commands"] = {
["fakeuser"] = {
["ListName"] = "fakeuser [user]",
["Description"] = "This is client sided nobody else can see this",
["Aliases"] = { "" },
["Function"] = function(args, speaker)
use... | 300 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/flashlight.plugin.luau | local a = {}
a.__index = a
local typeof = typeof
local assert = assert
function a:CreatePlugin(b, c)
local self = setmetatable({}, a)
self.PluginName = b
self.PluginDescription = c
self.Commands = {}
return self
end
function a:AddCommand(d, e, c, f, g)
assert(typeof(d) == "string", "CommandName must be a string."... | 1,327 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/gears.plugin.luau | return {
["PluginName"] = "Client sided gear",
["PluginDescription"] = "Made by NoobSploit#0001",
["Commands"] = {
["gear"] = {
["ListName"] = "gear [id]",
["Description"] = "This is client sided and will probably not work",
["Aliases"] = {},
["Function"] = function(args, speaker)
local id = getstr... | 134 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/hit13.plugin.luau | return {
["PluginName"] = "Anime Hit",
["PluginDescription"] = "Hit animation",
["Commands"] = {
["hit"] = {
["ListName"] = "hit [1-3]",
["Description"] = "Hit animation",
["Aliases"] = {},
["Function"] = function(args, speaker)
for i, track in pairs(game.Players.LocalPlayer.Character.Humanoid:GetP... | 442 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/ip.plugin.luau | local Plugin = {
["PluginName"] = "G.I.P.",
["PluginDescription"] = "Generates random IPv4 Address",
["Commands"] = {
["getip"] = {
["ListName"] = "GetIP [plr] / GIP [plr]",
["Description"] = "Generates IP",
["Aliases"] = { "gip" },
["Function"] = function(args, speaker)
for i, plr in pairs(getPlay... | 236 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/joinrandomplace.plugin.luau | local Plugin = {
["PluginName"] = "Random place generator",
["PluginDescription"] = "join random place",
["Commands"] = {
["joinplace"] = {
["ListName"] = "joinplace [min] [max]",
["Description"] = "join random place ([min] [max] is placeid)",
["Aliases"] = {},
["Function"] = function(args, speaker)
... | 195 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/looplight.plugin.luau | local Plugin = {
["PluginName"] = "Loop Lighting",
["PluginDescription"] = "Adds loops for lighting commands.",
["Commands"] = {
["loopday"] = {
["ListName"] = "loopday / lday / ld",
["Description"] = "Sunshiiiine!",
["Aliases"] = { "lday", "ld" },
["Function"] = function(args, speaker)
if dayLoop ... | 715 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/marble.plugin.luau | local Plugin = {
["PluginName"] = "Marble",
["PluginDescription"] = "Turn into a marble lmao",
["Commands"] = {
["marble"] = {
["ListName"] = "marble [size]",
["Description"] = "Turns you into a marble",
["Aliases"] = {},
["Function"] = function(args, speaker)
local UserInputService = game:GetServi... | 626 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/moresex.plugin.luau | local Plugin = {}
Plugin.PluginName = "More Sex"
Plugin.PluginDescription = "made by prisj"
Plugin.Commands = {}
local Players = game:GetService("Players")
local gbangLoop = nil
local GBANGANIM = nil
local GBANGtrack = nil
local gbangDied = nil
local SuckLoop = nil
local SuckAnim = nil
local Sucktrack = nil
local Suc... | 1,043 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/noCooldown.plugin.luau | local Plugin = {
["PluginName"] = "No Cooldown",
["PluginDescription"] = "Removes Cooldown (Universal)",
["Commands"] = {
["nocooldown"] = {
["ListName"] = "nocooldown / noc",
["Description"] = "Removes cooldown, is universal. Might cause some lag.",
["Aliases"] = { "noc" },
["Function"] = function()
... | 135 |
Infinite-Store/Infinite-Store | Infinite-Store-Infinite-Store-87d0e48/plugins/nosound.plugin.luau | local Plugin = {
["PluginName"] = "No Sound",
["PluginDescription"] = "Scripted by NoobSploit#0001 Sarge#0196 doesnt have a dick",
["Commands"] = {
["nosound"] = {
["ListName"] = "nosound",
["Description"] = "Deletes sounds",
["Aliases"] = {},
["Function"] = function(args, speaker)
for _, sound in ... | 141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.