repo
stringclasses
350 values
file_path
stringlengths
29
200
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.01M
tokens
int64
2
598k
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Hint.luau
luau
.luau
client = nil service = nil local Components = script.Parent.Components.AdonisModernComponents local Packages = Components.Parent.Packages local Maid = require(Packages.Maid) local Signal = require(Packages.Signal) local Roact = require(Packages.Roact) local new = Roact.createElement local FadeInOutAnimationWrapper =...
417
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/YesNoPrompt.luau
luau
.luau
client, service = nil local Packages = script.Parent.Components.Packages local Signal = require(Packages.Signal) local Winro = require(Packages.Winro) local Roact = require(Packages.Roact) local new = Roact.createElement local Dialog = Winro.App.Window.Dialog export type YesNoPromptProps = { Delay: number?, Icon: ...
527
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/AnimateAvatar.server.luau
luau
.luau
local AvatarTypes = { Snoop = {0.05, { 131395838, 131395847, 131395855, 131395860, 131395868, 131395884, 131395884, 131395891, 131395897, 131395901, 131395946, 131395957, 131395966, 131395972, 131395979, 131395986, 131395989, 131395993, 131395997, 131396003, 131396007, 13139...
964
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/BunnyHop.client.luau
luau
.luau
local hum = script.Parent:FindFirstChildOfClass("Humanoid") hum.Jump = true hum:GetPropertyChangedSignal("Jump"):Connect(function() hum.Jump = true end) hum.Jump = not hum.Jump -- in some unreliable cases this line might be needed to make GetPropertyChangedSignal trigger immediately
64
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/ClickTeleport/init.client.lua
luau
.lua
task.wait() local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local mode = script.Mode.Value--"Teleport" local name = script.Target.Value local localplayer = Players.LocalPlayer local mouse = localplayer:GetMouse() local tool = script.Parent local use = false local ...
635
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/FlyClipper.client.luau
luau
.luau
task.wait() local players = game:GetService("Players") local localplayer = players.LocalPlayer local torso = localplayer.Character.HumanoidRootPart local hum = localplayer.Character:FindFirstChildOfClass("Humanoid") local mouse = localplayer:GetMouse() local enabled = script.Enabled local running = true local dir = {w...
505
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Freecam/Freecam.client.lua
luau
.lua
--!nonstrict ------------------------------------------------------------------------ -- Freecam -- Cinematic free camera for spectating and video production. ------------------------------------------------------------------------ local pi = math.pi local abs = math.abs local clamp = math.clamp local exp = math.exp l...
9,148
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Glitcher/init.client.lua
luau
.lua
task.wait() local torso = script.Parent local posed = false local type = script:WaitForChild("Type").Value local int = tonumber(script:WaitForChild("Num").Value) or 50 game:GetService("RunService").RenderStepped:Connect(function() if type == "ghost" then torso.CFrame += Vector3.new(tonumber(int) * (posed and 4 or -...
300
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/HatPets.server.luau
luau
.luau
local hats = script.Parent local events = {} if hats then local mode = hats.Mode local target = hats.Target repeat for _,hat in next,hats:GetChildren() do if hat:IsA('Part') then local bpos = hat.bpos hat.CanCollide = false if events[`{hat.Name}hatpet`] then events[`{hat.Name}hatpet`]:Disconn...
408
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Illegal.client.luau
luau
.luau
local msgs={ { Msg="We need more..... philosophy... ya know?", Color=Enum.ChatColor.Green },{ Msg="OH MY GOD STOP TRYING TO EAT MY SOUL", Color=Enum.ChatColor.Red },{ Msg="I.... CANT.... FEEL.... MY FACE", Color=Enum.ChatColor.Red },{ Msg="DO YOU SEE THE TURTLE?!?!", Color=Enum.ChatColor.Red },{ Msg="Omg puff the magic...
745
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Quacker.server.luau
luau
.luau
while true do task.wait(math.random(5, 20)) if script.Parent ~= nil then script.Parent:FindFirstChild(`Quack{math.random(1, 4)}`):Play() else script:Destroy() break end end
57
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Seize.client.luau
luau
.luau
local root = script.Parent local humanoid = root.Parent:FindFirstChildOfClass("Humanoid") local origvel = root.AssemblyLinearVelocity local origrot = root.AssemblyAngularVelocity repeat task.wait(0.1) humanoid.PlatformStand = true root.AssemblyLinearVelocity = Vector3.new(math.random(-10, 10), -5, math.random(-10, ...
143
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Sfling/init.client.lua
luau
.lua
task.wait() local cam = workspace.CurrentCamera local torso = script.Parent local humanoid = torso.Parent:FindFirstChildOfClass("Humanoid") local strength = script:WaitForChild("Strength").Value for i = 1, 100 do task.wait(0.1) humanoid.Sit = true local ex = Instance.new("Explosion") ex.Position = torso.Position +...
167
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Slippery.client.luau
luau
.luau
task.wait(0.5) local vel = script.Parent:WaitForChild("ADONIS_IceVelocity") while script.Parent ~= nil and vel and vel.Parent ~= nil do vel.Velocity = Vector3.new(script.Parent.AssemblyLinearVelocity.X, 0, script.Parent.AssemblyLinearVelocity.Z) task.wait(0.1) end if vel then vel:Destroy() end
82
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Assets/Spinner.client.luau
luau
.luau
local torso = script.Parent local bg = torso:FindFirstChild("ADONIS_SPIN_GYRO") repeat task.wait(1/44) bg.CFrame *= CFrame.Angles(0, math.rad(12), 0) until not bg or bg.Parent ~= torso
60
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/CountryRegionCodes.luau
luau
.luau
return { US = "United States", GB = "United Kingdom", CA = "Canada", AF = "Afghanistan", AX = "Aland Islands", AL = "Albania", DZ = "Algeria", AS = "American Samoa", AD = "Andorra", AO = "Angola", AI = "Anguilla", AQ = "Antarctica", AG = "Antigua and Barbuda", AR = "Argentina", AM = "Armenia", AW = "Aru...
1,925
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreConstants.lua
luau
.lua
--[[ MockDataStoreConstants.lua Contains all constants used by the entirety of MockDataStoreService and its sub-classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] return { LOGGING_ENABLED = false; -- Verbose l...
700
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreManager.lua
luau
.lua
--# selene: allow(incorrect_standard_library_use) --[[ MockDataStoreManager.lua This module does bookkeeping of data, interfaces and request limits used by MockDataStoreService and its sub-classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICEN...
3,116
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStorePages.lua
luau
.lua
--[[ MockDataStorePages.lua This module implements the API and functionality of Roblox's DataStorePages class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStorePages = {} MockDataStorePages.__index = MockDataStorePages l...
419
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreUtils.lua
luau
.lua
--[[ MockDataStoreUtils.lua Contains helper and utility functions used by other classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStoreUtils = {} local Constants = require(script.Parent.MockDataStoreConstants) local H...
2,590
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockGlobalDataStore.lua
luau
.lua
--[[ MockGlobalDataStore.lua This module implements the API and functionality of Roblox's GlobalDataStore class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockGlobalDataStore = {} MockGlobalDataStore.__index = MockGlobalDataSto...
3,997
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockOrderedDataStore.lua
luau
.lua
--[[ MockOrderedDataStore.lua This module implements the API and functionality of Roblox's OrderedDataStore class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockOrderedDataStore = {} MockOrderedDataStore.__index = MockOrderedDa...
4,545
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/DataStoreService/init.lua
luau
.lua
--[[ DataStoreService.lua This module decides whether to use actual datastores or mock datastores depending on the environment. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStoreServiceModule = script.MockDataStoreService ...
284
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/FetchF3X.luau
luau
.luau
--[[ A way to dynamically fetch the F3X module with require()'s ModuleScript sandboxing. ]] script:Destroy() -- selene: allow(incorrect_standard_library_use) script = nil return select(2, pcall(function() return require(580330877)() end)) or true
63
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Loadstring/LuaU.luau
luau
.luau
--# selene: allow(incorrect_standard_library_use, multiple_statements, shadowing, unused_variable, empty_if, divide_by_zero, unbalanced_assignments) --[[-------------------------------------------------------------------- ldump.lua Save precompiled Lua chunks This file is part of Yueliang. Copyright (c) 2006 ...
3,201
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/Loadstring/LuaX.luau
luau
.luau
--# selene: allow(incorrect_standard_library_use, multiple_statements, shadowing, unused_variable, empty_if, divide_by_zero, unbalanced_assignments) --[[-------------------------------------------------------------------- llex.lua Lua lexical analyzer in Lua This file is part of Yueliang. Copyright (c) 2005-2...
8,009
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Dependencies/RebootHandler/init.server.lua
luau
.lua
--# selene: allow(incorrect_standard_library_use) if script.Parent then local dTargetVal = script:WaitForChild("Runner") local parentVal = script:WaitForChild("mParent") local modelVal = script:WaitForChild("Model") local modeVal = script:WaitForChild("Mode") warn("Reloading in 5 seconds...") task.wait(5) scrip...
389
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Plugins/FindExistingObjects.luau
luau
.luau
--[[ Description: Searches the place for existing Adonis items and registers them. Author: Sceleratis Date: 4/3/2022 --]] return function(Vargs, GetEnv) local server = Vargs.Server; local service = Vargs.Service; local Settings = server.Settings local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote,...
316
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Plugins/Misc_Features.luau
luau
.luau
--// NOTE: THIS IS NOT A *CONFIG/USER* PLUGIN! ANYTHING IN THE MAINMODULE PLUGIN FOLDERS IS ALREADY PART OF/LOADED BY THE SCRIPT! DO NOT ADD THEM TO YOUR CONFIG>PLUGINS FOLDER! return function(Vargs, GetEnv) local server = Vargs.Server; local service = Vargs.Service; local Settings = server.Settings local Functio...
1,544
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Plugins/Trello.luau
luau
.luau
-- Trello plugin type Card = {id: string, name: string, desc: string, labels: {any}?} type List = {id: string, name: string, cards: {Card}} return function(Vargs, GetEnv) local server = Vargs.Server; local service = Vargs.Service; local Settings = server.Settings local Functions, Commands, Admin, Anti, Core, HTTP...
3,167
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Server/Plugins/Urgent_Messages.luau
luau
.luau
return function(Vargs, GetEnv) local server = Vargs.Server; local service = Vargs.Service; local Settings = server.Settings local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Deps = server.Functions, server.Commands, server.Admin, server.Anti, server.Core, server.HTTP, server.L...
1,207
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/DoubleLinkedList.luau
luau
.luau
--!native --// File: LinkedList.lua --// Desc: Provides a more performance-friendly alternative to large tables that get shifted in indexes constantly --// Author: Coasterteam local LinkedList = {} LinkedList.__index = LinkedList LinkedList.__meta = "DLL" local LinkNode = {} LinkNode.__index = LinkNode function Link...
1,101
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/FiOne/init.luau
luau
.luau
--!native --!optimize 2 --!nolint TableOperations --# selene: allow(multiple_statements, mixed_table) --[[ FiOne Copyright (C) 2021 Rerumu This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either vers...
7,765
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/GoodSignal.luau
luau
.luau
--!native -------------------------------------------------------------------------------- -- Batched Yield-Safe Signal Implementation -- -- This is a Signal class which has effectively identical behavior to a -- -- normal RBXScriptSignal, with the only difference being a couple ...
1,743
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/HashLib.luau
luau
.luau
--!native --!optimize 2 --!strict --[[ Description: SHA256 digest hash Author: XoifailTheGod Date: 2024 Link: https://devforum.roblox.com/t/fastest-sha256-module/3180016 ]] --[=[ Cryptography library: SHA256 Sizes: Digest: 32 bytes Return type: string Example usage: local Message = buffer.fromstring("Hel...
1,919
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/MatIcons.luau
luau
.luau
--[[ ════════════════════════════════════════════ Material Icons Collection for Roblox Uploaded painstakingly by @Expertcoderz Images are licensed under Apache 2.0 license Sourced from Google LLC: https://fonts.google.com/icons ('Sharp' style, white colored) ══════════════════════════════════════════...
1,549
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Shared/Typechecker.luau
luau
.luau
--!native --[[ t: a runtime typechecker for Roblox by osyrisrblx MIT License ]] local t = {} function t.type(typeName) return function(value) local valueType = type(value) if valueType == typeName then return true else return false, string.format("%s expected, got %s", typeName, valueType) end e...
7,384
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/init.luau
luau
.luau
--[[ _ _ _ _ _ _ / \ __| | ___ _ __ (_)___ / \ __| |_ __ ___ (_)_ __ / _ \ / _` |/ _ \| '_ \| / __| / _ \ / _` | '_ ` _ \| | '_ \ / ___ \ (_| | (_) | | | | \__ \ / ___ \ (_| | | | | | | | | | | /_/ \_\__,_|\___/|_| |_|_|___/ /_/ \_\__,...
356
loneka/onyx-ui
loneka-onyx-ui-978b53c/include/StandaloneBundler.luau
luau
.luau
return require(script.Packages["OnyxUI"])
10
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/Samples.storybook.luau
luau
.luau
return { name = "OnyxUI Samples", storyRoots = { script.Parent, }, }
23
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/SettingsMenu/SettingToggle.luau
luau
.luau
local OnyxUI = script.Parent.Parent.Parent.OnyxUI.Packages.OnyxUI local Themer = require(OnyxUI.Themer) local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Children = Fusion.Children local SwitchGroup = require(script.Parent.SwitchGroup) local Switch = require(OnyxUI.Components.Switch...
462
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/SettingsMenu/SettingsMenu.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent.Parent.OnyxUI.Packages.OnyxUI local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local BitCave = require(script.Parent.Parent.Themes.BitCave) local Children = Fusion.Children local Frame = require(OnyxUI.Components.F...
253
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/SettingsMenu/SwitchGroup.luau
luau
.luau
local OnyxUI = script.Parent.Parent.Parent.OnyxUI.Packages.OnyxUI local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Fusion = require(OnyxUI.Parent.Fusion) local BaseButton = require(OnyxUI.Components.BaseButton) local Switch = require(OnyxUI.Components.Switch) local Components = { BaseButt...
228
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/SettingsMenu/init.luau
luau
.luau
local OnyxUI = require(script.Parent.Parent.OnyxUI) local Fusion = require(script.Parent.Parent.OnyxUI.Packages.Fusion) local Themer = OnyxUI.Themer local Util = OnyxUI.Util local Children = Fusion.Children local SettingToggle = require(script.SettingToggle) export type Props = { Parent: Fusion.UsedAs<Instance>?, }...
646
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/Testing/ContextualPalette.story.luau
luau
.luau
local OnyxUI = require(script.Parent.Parent.Parent.OnyxUI) local Fusion = require(script.Parent.Parent.Parent.OnyxUI.Packages.OnyxUI.Parent.Fusion) local Util = OnyxUI.Util local Themer = OnyxUI.Themer local Components = OnyxUI.Components local Children = Fusion.Children local function Palette(Scope: Fusion.Scope<any...
518
loneka/onyx-ui
loneka-onyx-ui-978b53c/samples/Themes/BitCave.luau
luau
.luau
local OnyxUI = script.Parent.Parent.Parent.OnyxUI.Packages.OnyxUI local Util = require(OnyxUI.Util) local NewTheme = require(OnyxUI.Themer.NewTheme) local Fusion = require(OnyxUI.Parent.Fusion) local Scope = Fusion.scoped() local BitCave = NewTheme(Scope, { Colors = { Primary = { Main = Util.Colors.White, }, ...
499
loneka/onyx-ui
loneka-onyx-ui-978b53c/scripts/pesdeToWally.luau
luau
.luau
local fs = require("@lune/fs") local serde = require("@lune/serde") local function convertDependencies(pesdeDependencies) local wallyDependencies = {} for alias, dependency in pairs(pesdeDependencies) do if next(dependency) ~= nil then assert(dependency.name == nil, `Package relies on Pesde package.`) if d...
375
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/AutoScaler.luau
luau
.luau
--[=[ @class AutoScaler Automatically scales children for the user's screen. 📱💻📺🥽 ]=] --[=[ @interface AutoScalerProps @within AutoScaler . ... FrameProps -- All Frame properties are accepted. .BaseResolution Vector2 -- The base resolution to scale from. .MinScale number -- The minimum scale factor. ...
474
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/AutoScaler.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local AutoScaler = require(OnyxUI.Components.AutoScaler) local Card = require(OnyxUI.Components.Card) local Components = { AutoScal...
253
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Avatar.luau
luau
.luau
--[=[ @class Avatar Useful for displaying player headshots and profile pictures. And optionally, user status. ]=] --[=[ @interface AvatarProps @within Avatar . ... ImageProps -- All Image properties are accepted. .Image string? -- The image to display in the avatar. .RingEnabled boolean? -- Whether the r...
1,089
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Avatar.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local Frame = require(script.Parent.Frame) local Avatar = require(script.Parent.Avatar) local Components = { Frame = Frame, Avata...
843
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Badge.luau
luau
.luau
--[=[ @class Badge Used to inform the user of something's status. E.g. a notification indicator or discount tag. ]=] --[=[ @interface BadgeProps @within Badge . ... FrameProps -- All Frame properties are accepted. .Content {string}? -- The content to display inside the badge. .ContentWrapped boolean? -- ...
710
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Badge.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local Frame = require(OnyxUI.Components.Frame) local Badge = require(OnyxUI.Components.Badge) local Text = require(OnyxUI.Component...
592
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Base.luau
luau
.luau
--[=[ @class Base The foundational component of OnyxUI, from which all other components are built off of. Props supported here typically work in all other components. ]=] --[=[ @interface GradientProps @within Base .Enabled boolean? -- Whether the gradient is enabled. .Color ColorSequence? -- The color seque...
6,489
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Base.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Components = require(OnyxUI.Components) local Children = Fusion.Children return { story = function(Props) local Theme = Themer.Theme:now() local Scope = F...
1,090
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/BaseButton.luau
luau
.luau
--[=[ @class BaseButton A barebones button component, like if Roblox had a "`Button`" class rather than only a `TextButton`. ]=] --[=[ @interface BaseButtonProps @within BaseButton . ... BaseProps -- All Base properties are accepted. .Disabled boolean? -- Whether the button is disabled. .OnActivate (() ->...
1,108
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Button.luau
luau
.luau
--[=[ @class Button A robust button component, supporting text and icons, and multiple variants. ]=] --[=[ @interface ButtonProps @within Button . ... BaseButtonProps -- All BaseButton properties are accepted. .Disabled boolean? -- Whether the button is disabled. .Style string? -- The style of the button ...
1,832
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Button.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Button = require(script.Parent.Button) local Frame = require(script.Parent.Frame) local Divider = require(script.Parent.Divide...
805
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Card.luau
luau
.luau
--[=[ @class Card Useful for grouping and displaying Content in a user friendly way. ]=] --[=[ @within Card @interface CardProps . ... FrameProps -- All Frame properties are accepted. ]=] local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Theme...
310
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Card.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local Frame = require(OnyxUI.Components.Frame) local Card = require(OnyxUI.Components.Card) local Text = require(OnyxUI.Components.T...
457
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Checkbox.luau
luau
.luau
--[=[ @class Checkbox Useful for settings, to-do lists, and anything needing a "Check!" ]=] --[=[ @interface CheckboxProps @within Checkbox . ... BaseButtonProps -- All BaseButton properties are accepted. .Checked boolean? -- Whether the checkbox is checked. .Icon string? -- The icon to display inside the...
1,131
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Checkbox.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local Frame = require(OnyxUI.Components.Frame) local Checkbox = require(OnyxUI.Components.Checkbox) local Components = { Frame = Fr...
316
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Divider.luau
luau
.luau
--[=[ @class Divider Useful for separating UI into sections. ]=] --[=[ @interface DividerProps @within Divider . ... FrameProps -- All Frame properties are accepted. .Length UDim -- The length of the divider. .FillDirection Enum.FillDirection -- The direction in which the divider fills (Horizontal or Ver...
802
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Divider.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Frame = require(OnyxUI.Components.Frame) local Divider = require(OnyxUI.Components.Divider) local Text = require(OnyxUI.Compon...
291
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Frame.luau
luau
.luau
--[=[ @class Frame A barebones container object. Unlike Roblox's `Frame`, it is transparent by default. ]=] --[=[ @within Frame @interface FrameProps . ... BaseProps -- All Base properties are accepted. ]=] local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = req...
193
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Group.luau
luau
.luau
--[=[ @class Group Equivalent to Roblox's `CanvasGroup` instance. ]=] --[=[ @within Group @interface GroupProps @field ... BaseProps -- All Base properties are accepted. @field GroupTransparency Fusion.UsedAs<number>? @field GroupColor3 Fusion.UsedAs<Color3>? ]=] local OnyxUI = script.Parent.Parent ...
276
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Heading.luau
luau
.luau
--[=[ @class Heading For sectioning bodies of text or content, like for a menu title. ]=] --[=[ @interface HeadingProps @within Heading . ... TextProps -- All Text properties are accepted. .HeadingSize number? -- Multiplier for the text size, default is 1.75. .TextSize number? -- Base text size, default i...
345
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Heading.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Heading = require(script.Parent.Heading) local Frame = require(script.Parent.Frame) local Text = require(script.Parent.Text) l...
269
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Icon.luau
luau
.luau
--[=[ @class Icon It's an icon, what else can I say? ]=] --[=[ @within Icon @interface IconProps . ... ImageProps -- All Image properties are accepted. ]=] local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(script.Par...
207
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Icon.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Icon = require(script.Parent.Icon) local Components = { Icon = Icon, } return { story = function(Props) local Scope = Fusion.innerScope(Props.scope, Fusion, Util, Components) Scope:Icon { ...
113
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconButton.luau
luau
.luau
--[=[ @class IconButton Like [`Button`](/api/Button), but for a single [`Icon`](/api/Icon). ]=] --[=[ @within IconButton @interface IconButtonProps . ... ButtonProps -- All Button properties are accepted. . Image string? ]=] local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusi...
285
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconButton.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local IconButton = require(script.Parent.IconButton) local Frame = require(script.Parent.Frame) local Components = { IconButton = ...
448
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconSwap.luau
luau
.luau
--[=[ @class IconSwap Swap between an array of icons. ]=] --[=[ @interface IconSwapProps @within IconSwap . ... IconButtonProps -- All IconButton properties are accepted. .Options {string}? -- Array of image strings to swap between .Selection number? -- The currently selected option index ]=] local Onyx...
457
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconSwap.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local IconSwap = require(script.Parent.IconSwap) local Frame = require(script.Parent.Frame) return { story = function(Props) loc...
243
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconText.luau
luau
.luau
--[=[ @class IconText For displaying both text and icons alongside each other as one seamless body. ]=] --[=[ @interface IconTextProps @within IconText . ... FrameProps -- All Frame properties are accepted. .Content {string}? -- The content to display, can include both text and icons. .ContentColor Color...
753
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/IconText.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local IconText = require(script.Parent.IconText) local Components = { IconText = IconText, } return { story = function(Props) local Scope = Fusion.innerScope(Props.scope, Fusion, Util, Components) ...
177
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Image.luau
luau
.luau
--[=[ @class Image Equivalent to Roblox's `ImageLabel`. ]=] --[=[ @interface ImageProps @within Image . ... BaseProps -- All Base properties are accepted. .Image string? -- The image asset ID to display. .FallbackImage string? -- The fallback image asset ID to display if `Image` is not provided. .ImageC...
679
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Image.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Frame = require(OnyxUI.Components.Frame) local Image = require(OnyxUI.Components.Image) local Components = { Frame = Frame, ...
258
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/ProgressBar.luau
luau
.luau
--[=[ @class ProgressBar Useful for communicating progress towards goals. ]=] --[=[ @interface ProgressBarProps @within ProgressBar . ... FrameProps -- All Frame properties are accepted. .Inverted boolean? -- Whether the progress bar is inverted. .Progress number? -- The progress value, ranging from 0 to...
1,066
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/ProgressBar.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local ColorUtils = require(OnyxUI.Parent.ColorUtils) local Themer = require(OnyxUI.Themer) local Util = require(OnyxUI.Util) local Children = Fusion.Children local Frame = require(script.Parent.Frame) local ProgressBar = require(script....
1,156
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Scroller.luau
luau
.luau
--[=[ @class Scroller For making Content scrollable. Equivalent to Roblox's `Scroller` instance. ]=] --[=[ @interface ScrollerProps @within Scroller . ... BaseProps -- All Base properties are accepted. .AutomaticCanvasSize Enum.AutomaticSize? -- Determines whether the canvas size is automatically adjusted...
1,124
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Scroller.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Scroller = require(script.Parent.Scroller) local Components = { Scroller = Scroller, } return { story = function(Props) local Scope = Fusion.innerScope(Props.scope, Fusion, Util, Components) ...
160
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Slider.luau
luau
.luau
--[=[ @class Slider For draggable linear selection. ]=] --[=[ @interface SliderProps @within Slider . ... BaseButtonProps -- All BaseButton properties are accepted. .Value number? -- The current value of the slider (0 to 1). .Disabled boolean? -- Whether the slider is disabled. .Unit number? -- The step...
1,903
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Slider.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Components = { Slider = require(OnyxUI.Components.Slider), Frame = require(OnyxUI.Components.Frame), } return { story = fu...
335
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Switch.luau
luau
.luau
--[=[ @class Switch Useful for letting the user switch things on / off. ]=] --[=[ @interface SwitchProps @within Switch . ... BaseButtonProps -- All BaseButton properties are accepted. .Switched boolean? -- Whether the switch is toggled on or off .Disabled boolean? -- Whether the switch is disabled ...
1,821
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Switch.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Switch = require(script.Parent.Switch) local Frame = require(script.Parent.Frame) local Components = { Switch = Switch, Fram...
224
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Tabs.luau
luau
.luau
--[=[ @class Tabs For tabbing between things. ]=] --[=[ @interface TabsProps @within Tabs . ... ButtonProps -- All Button properties are accepted. .Tabs { { string } }? -- List of tabs .Tab number? -- The currently active tab .Disabled boolean? -- Whether the tabs are disabled .Color Color3? -- Color of...
604
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Tabs.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Tabs = require(script.Parent.Tabs) local Frame = require(script.Parent.Frame) local Components = { Tabs = Tabs, Frame = Fram...
357
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Text.luau
luau
.luau
--[=[ @class Text For displaying text. *Lorem ipsum dolo..* ]=] --[=[ @interface TextProps @within Text . ... BaseProps -- All Base properties are accepted. .Text string? -- The text to display. .TextColor3 Color3? -- The color of the text. .TextSize number? -- The size of the text. .RichText boolean? ...
889
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/Text.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Components = { Text = require(OnyxUI.Components.Text), } return { story = function(Props) local Scope = Fusion.scoped(Fusion, Util, Components) Scope:Text { Parent = Props.target, Text...
142
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextArea.luau
luau
.luau
--[=[ @class TextArea Like [`TextInput`](/api/TextInput), but dedicated for multi-line use-cases. ]=] --[=[ @within TextArea @interface TextAreaProps . ... TextInputProps -- All TextInput properties are accepted. ]=] local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = re...
187
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextArea.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local TextArea = require(script.Parent.TextArea) local Frame = require(script.Parent.Frame) local Components = { TextArea = TextAre...
426
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextInput.luau
luau
.luau
--[=[ @class TextInput For letting the user input text. ]=] --[=[ @interface TextInputProps @within TextInput . ... BaseProps -- All Base properties are accepted. .Disabled boolean? -- Whether the text input is disabled. .CharacterLimit number? -- The maximum number of characters allowed in the text input...
2,155
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextInput.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local TextInput = require(script.Parent.TextInput) local Frame = require(script.Parent.Frame) local Components = { Frame = Frame, ...
323
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextSwap.luau
luau
.luau
--[=[ @class TextSwap Swap between an array values. ]=] --[=[ @interface TextSwapProps @within TextSwap . ... BaseButtonProps -- All BaseButton properties are accepted. .Options {string}? -- Array of string options to swap between .Selection number? -- The currently selected option index .Disabled boole...
1,527
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TextSwap.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Fusion = require(OnyxUI.Parent.Fusion) local Util = require(OnyxUI.Util) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local Components = { TextSwap = require(OnyxUI.Components.TextSwap), Frame = require(OnyxUI.Components.Frame), } return { story ...
327
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TitleBar.luau
luau
.luau
--[=[ @class TitleBar For displaying a title, and an optional close button. ]=] --[=[ @interface TitleBarProps @within TitleBar . ... FrameProps -- All Frame properties are accepted. .Content {string}? -- The content of the title bar. .ContentSize number? -- The size of the content text. .ContentColor Co...
846
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/TitleBar.story.luau
luau
.luau
local OnyxUI = script.Parent.Parent local Util = require(OnyxUI.Util) local Fusion = require(OnyxUI.Parent.Fusion) local Themer = require(OnyxUI.Themer) local Children = Fusion.Children local TitleBar = require(OnyxUI.Components.TitleBar) local Frame = require(OnyxUI.Components.Frame) local Components = { Frame = Fr...
284
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/Components/init.luau
luau
.luau
local STORY_EXTENSION = ".story" local Components = { Base = require(script.Base), Text = require(script.Text), Frame = require(script.Frame), Badge = require(script.Badge), Avatar = require(script.Avatar), AutoScaler = require(script.AutoScaler), BaseButton = require(script.BaseButton), Button = require(scrip...
342
loneka/onyx-ui
loneka-onyx-ui-978b53c/src/OnyxUI.storybook.luau
luau
.luau
return { name = "OnyxUI", storyRoots = { script.Parent.Components, }, }
23