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 |
|---|---|---|---|---|---|
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Utilities/disableFrameWhenModalAppears.luau | luau | .luau | -- `PopupHelper.modal` creates a frame to block input, but it does not block MouseMovement inputs.
-- To fix that, this utility function will detect when the input blocking frame of `PopupHelper.modal`
-- appears and disable `Interactable` for all the frames you give it. This will prevent MouseMovement
-- inputs from b... | 334 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Utilities/getHighlightColors.luau | luau | .luau | -- Gets highlight colors for the TreeViewer. Depends on global state from `Settings`
-- to see if it should use the built-in theme or the script editors theme.
export type Colors = {
plain: Color3,
background: Color3,
hoverBackground: Color3,
selectBackground: Color3,
scrollbar: Color3,
mainAccent: Color3,
r... | 909 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Utilities/lockObjectWithoutResize.luau | luau | .luau | --!strict
-- Sets the position of an object without triggering AutomaticSize resizing.
-- Assumes UIPadding only has offset padding.
-- EXAMPLE: This is used in the `Insert Into/After` menus for the expand button which is
-- positioned at the top right.
return function(
object: GuiObject,
container: GuiOb... | 240 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Utilities/promptKeyValueForm.luau | luau | .luau | -- Form that has two fields (each one is optional, but you must have one field active)
-- Used in:
-- - Insert Into/After
-- - Insert for OrderedDataStore
local Assets = script.Parent.Parent.Assets
local StyleState = script.Parent.Parent.StyleState
local StyleStateWrapper = require(StyleState.StyleStateWrapper)
local... | 1,849 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Utilities/showShadowOnScroll.luau | luau | .luau | return function(scrollingFrame: ScrollingFrame, shadow: Frame)
return scrollingFrame:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
shadow.Visible = scrollingFrame.CanvasPosition.Y > 10
end)
end
| 45 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Viewers/Code/CodeEditor.luau | luau | .luau | --!strict
local TextService = game:GetService("TextService")
local Types = require(script.Parent.Types)
export type NewOptions = {
theme: Types.Theme,
doLex: (source: string) -> {Token},
}
export type Token = {
kind: string,
start: number,
length: number,
}
type CodeEditorObject = Types.TextEditorObject & {
_... | 3,219 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Viewers/Code/DumbEditor.luau | luau | .luau | --!strict
-- Editor with missing no highlighting or error capabilties.
local Types = require(script.Parent.Types)
export type NewOptions = {
theme: Types.Theme,
}
export type DumbEditorObject = Types.TextEditorObject & {
_textChanged: BindableEvent,
_activeErrorsChanged: BindableEvent,
_frame: ScrollingFrame,... | 916 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Viewers/Code/Types.luau | luau | .luau | --!strict
export type Theme = {
padding: {top: number, left: number, bottom: number, right: number},
font: Font, -- should be monospace
textSize: number,
backgroundColor: Color3,
textColor: Color3,
disabledTextColor: Color3,
scrollbarThickness: number,
scrollbarColor: Color3,
tokenColors: {[string]: string},... | 301 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Viewers/Code/init.luau | luau | .luau | --!strict
local Settings = require(script.Parent.Parent.Parent.Settings)
local Theme = require(script.Parent.Parent.Theme)
local UIMessages = require(script.Parent.Parent.UIMessages)
local json5 = require(script.Parent.Parent.Parent.json5)
local JSONHelper = require(script.Parent.Parent.Parent.JSONHelper)
local Type... | 2,306 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Viewers/Types.luau | luau | .luau | --!strict
local JSONHelper = require(script.Parent.Parent.Parent.JSONHelper)
local Theme = require(script.Parent.Parent.Theme)
local UIMessages = require(script.Parent.Parent.UIMessages)
local ModalState = require(script.Parent.Parent.ModalState)
export type ViewerMode = "Tree" | "Code"
export type KeyInfo = {
Crea... | 615 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/HistoryView.luau | luau | .luau | --!strict
local Theme = require(script.Parent.Parent.Theme)
local History = require(script.Parent.Parent.Parent.History)
local Types = require(script.Parent.Parent.Parent.Types)
local Assets = script.Parent.Parent.Assets
local StyleState = script.Parent.Parent.StyleState
local StyleStateHelper = require(StyleState.S... | 1,490 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/OrderedDataStoreView/OrderedDataStoreKeyStyleState.luau | luau | .luau | local OrderedDataStoreKeyStyleState = {}
OrderedDataStoreKeyStyleState.__index = OrderedDataStoreKeyStyleState
function OrderedDataStoreKeyStyleState.from(theme, highlightColors, frame)
local self = setmetatable({
theme = theme,
frame = frame,
_highlightColors = highlightColors,
selecting = false,
_disabl... | 503 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/OrderedDataStoreView/init.luau | luau | .luau | --!strict
local DESCENDING_ICON = "rbxassetid://17650920474"
local ASCENDING_ICON = "rbxassetid://17650919434"
local rfmt = require(script.Parent.Parent.Parent.rfmt)
local StyleState = script.Parent.Parent.StyleState
local Assets = script.Parent.Parent.Assets
local Settings = require(script.Parent.Parent.Parent.Set... | 3,886 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/SearchView.luau | luau | .luau | --!strict
local TweenService = game:GetService("TweenService")
local Assets = script.Parent.Parent.Assets
local StyleState = script.Parent.Parent.StyleState
local Theme = require(script.Parent.Parent.Theme)
local PopupHelper = require(script.Parent.Parent.PopupHelper)
local ViewerTypes = require(script.Parent.Parent... | 1,590 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/SettingsView/AccentColorButtonStyleState.luau | luau | .luau | local TweenService = game:GetService("TweenService")
local Theme = require(script.Parent.Parent.Parent.Theme)
local StyleStateHelper = require(script.Parent.Parent.Parent.StyleState.StyleStateHelper)
local ButtonStyleState = require(script.Parent.Parent.Parent.StyleState.ButtonStyleState)
local AccentColorButtonStyl... | 341 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/SettingsView/init.luau | luau | .luau | --!strict
local SelectionService = game:GetService("Selection")
local ServerScriptService = game:GetService("ServerScriptService")
local ChangeHistoryService = game:GetService("ChangeHistoryService")
local rfmt = require(script.Parent.Parent.Parent.rfmt)
local StyleState = script.Parent.Parent.StyleState
local Asset... | 2,365 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Views/VersionsView.luau | luau | .luau | --!strict
local DESCENDING_ICON = "rbxassetid://17650920474"
local ASCENDING_ICON = "rbxassetid://17650919434"
local rfmt = require(script.Parent.Parent.Parent.rfmt)
local StyleState = script.Parent.Parent.StyleState
local Assets = script.Parent.Parent.Assets
local Session = require(script.Parent.Parent.Parent.Sess... | 3,523 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Widgets/BufferWidget.luau | luau | .luau | --!strict
local plugin = script:FindFirstAncestorOfClass("Plugin")
local StudioService = game:GetService("StudioService")
local Settings = require(script.Parent.Parent.Parent.Settings)
local UIMessages = require(script.Parent.Parent.UIMessages)
local Theme = require(script.Parent.Parent.Theme)
local Types = require(... | 1,470 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/Widgets/SingleKeyWidget.luau | luau | .luau | --!strict
-- This is a widget for a single key, used for "Open in New Widget"
local plugin = script:FindFirstAncestorOfClass("Plugin")
local HttpService = game:GetService("HttpService")
local Theme = require(script.Parent.Parent.Theme)
local Session = require(script.Parent.Parent.Parent.Session)
local Transactor = r... | 1,524 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/UI/init.luau | luau | .luau | local rfmt = require(script.Parent.rfmt)
local Types = require(script.Parent.Types)
local Theme = require(script.Theme)
local Validators = require(script.Parent.Validators)
local PopupHelper = require(script.PopupHelper)
local Tooltip = require(script.Tooltip)
local Assets = script.Assets
local StyleState = script.S... | 4,604 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/Validators.luau | luau | .luau | --!strict
export type Validator = (any) -> (boolean, string?) -- return 1: success, return 2: reason
local Validators: { [string]: Validator } = {}
local function isValidInteger(str: unknown): boolean
local number = tonumber(str)
if number then
local isValidInteger = (number == math.floor(number)) and number == n... | 687 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/main.server.luau | luau | .luau | --!strict
type App = {
new: (id: string) -> App,
toggleEnabled: (App) -> (),
getEnabled: (App) -> boolean,
enabledChanged: RBXScriptSignal,
}
local IS_CANARY = script.Parent.IsCanaryRelease.Value
local RunService = game:GetService("RunService")
local App = require(script.Parent.App) :: App
local ClientFallback... | 495 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/rfmt.luau | luau | .luau | -- Rich-Text ForMaT
-- Convience functions for wrapping things in rich text tags.
local rfmt = {}
function rfmt.code(s: string): string
return `<font face="RobotoMono">{s}</font>`
end
return rfmt
| 53 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/tests/JSONHelper.server.luau | luau | .luau | local JSONHelper = require(script.Parent.Parent.JSONHelper)
assert(JSONHelper.toInputString({}, "array") == "[]")
assert(JSONHelper.toInputString({ 1, 2, 3, 4, 5, 6 }, "array") == "[]")
assert(JSONHelper.toInputString({}, "object") == "{}")
assert(JSONHelper.toInputString({ hey = "world" }, "object") == "{}")
assert... | 275 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/tests/TreeViewer/fuzzJSON.luau | luau | .luau | --!strict
-- Actions to generate random JSON+buffer-acceptable value
type Action = (depth: number) -> any
local MAX_DEPTH = 10
local actions: { Action }
local stringAction: Action = function()
local s = table.create(12)
while true do
local got = math.random()
if got < 0.3 then
break
else
table.insert(... | 483 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/tests/TreeViewer/fuzzUserIds.luau | luau | .luau | --!strict
return function()
local ids = {}
for _ = 1, math.random(0, 100) do
table.insert(ids, math.random(1, 10_000_000))
end
return ids
end
| 51 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/tests/TreeViewer/init.server.luau | luau | .luau | -- Tests for tree viewer
local FUZZ_TESTS = 25
local Theme = require(script.Parent.Parent.UI.Theme)
local Tree = require(script.Parent.Parent.UI.Viewers.Tree)
local fuzzUserIds = require(script.fuzzUserIds)
local fuzzJSON = require(script.fuzzJSON)
type SearchForQuery = { key: string | number, value: any?, isContai... | 14,064 |
pinehappi/DataDelve | pinehappi-DataDelve-191db10/src/tests/Validators.server.luau | luau | .luau | local Validators = require(script.Parent.Parent.Validators)
assert(Validators.empty(math.random(100000000)))
assert(Validators.integer(0))
assert(Validators.integer(10))
assert(Validators.integer(-10))
assert(not Validators.integer(0.001))
assert(not Validators.integer(10.1))
assert(not Validators.integer(-10.1))
ass... | 199 |
latte-soft/wax | latte-soft-wax-9101ac5/.luau/wax.d.luau | luau | .luau | declare wax: {
version: string,
envname: string,
shared: {[any]: any},
script: LuaSourceContainer,
require: (...any) -> ...any,
}
| 41 |
latte-soft/wax | latte-soft-wax-9101ac5/examples/hello-wax-and-fusion/src/init.client.luau | luau | .luau | local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:FindFirstChildWhichIsA("PlayerGui")
local Fusion = require(script.Fusion)
local New = Fusion.New
local Children = Fusion.Children
local Value = Fusion.Value
local Computed = Fusion.Computed
local ValueCh... | 437 |
latte-soft/wax | latte-soft-wax-9101ac5/examples/react-roblox/src/init.client.luau | luau | .luau | local Players = game:GetService("Players")
local React = require(script.ReactLuau.React)
local ReactRoblox = require(script.ReactLuau.ReactRoblox)
local e = React.createElement
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer.PlayerGui
local Element = e("ScreenGui", {}, {
e("TextLabel", {
... | 151 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/BundleModel.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local luau = require("@lune/luau")
local roblox = require("@lune/roblox")
local LuneUtils = require("./libraries/LuneUtils")
local Log = LuneUtils.Log
local StringUtils = LuneUtils.StringUtils
local LuaEncode = require("./libraries/LuaEncod... | 2,053 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/data/Template.luau | luau | .luau | -- This codegen template *must* be 100% compatible with Lua 5.1x+, NOT just Luau
-- With that being said, this explains the weird cflow in some parts
return [[
-- ++++++++ WAX BUNDLED DATA BELOW ++++++++ --
-- Will be used later for getting flattened globals
local ImportGlobals
-- Holds direct closure data (defining... | 3,664 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/CommandUtils.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local process = require("@lune/process")
local CommandUtils = {}
function CommandUtils.CommandExists(binary: string): boolean
if process.os ~= "windows" then
-- Unix-compliance is simple!
return process.exec("type", { binary }, { shell ... | 176 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/EnsureFileTree.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
--[[
This kinda looks like a strange function, because of the format a "FileTree" accepts:
```lua
EnsureFileTree({
["test"] = {
["test.txt"] = "hi",
["test.json"] = "... | 303 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/ParseArgs.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
type OptionsInput = { [string]: { string | number | boolean | nil } }
type OptionsOutput = { [string]: string | number | boolean | nil }
local process = require("@lune/process")
local Log = require("./Log")
local function ParseArgs(args: { ... | 485 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/RecursiveReadDir.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
local function RecursiveReadDir(directory: string, _existingFileList: { string }?): { string }
if not string.match(directory, "[/\\]$") then
directory ..= "/"
end
local FileList = _existingFileList or {}
... | 155 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/Run.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local process = require("@lune/process")
local Log = require("./Log")
local function Run(
command: string,
args: { string }?,
directRun: boolean?,
errorHandler: (string?) -> ()?
): process.ExecResult
local Args = args or {}
local Direc... | 219 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/lib/libraries/LuneUtils/init.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
return {
Log = require("./LuneUtils/Log"),
StringUtils = require("./LuneUtils/StringUtils"),
CommandUtils = require("./LuneUtils/CommandUtils"),
WebhookQueue = require("./LuneUtils/WebhookQueue"),
Run = require("./LuneUtils/Run"),
Parse... | 128 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/make.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
local process = require("@lune/process")
local LuneUtils = require("./lib/libraries/LuneUtils")
local Log = LuneUtils.Log
local StringUtils = LuneUtils.StringUtils
local CommandUtils = LuneUtils.CommandUtils
lo... | 617 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/run-tests.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
-- This is a basic automated "test" runner, just for overlooking basic
-- functionality and making sure everything works as expected and implemented
local fs = require("@lune/fs")
local process = require("@lune/process")
local LuneUtils = re... | 938 |
latte-soft/wax | latte-soft-wax-9101ac5/lune/test-codegen.luau | luau | .luau | -- MIT License | Copyright (c) 2023-2025 Latte Softworks <https://latte.to>
local fs = require("@lune/fs")
local BundleModel = require("./lib/BundleModel")
local FilePath = "junk/testgen.lua"
local ModelCodegen = BundleModel({})
fs.writeFile(FilePath, ModelCodegen)
| 72 |
latte-soft/wax | latte-soft-wax-9101ac5/tests/errors/src/ScopeExit.server.luau | luau | .luau | error("This error is intentional, but shouldn't be in the scope of this virtual script itself", 3)
| 23 |
latte-soft/wax | latte-soft-wax-9101ac5/tests/instance-methods/src/init.server.luau | luau | .luau | print("All descendant GetFullName() results:")
for _, Ref in next, script:GetDescendants() do
print(Ref:GetFullName())
end
print("\nAll children of `Child` folder:")
for _, Ref in next, script.Child:GetChildren() do
print(Ref:GetFullName())
end
print("\nFindFirstChild() result for \"AScript\" under \"AnotherC... | 184 |
latte-soft/wax | latte-soft-wax-9101ac5/tests/wax-global/src/init.server.luau | luau | .luau | print("wax.version: ", wax.version)
print("wax.envname: ", wax.envname)
print("wax.shared: ", wax.shared)
print("wax.script: ", wax.script)
print("wax.require: ", wax.require)
| 52 |
ryanlua/satchel | ryanlua-satchel-08422a5/models/SatchelLoader/init.client.luau | luau | .luau | --[[
💖 Thanks for using Satchel 💖
Satchel is a modern open-source alternative to Roblox's default backpack 🎒
📰 DevForum: https://devforum.roblox.com/t/2451549
🛍️ Creator Store: https://create.roblox.com/store/asset/13947506401
🛝 Playground: https://www.roblox.com/join/bxsl5
]]
require(script.Satchel)
| 105 |
ryanlua/satchel | ryanlua-satchel-08422a5/src/Attribution.client.luau | luau | .luau | --!strict
--[[
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
]]
--[[
By using Satchel, you agree to provide attribution in one of the following ways:
1. Keep the Att... | 230 |
ryanlua/satchel | ryanlua-satchel-08422a5/src/init.luau | luau | .luau | --!nolint DeprecatedApi
--[[
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
]]
local ContextActionService = game:GetService("ContextActionService")
local GuiService = ga... | 18,993 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Config/Legacy/Custom_Commands.luau | luau | .luau | NOTE = [[
Legacy custom commands are automatically registered in the new admin!
]]
--[[
ADMIN POWERS
0 Player
1 VIP/Donor
2 Moderator
3 Administrator
4 Super Administrator
5 Owner
6 Game Creator
First table consists of the different variations of the command.
Second table consists of the description and an... | 332 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Config/Legacy/Settings.luau | luau | .luau | NOTE = [[
Most settings are automatically registered in the new admin!
]]
-- Use usernames or userIds to add a user to a list
-- For example; Admins = {'MyBestFriend', 'Telamon', 261}
local Banned = {
-- "someoneyoudislike",
} -- For those who have wronged you, & this guy
------------------------------------------... | 1,087 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Config/addons/src/ExampleAddon.luau | luau | .luau | -- addons not containing in "Client" or "Server" will run in both contexts (shared)
return function(_K)
if _K.DEBUG then
_K.log(`Hello World from ExampleAddon!`, "INFO")
end
_K.Registry.registerCommand(_K, {
name = "customcommand",
aliases = { "customcommandalias", "customcommandalias2" },
description = "Cu... | 1,221 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Config/addons/src/ExampleAddonClient.luau | luau | .luau | -- addons with "Client" in their name will only run on the player's computer!
return function(_K)
-- _K.UI.new "TextLabel" {
-- Parent = _K.UI.LayerTop,
-- AnchorPoint = Vector2.new(0.5, 0.5),
-- Position = UDim2.new(0.5, 0, 0.5, 0),
-- Text = "Hello World from ExampleAddonClient!",
-- }
end
| 109 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Config/addons/src/ExampleAddonServer.luau | luau | .luau | -- addons with "Server" in their name will only run on the game server!
return function(_K)
-- _K.log("Hello World from ExampleAddonServer!", "INFO")
end
| 40 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/Loader.server.luau | luau | .luau | local Package = script.Parent
local DEMO_PLACE = 2569622788
local MAIN_MODULE_ID = 1868400649
local MAIN_MODULE_NAME = "MainModule"
local AUTO_UPDATE = true
local LEGACY = false
local CONFIG = Package:FindFirstChild("Config")
if CONFIG then
AUTO_UPDATE = CONFIG:GetAttribute("AutoUpdate")
LEGACY = CONFIG:GetAttribu... | 534 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/model/README.luau | luau | .luau | return [[
┌─┐┌┬┐┌┐ ┬─┐┌─┐┌─┐┌─┐ ┌─┐┬─┐┌─┐┌─┐┌┬┐┬┬ ┬┬┌┬┐┬ ┬ ┌┐┌┌─┐┌┬┐ ┌─┐┬ ┬┌─┐┌─┐┌─┐
├┤ │││├┴┐├┬┘├─┤│ ├┤ │ ├┬┘├┤ ├─┤ │ │└┐┌┘│ │ └┬┘ ││││ │ │ │ ├─┤├─┤│ │└─┐
└─┘┴ ┴└─┘┴└─┴ ┴└─┘└─┘ └─┘┴└─└─┘┴ ┴ ┴ ┴ └┘ ┴ ┴ ┴ ┘ ┘└┘└─┘ ┴ └─┘┴ ┴┴ ┴└─┘└─┘o
Trusted by millions of developers, Kohl's Admin is your all-in-one ... | 594 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/About.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local CREDITS = require(script.Parent:WaitForChild("Credits"))
local UserFrame = require(script.Parent:WaitForChild("UserFrame"))
local About = {}
About.__index = About
function About.new(_K)
local scroller = UI.new "Scroller" {
Name = "About",
}
local STUDIO... | 3,755 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Announce.luau | luau | .luau | local _K = require(script.Parent.Parent)
local Notify = require(script.Parent:WaitForChild("Notify"))
return function(dialogOverride)
return Notify(_K.Util.Table.merge(dialogOverride, { Announce = true }))
end
| 45 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Bans.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Bans = {}
Bans.__index = Bans
function Bans.new(_K)
local BANS = _K.Data.bans
local escape = _K.Util.String.escapeRichText
local function close(self)
self.Activated(false)
end
local newBanDialog, unbanDialog
unbanDialog = UI.new "Dialog" {
Layout... | 4,538 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/CommandBar/CompletionData.luau | luau | .luau | local Players = game:GetService("Players")
local Package = script.Parent.Parent.Parent
local Command = require(Package.Shared.Process:WaitForChild("Command"))
local LocalPlayer = Players.LocalPlayer
return function(_K, text, cursorPosition)
local from = LocalPlayer.UserId
local data = {
commands = {},
message... | 1,936 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Commands.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Commands = {}
Commands.__index = Commands
local filterRichFormat = `<font transparency="0.5">%s</font><b>%s</b><font transparency="0.5">%s</font>`
local function _argsString(command)
if not command.args or #command.args == 0 then
return ""
end
local arg... | 3,627 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Credits.luau | luau | .luau | return {
{
Title = "Contributors",
Users = {
{ Id = 44391621, Tooltip = "Project Founder & Architect. Driving the vision forward. 👑" }, -- kohl
{ Id = 15554260, Tooltip = "Web Development lead and design infrastructure. 🌐" }, -- zeejaym
{ Id = 3286467, Tooltip = "Critical input on design and system plan... | 1,962 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Dashboard.luau | luau | .luau | local _K = require(script.Parent.Parent)
local UI = require(script.Parent:WaitForChild("UI"))
local About = require(script.Parent:WaitForChild("About"))
local Bans = require(script.Parent:WaitForChild("Bans"))
local Commands = require(script.Parent:WaitForChild("Commands"))
local Logs = require(script.Parent:WaitForCh... | 5,219 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Explorer/ExplorerOrder.luau | luau | .luau | --stylua: ignore
return {Accessory=30,AccessoryDescription=22,Accoutrement=20,Actor=10,AdGui=200,AdPortal=200,AirController=20,AlignOrientation=30,AlignPosition=30,AngularVelocity=30,Animation=220,AnimationConstraint=30,AnimationController=220,AnimationTrack=220,Animator=220,ArcHandles=200,Atmosphere=5,AtmosphereSensor... | 1,827 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Explorer/init.luau | luau | .luau | local _K = require(script.Parent.Parent)
local UI = require(script.Parent:WaitForChild("UI"))
local ExplorerOrder = require(script:WaitForChild("ExplorerOrder"))
local ContentProvider = game:GetService("ContentProvider")
local Reflection = game:GetService("ReflectionService")
local DragScope = {
Active = false,
Sta... | 5,357 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/GetKA.luau | luau | .luau | local _K = require(script.Parent.Parent)
local UI = _K.UI
task.defer(function()
local ADMIN_MODEL_ID = 172732271
local ok, result = _K.Util.Retry(function()
return _K.Service.Marketplace:PlayerOwnsAssetAsync(_K.LocalPlayer, ADMIN_MODEL_ID)
end)
local ownsModel = ok and result
if (_K.LocalPlayer:GetAttribute("_... | 1,231 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Logs.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Logs = {}
Logs.__index = Logs
local GLOBAL_KEY = "GLOBAL 🌐"
local clientTag = " <font color='#0bb'><b>CLIENT</b></font>"
local serverTag = " <font color='#b60'><b>SERVER</b></font>"
local logTypes = {
{ "DEBUG", "#888" },
{ "INFO", "#ccc" },
{ "WARN", "#... | 2,657 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Market.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Market = {}
Market.__index = Market
function Market.new(_K)
local scroller = UI.new "Scroller" {
Name = "Market",
}
task.defer(function()
local donationLevel = _K.LocalPlayer:GetAttribute("_KDonationLevel")
local equippedUGC = {}
local debounceEq... | 6,357 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Members.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Members = {}
Members.__index = Members
function Members.new(_K)
local escape = _K.Util.String.escapeRichText
local inputSize = function()
local size = UI.Theme.FontSize()
local padding = UI.Theme.Padding().Offset
return UDim2.fromOffset(0, size + pad... | 4,980 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Network.luau | luau | .luau | local _K = require(script.Parent.Parent)
local UI = _K.UI
_K.client.updateInterfaceAuth = _K.Util.Function.debounce(0.2, function()
local userId = _K.LocalPlayer.UserId
local userRank = _K.Auth.getRank(userId)
_K.client.rank(userRank)
local commandBarRank = _K.client.settings.commandBarRank._value
local dashboar... | 1,793 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Notify.luau | luau | .luau | local _K = require(script.Parent.Parent)
local UI = _K.UI
local announcements = {}
local notifications = {}
local function resetOffset(announce: boolean?)
local heightOffset = 0
for i, list in ipairs(if announce then announcements else notifications) do
local card, _, offset = unpack(list)
offset(heightOffset, t... | 1,113 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Servers.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Servers = {}
Servers.__index = Servers
function Servers.new(_K)
local servers = _K.Data.servers
local placeNames = {}
local function getPlaceName(placeId: number)
if placeNames[placeId] then
return placeNames[placeId]
end
local success, info = p... | 1,273 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/Settings.luau | luau | .luau | local UI = require(script.Parent:WaitForChild("UI"))
local Settings = { _K = nil }
Settings.__index = Settings
local filterRichFormat = `<font transparency="0.5">%s</font><b>%s</b><font transparency="0.5">%s</font>`
function Settings.new(_K)
local settingsDialog
local originalValues = {}
local pendingChanges = {}... | 7,748 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/BaseClass.luau | luau | .luau | local BaseClass = {}
BaseClass.__index = BaseClass
function BaseClass:Destroy()
for key, value in self do
if typeof(value) == "Instance" then
value:Destroy()
end
end
end
return BaseClass
| 54 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Button.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local Tween = game:GetService("TweenService")
local DEFAULT = {
--- A test property.
Icon = "",
IconProperties = {},
IconRightAlign = false,
Label = "",
LabelProperties = {},
ActiveSound = true,
... | 1,778 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Checkbox.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
--- Whether or not the checkbox is selected.
Value = false,
}
type Properties = typeof(DEFAULT) & TextButton
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
lo... | 615 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/CircleProgress.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Alpha = 0,
Image = UI.Theme.Image.Circle,
}
type Properties = typeof(DEFAULT) & Frame
local halfMask = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0),
NumberSequenceKeypoint... | 649 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Color.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local ColorPicker = require(script.Parent:WaitForChild("ColorPicker"))
type ColorPicker = typeof(ColorPicker.new())
-- a simple color square, when clicked shows a color picker dialog
local DEFAULT = {
T... | 443 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/ColorPicker.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local Menu = require(script.Parent:WaitForChild("Menu"))
type Menu = typeof(Menu.new())
type MenuInstance = typeof(Menu.new()._instance)
local DEFAULT = {
Adornee = false,
RightAlign = false,
Value = C... | 2,418 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Dialog.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 0, 0.5, 0),
Text = "",
TextSize = UI.Theme.FontSize,
TextColor3 = UI.Theme.PrimaryText,
TextStrokeColor3 = UI.Theme.P... | 3,162 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Gradient.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Enabled = UI.Theme.BackgroundGradientEnabled,
Start = UI.Theme.BackgroundGradient,
Stop = UI.Theme.BackgroundGradientStop,
Rotation = UI.Theme.BackgroundGradientAngle,
}
type Proper... | 187 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Input/Clack.luau | luau | .luau | local ContentProvider = game:GetService("ContentProvider")
local TextChatService = game:GetService("TextChatService")
local UserInputService = game:GetService("UserInputService")
local SoundService = game:GetService("SoundService")
local ChatInputBarConfiguration = TextChatService:FindFirstChildOfClass("ChatInputBarCo... | 508 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Input/init.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local Clack = require(script.Clack).registerAll()
Clack.enabled = UI.raw(UI.Theme.TypingSounds)
Clack.everyTextBox = UI.raw(UI.Theme.TypingSoundsOnEveryTextBox)
UI.Theme.TypingSounds:Connect(function(valu... | 3,500 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Link.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Tooltip = UI.Nil,
}
type Properties = typeof(DEFAULT) & TextBox
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function Class:_updateSelection()
local instanc... | 807 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/List.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Collapsible = false,
Collapsed = false,
Label = "",
Padding = UI.Theme.Padding,
}
type Properties = typeof(DEFAULT) & Frame
local Class = {}
Class.__index = Class
setmetatable(Clas... | 1,330 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/ListItem.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Text = "ListItem",
ContentAutomaticSize = true,
ContentListLayout = true,
Tooltip = UI.Nil,
}
type Properties = typeof(DEFAULT) & Frame
local Class = {}
Class.__index = Class
setme... | 751 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Menu.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Adornee = false,
RightAlign = false,
Visible = false,
}
type Properties = typeof(DEFAULT) & TextButton
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
local L... | 1,118 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Scroller.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {}
type Properties = typeof(DEFAULT) & ScrollingFrame
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function Class.new(properties: Properties?)
local self = tab... | 505 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/ScrollerFast.luau | luau | .luau | local RunService = game:GetService("RunService")
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local UI = require(script.Parent.Parent) :: any
local Defer = {}
do
local defaultBudget, expireTime = 1 / 240, 0
-- Call at start of process to prevent unnecessarily waiting.
function Defer.reset(bud... | 3,034 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Select.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local Button = require(script.Parent:WaitForChild("Button"))
local Menu = require(script.Parent:WaitForChild("Menu"))
type Button = typeof(Button.new())
type Menu = typeof(Menu.new())
local DEFAULT = {
... | 1,579 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Slider.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Snap = 0,
SnapSound = true,
Value = 1,
Vertical = false,
}
type Properties = typeof(DEFAULT) & Frame
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function... | 1,251 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Spacer.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {}
type Properties = typeof(DEFAULT) & Frame
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function Class.new(properties: Properties?)
local self = table.clone(... | 161 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Stroke.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {}
type Properties = typeof(DEFAULT) & UIStroke
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function Class.new(properties: Properties?)
local self = table.clo... | 208 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Switch.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
Value = false,
}
type Properties = typeof(DEFAULT) & TextButton
local itemHeight = UI.compute(function()
return UI.Theme.FontSize() + UI.Theme.Padding().Offset
end)
local Class = {}... | 635 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Tabs.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local DEFAULT = {
CurrentPage = false,
Tabs = {},
Vertical = false,
}
type Properties = typeof(DEFAULT) & Frame
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
function Class.n... | 2,826 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Tooltip.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local layerSizeState = UI.state(UI.LayerTop, "AbsoluteSize")
local positionState = UI.state(Vector2.zero)
local sizeState = UI.state(Vector2.zero)
local tipSizeState = UI.state(Vector2.zero)
local toolti... | 1,558 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Classes/Window.luau | luau | .luau | local UI = require(script.Parent.Parent) :: any
local BaseClass = require(script.Parent:WaitForChild("BaseClass"))
local Class = {}
Class.__index = Class
setmetatable(Class, BaseClass)
local resizeReference = {
{ -1, 1, 0, 0, 48 }, -- left
{ 1, 0, 0, 0, 48 }, -- right
{ 0, 0, -1, 1, 0 }, -- top
{ 0, 0, 1, 0, 0 },... | 4,231 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/DefaultProperties.luau | luau | .luau | return function(UI)
return {
ImageButton = {
HoverHapticEffect = UI.Haptic.Hover,
PressHapticEffect = UI.Haptic.Click,
},
TextButton = {
HoverHapticEffect = UI.Haptic.Hover,
PressHapticEffect = UI.Haptic.Click,
},
}
end
| 76 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Fonts.luau | luau | .luau | return {
["12187368317"] = "Akronim",
["12187363616"] = "Are You Serious",
["12187360881"] = "Audiowide",
["12187372847"] = "Barlow",
["12187371991"] = "Barrio",
["12187365104"] = "Blaka",
["16658237174"] = "Builder Extended",
["16658246179"] = "Builder Mono",
["16658221428"] = "Builder Sans",
["12187370000"]... | 1,096 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Theme/Default.luau | luau | .luau | return {
Transparency = 0.08,
TextStrokeTransparency = 0.875,
BackgroundImage = "rbxassetid://104331312960285",
BackgroundImageScaleType = Enum.ScaleType.Crop,
BackgroundImageTransparency = 1,
BackgroundGradientEnabled = false,
BackgroundGradient = Color3.fromRGB(63, 0, 31),
BackgroundGradientStop = Color3.fr... | 946 |
kohls-admin/kohls-admin | kohls-admin-kohls-admin-2413f1e/src/Client/UI/Theme/Themes/Legacy.luau | luau | .luau | return {
Transparency = 0.7,
TextStrokeTransparency = 0.9,
Primary = Color3.fromRGB(0, 0, 0),
PrimaryText = Color3.fromRGB(255, 255, 255),
Secondary = Color3.fromRGB(255, 255, 255),
SecondaryText = Color3.fromRGB(0, 0, 0),
Border = Color3.fromRGB(100, 100, 100),
Valid = Color3.fromRGB(0, 255, 0),
Invalid =... | 175 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.