messages listlengths 1 1 |
|---|
[
{
"role": "assistant",
"content": "return {\n\tName = \"unbind\",\n\tAliases = {},\n\tDescription = \"Unbinds an input previously bound with Bind\",\n\tGroup = \"DefaultUtil\",\n\tArgs = {\n\t\t{\n\t\t\tType = \"userInput ! bindableResource @ player\",\n\t\t\tName = \"Input/Key\",\n\t\t\tDescription = \"The... |
[
{
"role": "assistant",
"content": "return {\n\tName = \"var\",\n\tAliases = {},\n\tDescription = \"Gets a stored variable.\",\n\tGroup = \"DefaultUtil\",\n\tAutoExec = {\n\t\t'alias \"init-edit|Edit your initialization script\" edit ${var init} \\\\\\\\\\n && var= init ||',\n\t\t'alias \"init-run|Re-runs th... |
[
{
"role": "assistant",
"content": "return {\n\tName = \"var=\",\n\tAliases = {},\n\tDescription = \"Sets a stored value.\",\n\tGroup = \"DefaultUtil\",\n\tArgs = {\n\t\t{\n\t\t\tType = \"storedKey\",\n\t\t\tName = \"Key\",\n\t\t\tDescription = \"The key to set, saved in your user data store. Keys prefixed w... |
[
{
"role": "assistant",
"content": "local ARGUMENT_SHORTHANDS = [[\nArgument Shorthands\n-------------------\n. Me/Self\n* All/Everyone\n** Others\n? Random\n?N List of N random values\n]]\n\nlocal TIPS = [[\nTips\n----\n• Utilize the Tab key to automatically complete commands\n• Easily select and co... |
[
{
"role": "assistant",
"content": "return function(registry)\n\tregistry:RegisterType(\"bindableResource\", registry.Cmdr.Util.MakeEnumType(\"BindableResource\", { \"Chat\" }))\nend\n"
}
] |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal brickColorNames = {\n\t\"White\",\n\t\"Grey\",\n\t\"Light yellow\",\n\t\"Brick yellow\",\n\t\"Light green (Mint)\",\n\t\"Light reddish violet\",\n\t\"Pastel Blue\",\n\t\"Light orange brown\",\n\t\"Nougat\",\n\... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal color3Type = Util.MakeSequenceType({\n\tPrefixes = \"# hexColor3 ! brickColor3\",\n\tValidateEach = function(value, i)\n\t\tif value == nil then\n\t\t\treturn false, (\"Invalid or missing number at position %d... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nreturn function(cmdr)\n\tlocal commandType = {\n\t\tTransform = function(text)\n\t\t\tlocal findCommand = Util.MakeFuzzyFinder(cmdr:GetCommandNames())\n\n\t\t\treturn findCommand(text)\n\t\tend,\n\n\t\tValidate = fu... |
[
{
"role": "assistant",
"content": "return function(registry)\n\tregistry:RegisterType(\"conditionFunction\", registry.Cmdr.Util.MakeEnumType(\"ConditionFunction\", { \"startsWith\" }))\nend\n"
}
] |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal unitTable = {\n\tYears = 31556926,\n\tMonths = 2629744,\n\tWeeks = 604800,\n\tDays = 86400,\n\tHours = 3600,\n\tMinutes = 60,\n\tSeconds = 1,\n}\n\nlocal searchKeyTable = {}\nfor key, _ in pairs(unitTable) do\... |
[
{
"role": "assistant",
"content": "local HttpService = game:GetService(\"HttpService\")\n\nreturn function(registry)\n\tregistry:RegisterType(\"json\", {\n\t\tValidate = function(text)\n\t\t\treturn pcall(HttpService.JSONDecode, HttpService, text)\n\t\tend,\n\n\t\tParse = function(text)\n\t\t\treturn HttpSe... |
[
{
"role": "assistant",
"content": "return function(registry)\n\tregistry:RegisterType(\n\t\t\"mathOperator\",\n\t\tregistry.Cmdr.Util.MakeEnumType(\"Math Operator\", {\n\t\t\t{\n\t\t\t\tName = \"+\",\n\t\t\t\tPerform = function(a, b)\n\t\t\t\t\treturn a + b\n\t\t\t\tend,\n\t\t\t},\n\t\t\t{\n\t\t\t\tName = \... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\nlocal Players = game:GetService(\"Players\")\n\nlocal playerType = {\n\tTransform = function(text)\n\t\tlocal findPlayer = Util.MakeFuzzyFinder(Players:GetPlayers())\n\n\t\treturn findPlayer(text)\n\tend,\n\n\tValidat... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\nlocal Players = game:GetService(\"Players\")\n\nlocal nameCache = {}\nlocal function getUserId(name)\n\tif nameCache[name] then\n\t\treturn nameCache[name]\n\telseif Players:FindFirstChild(name) then\n\t\tnameCache[na... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal stringType = {\n\tValidate = function(value)\n\t\treturn value ~= nil\n\tend,\n\n\tParse = function(value)\n\t\treturn tostring(value)\n\tend,\n}\n\nlocal numberType = {\n\tTransform = function(text)\n\t\tretu... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal VALID_STORED_KEY_NAME_PATTERNS = {\n\t\"^%a[%w_]*$\",\n\t\"^%$%a[%w_]*$\",\n\t\"^%.%a[%w_]*$\",\n\t\"^%$%.%a[%w_]*$\",\n}\n\nreturn function(registry)\n\tlocal storedKeyType = {\n\t\tAutocomplete = function(te... |
[
{
"role": "assistant",
"content": "local Teams = game:GetService(\"Teams\")\nlocal Util = require(script.Parent.Parent.Shared.Util)\n\nlocal teamType = {\n\tTransform = function(text)\n\t\tlocal findTeam = Util.MakeFuzzyFinder(Teams:GetTeams())\n\n\t\treturn findTeam(text)\n\tend,\n\n\tValidate = function(t... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nreturn function(cmdr)\n\tlocal typeType = {\n\t\tTransform = function(text)\n\t\t\tlocal findCommand = Util.MakeFuzzyFinder(cmdr:GetTypeNames())\n\n\t\t\treturn findCommand(text)\n\t\tend,\n\n\t\tValidate = function... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal storedKeyType = {\n\tValidate = function(text)\n\t\tif text:match(\"^https?://.+$\") then\n\t\t\treturn true\n\t\tend\n\n\t\treturn false, \"URLs must begin with http:// or https://\"\n\tend,\n\n\tParse = func... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal combinedInputEnums = Enum.UserInputType:GetEnumItems()\n\nfor _, e in pairs(Enum.KeyCode:GetEnumItems()) do\n\tcombinedInputEnums[#combinedInputEnums + 1] = e\nend\n\nlocal userInputType = {\n\tTransform = fun... |
[
{
"role": "assistant",
"content": "local Util = require(script.Parent.Parent.Shared.Util)\n\nlocal function validateVector(value, i)\n\tif value == nil then\n\t\treturn false, (\"Invalid or missing number at position %d in Vector type.\"):format(i)\n\tend\n\n\treturn true\nend\n\nlocal vector3Type = Util.Ma... |
[
{
"role": "assistant",
"content": "local Players = game:GetService(\"Players\")\nlocal Player = Players.LocalPlayer\n\nreturn function(Cmdr)\n\tlocal AutoComplete = {\n\t\tItems = {},\n\t\tItemOptions = {},\n\t\tSelectedItem = 0,\n\t}\n\n\tlocal Util = Cmdr.Util\n\n\tlocal Gui = Player:WaitForChild(\"Player... |
[
{
"role": "assistant",
"content": "-- Here be dragons\nlocal GuiService = game:GetService(\"GuiService\")\nlocal UserInputService = game:GetService(\"UserInputService\")\nlocal TextChatService = game:GetService(\"TextChatService\")\nlocal Players = game:GetService(\"Players\")\nlocal Player = Players.LocalP... |
[
{
"role": "assistant",
"content": "-- Here be dragons\n\nlocal Players = game:GetService(\"Players\")\nlocal Player = Players.LocalPlayer\n\nreturn function(Cmdr)\n\tlocal Util = Cmdr.Util\n\n\tlocal Window = require(script:WaitForChild(\"Window\"))\n\tWindow.Cmdr = Cmdr\n\n\tlocal AutoComplete = require(sc... |
[
{
"role": "assistant",
"content": "local StarterGui = game:GetService(\"StarterGui\")\nlocal TextChatService = game:GetService(\"TextChatService\")\nlocal Window = require(script.Parent.CmdrInterface.Window)\n\nreturn function(Cmdr)\n\tCmdr:HandleEvent(\"Message\", function(text)\n\t\tif TextChatService.Cha... |
[
{
"role": "assistant",
"content": "local RunService = game:GetService(\"RunService\")\nlocal StarterGui = game:GetService(\"StarterGui\")\nlocal Players = game:GetService(\"Players\")\nlocal Player = Players.LocalPlayer\nlocal Shared = script:WaitForChild(\"Shared\")\nlocal Util = require(Shared:WaitForChil... |
[
{
"role": "assistant",
"content": "return function()\n\tlocal Cmdr = Instance.new(\"ScreenGui\")\n\tCmdr.DisplayOrder = 1000\n\tCmdr.Name = \"Cmdr\"\n\tCmdr.ResetOnSpawn = false\n\tCmdr.AutoLocalize = false\n\n\tlocal Frame = Instance.new(\"ScrollingFrame\")\n\tFrame.BackgroundColor3 = Color3.fromRGB(17, 17... |
[
{
"role": "assistant",
"content": "local ReplicatedStorage = game:GetService(\"ReplicatedStorage\")\nlocal StarterGui = game:GetService(\"StarterGui\")\nlocal CreateGui = require(script.Parent.CreateGui)\n\n-- Handles initial preparation of the game server-side.\nreturn function(cmdr)\n\tlocal ReplicatedRoo... |
[
{
"role": "assistant",
"content": "local RunService = game:GetService(\"RunService\")\n\nlocal Util = require(script.Parent.Util)\n\n--[=[\n\t@class Registry\n\n\tThe registry keeps track of all the commands and types that Cmdr knows about.\n]=]\n\n--[=[\n\t@type HookType \"BeforeRun\" | \"AfterRun\"\n\t@wi... |
[
{
"role": "assistant",
"content": "local RunService = game:GetService(\"RunService\")\nlocal Util = require(script.Shared:WaitForChild(\"Util\"))\n\nif RunService:IsServer() == false then\n\terror(\n\t\t\"[Cmdr] Client scripts cannot require the server library. Please require the client library from the cli... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Types)\r\n\r\nreturn function(Iris: Types.Iris)\r\n -- basic wrapper for nearly every widget, saves space.\r\n local function wrapper(name)\r\n return function(arguments, states)\r\n return Iris.Internal._Insert(n... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Types)\r\n\r\nreturn function(Iris: Types.Iris): Types.Internal\r\n --[=[\r\n @class Internal\r\n An internal class within Iris containing all the backend data and functions for Iris to operate.\r\n It is recommen... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Types)\r\n\r\nexport type ID = Types.ID\r\nexport type State<T> = Types.State<T>\r\n\r\nexport type Widget = Types.Widget\r\nexport type Root = Types.Root\r\nexport type Window = Types.Window\r\nexport type Tooltip = Types.Tooltip\r\nexp... |
[
{
"role": "assistant",
"content": "local WidgetTypes = require(script.Parent.WidgetTypes)\r\n\r\nexport type ID = WidgetTypes.ID\r\nexport type State<T> = WidgetTypes.State<T>\r\n\r\nexport type Hovered = WidgetTypes.Hovered\r\nexport type Clicked = WidgetTypes.Clicked\r\nexport type RightClicked = WidgetTy... |
[
{
"role": "assistant",
"content": "--[=[\r\n @within Iris\r\n @type ID string\r\n]=]\r\nexport type ID = string\r\n\r\n--[=[\r\n @within State\r\n @type State<T> { ID: ID, value: T, get: (self) -> T, set: (self, newValue: T) -> T, onChange: (self, callback: (newValue: T) -> ()) -> (), ConnectedW... |
[
{
"role": "assistant",
"content": "local TemplateConfig = {\r\n colorDark = { -- Dear, ImGui default dark\r\n TextColor = Color3.fromRGB(255, 255, 255),\r\n TextTransparency = 0,\r\n TextDisabledColor = Color3.fromRGB(128, 128, 128),\r\n TextDisabledTransparency = 0,\r\n\r\n ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local abstractButton = {\r\n hasState = false,\r\n hasChildren = false,\r\n Args = {\r\n [\"Text\"] = 1,\r\n ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"Checkbox\", {\r\n hasState = true,\r\n hasChildren = false,\r\n Args = ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"Selectable\", {\r\n hasState = true,\r\n hasChildren = false,\r\n Args ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"Separator\", {\r\n hasState = false,\r\n hasChildren = false,\r\n Args ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local abstractImage = {\r\n hasState = false,\r\n hasChildren = false,\r\n Args = {\r\n [\"Image\"] = 1,\r\n ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\ntype InputDataTypes = \"Num\" | \"Vector2\" | \"Vector3\" | \"UDim\" | \"UDim2\" | \"Color3\" | \"Color4\" | \"Rect\" | \"Enum\" | \"\" | string\r\ntype InputType = \"Input\" | \"Drag\" | \"Slider\"\r\n\r\nreturn fun... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local AnyMenuOpen = false\r\n local ActiveMenu: Types.Menu? = nil\r\n local MenuStack: { Types.Menu } = {}\r\n\r\n local function Em... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n -- stylua: ignore\r\n Iris.WidgetConstructor(\"ProgressBar\", {\r\n hasState = true,\r\n hasChildren = false,\r\n Arg... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"RadioButton\", {\r\n hasState = true,\r\n hasChildren = false,\r\n Args... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local NumNonWindowChildren: number = 0\r\n\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"Root\", {\r\n hasState = false,\r\n... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local function openTab(TabBar: Types.TabBar, Index: number)\r\n if TabBar.state.index.value > 0 then\r\n return\r\n ... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\n-- Tables need an overhaul.\r\n\r\n--[[\r\n\tIris.Table(\r\n\t\t{\r\n\t\t\tNumColumns,\r\n\t\t\tHeader,\r\n\t\t\tRowBackground,\r\n\t\t\tOuterBorders,\r\n\t\t\tInnerBorders\r\n\t\t}\r\n\t)\r\n\r\n\tConfig = {\r\n\t\t... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n --stylua: ignore\r\n Iris.WidgetConstructor(\"Text\", {\r\n hasState = false,\r\n hasChildren = false,\r\n Args = {\r... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local abstractTree = {\r\n hasState = true,\r\n hasChildren = true,\r\n Events = {\r\n [\"collapsed\"] = {\r\... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Parent.Types)\r\n\r\nreturn function(Iris: Types.Internal, widgets: Types.WidgetUtility)\r\n local function relocateTooltips()\r\n if Iris._rootInstance == nil then\r\n return\r\n end\r\n local PopupScr... |
[
{
"role": "assistant",
"content": "local Types = require(script.Parent.Types)\r\n\r\nlocal widgets = {} :: Types.WidgetUtility\r\n\r\nreturn function(Iris: Types.Internal)\r\n widgets.GuiService = game:GetService(\"GuiService\")\r\n widgets.RunService = game:GetService(\"RunService\")\r\n widgets.U... |
[
{
"role": "assistant",
"content": "local ReplicatedStorage = game:GetService(\"ReplicatedStorage\")\r\nlocal Iris = require(ReplicatedStorage.Iris).Init()\r\n\r\nIris:Connect(Iris.ShowDemoWindow)\r\n"
}
] |
[
{
"role": "assistant",
"content": "--------------------------------------------------------------------------------\r\n-- Batched Yield-Safe Signal Implementation --\r\n-- This is a Signal class which has effectively identical behavior to a --\r\n-- normal RBXScriptSi... |
[
{
"role": "assistant",
"content": "local Signal = require(script.Signal)\r\n\r\nlocal UserInputService: UserInputService = game:GetService(\"UserInputService\")\r\n\r\nlocal Input = {}\r\n\r\nInput.X = 0\r\nInput.Y = 0\r\nInput.KeyDown = {}\r\nInput._connections = {}\r\n\r\n-- This frame will act as our Use... |
[
{
"role": "assistant",
"content": "local Iris = require(script.Parent.Iris)\r\nlocal Input = require(script.Parent.UserInputService)\r\n\r\n-- Create the plugin toolbar, button and dockwidget for Iris to work in.\r\nlocal widgetInfo = DockWidgetPluginGuiInfo.new(Enum.InitialDockState.Float, false, false, 20... |
[
{
"role": "assistant",
"content": "local ReplicatedStorage = game:GetService(\"ReplicatedStorage\")\r\nlocal Types = require(ReplicatedStorage.Iris.PubTypes)\r\n\r\nreturn function(parent: GuiObject)\r\n local Iris: Types.Iris = require(ReplicatedStorage.Iris)\r\n local Input = require(script.Parent.U... |
[
{
"role": "assistant",
"content": "return function(Vargs)\n\tlocal client, service = Vargs.Client, Vargs.Service\n\n\t--Acts the same as a server plugin but with client functions instead of server.\n\t--[[\n\tlocal window = client.UI.Make(\"Window\",{\n\t\tTitle = \"Changing DataStore\";\n\t\tSize = {700,30... |
[
{
"role": "assistant",
"content": "--[[\n\tSERVER PLUGINS' NAMES MUST START WITH \"Server:\" OR \"Server-\"\n\tCLIENT PLUGINS' NAMES MUST START WITH \"Client:\" OR \"Client-\"\n\n\tPlugins have full access to the server/client tables and most variables.\n\n\tYou can use the MakePluginEvent to use the script... |
[
{
"role": "assistant",
"content": "--[[\n\tUse the below table to define \"pre-set\" cameras\n\n\tFormat example:\n\n\t\tCameras = {\n\t\t\t{\n\t\t\t\tName = \"CameraName\";\n\t\t\t\tPosition = Vector3; -- Example: Vector3.new(0, 0, 0) or workspace.ExampleCameraPart.Position\n\t\t\t}\n\t\t}\n--]]\n\n-------... |
[
{
"role": "assistant",
"content": "-------------------------------\n-- Scroll down for settings --\n-------------------------------\n\n--[[\n\tFormat example for Aliases:\n\n\t\tAliases = {\n\t\t\t[\":alias <arg1> <arg2> ...\"] = \":command <arg1> <arg2> ...\"\n\t\t}\n\n\n\tFormat example for CommandCooldo... |
[
{
"role": "assistant",
"content": "--------------------\n-- DONOR SETTINGS --\n--------------------\n\nreturn {\n\tDonorCapes = true;\t\t-- Donors get to show off their capes; Not disruptive :)\n\tDonorCommands = true;\t-- Show your support for the script and let donors use harmless commands like !sparkles\... |
[
{
"role": "assistant",
"content": "----------------------\n-- GENERAL SETTINGS --\n----------------------\n\nreturn {\n\tPrefix = {\":\", \";\"};\t\t-- A list of prefixes for commands, the : in :kill me\n\tPlayerPrefix = \"!\";\t\t\t-- The ! in !donate; Mainly used for commands that any player can run; Do n... |
[
{
"role": "assistant",
"content": "--[[\n\tFormat example for Join Messages:\n\n\t\tMessages = {\n\t\t\t\"This is a message using the defaults!\";\n\t\t\t{\n\t\t\t\tTitle = \"Message title\";\n\t\t\t\tMessage = \"Message body\";\n\t\t\t\tTime = 10;\n\t\t\t\tIcon = \"rbxassetid://7510999669\";\n\t\t\t\tLevel... |
[
{
"role": "assistant",
"content": "--[[\n\tList of waypoints you can teleport via ':to wp-WAYPOINTNAME' or ':teleport PLAYER tp.WAYPOINTNAME'\n\n\tUse the below table to define \"pre-set\" waypoints\n\n\tFormat example:\n\n\t\tWaypoints = {\n\t\t\tEXAMPLEWAYPOINT1NAME = Vector3; -- Example: Vector3.new(0, 0... |
[
{
"role": "assistant",
"content": "--[[\n\t--------------------------------------------\n\t-- Adonis --\n\t-- By Epix Incorporated --\n\t--------------------------------------------\n\t-- Not Everything is so Black and White --\n\t-------------------------... |
[
{
"role": "assistant",
"content": "--// 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!\n\nreturn function(Vargs, GetEnv)\n\tlocal client = Vargs.Client;\n\tlocal service = Vargs.Servi... |
[
{
"role": "assistant",
"content": "--!native\n--------------------------------------------------------------------------------------------\n-------------------------------------- Slider Module ---------------------------------------\n-- [Adonis Maintainer]: P3tray\n-- [Author]: Krypt\n-- [Description]: Crea... |
[
{
"role": "assistant",
"content": "--!native\n--!optimize 2\nlocal RunService = game:GetService(\"RunService\")\n\nlocal module = {}\n\nlocal function AlphaColorSequence(Sequence, Alpha)\n\tlocal Keypoints = Sequence.Keypoints\n\tlocal StartKeypoint, EndKeypoint = 1, #Keypoints\n\n\tfor i, Keypoint in ipair... |
[
{
"role": "assistant",
"content": "local AdonisModernComponents = script.Parent\nlocal Packages = AdonisModernComponents.Parent.Packages\n\nlocal Roact = require(Packages.Roact)\n\nlocal function SortProps(Props)\n\ttable.sort(Props, function(A, B)\n\t\treturn A.Name < B.Name\n\tend)\nend\n\nlocal function ... |
[
{
"role": "assistant",
"content": "local Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal Maid = require(Packages.Maid)\nlocal Flipper = require(Packages.Flipper)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\n-- ////////// AnimationWrapper for Mes... |
[
{
"role": "assistant",
"content": "-- Hint: Subtle hint appearing on the top of the screen\n\nlocal Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal t = require(Packages.t)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Hint = Roact.PureCompo... |
[
{
"role": "assistant",
"content": "local Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Hint = require(script.Parent.Hint)\nlocal HintStory = Roact.PureComponent:extend(script.Name)\n\nfunction HintSt... |
[
{
"role": "assistant",
"content": "-- Message: Attention grabbing on screen message\n\nlocal Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal t = require(Packages.t)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Message = Roact.PureComponent... |
[
{
"role": "assistant",
"content": "local Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Message = require(script.Parent.Message)\nlocal MessageStory = Roact.PureComponent:extend(script.Name)\n\nfuncti... |
[
{
"role": "assistant",
"content": "-- Notification: Ported from roblox studio using codify plugin due to complexity, work on a better component soon\n\nlocal Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nr... |
[
{
"role": "assistant",
"content": "local Components = script.Parent\nlocal Packages = Components.Parent.Packages\n\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Notification = require(script.Parent.Notification)\nlocal NotificationStory = Roact.PureComponent:extend(script.... |
[
{
"role": "assistant",
"content": "-- DropShadow: A component that is the base structure for a UI DropShadow\n\nlocal Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Validators = Winro.Validators\nlocal Styl... |
[
{
"role": "assistant",
"content": "-- FocusFrame: This frame will show above all other ui\n\nlocal Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Sift = require(Packages.Sift)\nlocal t = require(Packages.t)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\... |
[
{
"role": "assistant",
"content": "-- UIStroke: A custom UIStroke wrapper with support for stroke inset\n\nlocal Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal UIStroke... |
[
{
"role": "assistant",
"content": "-- Flyout: Flyout component\n\nlocal Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Sift = require(Packages.Sift)\nlocal t = require(Packages.t)\nlocal Roact = require(Pac... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Flyout = require(script.Parent.Flyout)\nlocal Button = require(Winro.App.Input.B... |
[
{
"role": "assistant",
"content": "-- Tooltip: A flyout style label\n\nlocal Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Validators = Winro.Validators\nlocal StyleValidator = require(Validators.StyleVali... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Tooltip = require(script.Parent.Tooltip)\nlocal TooltipStory = Roact.PureCompone... |
[
{
"role": "assistant",
"content": "-- Button: The basic button component\n-- https://www.figma.com/file/uNmIxgdbUT44MZjQCTIMe3/Windows-UI-3-(Community)?node-id=24412%3A121169\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithT... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal ... |
[
{
"role": "assistant",
"content": "-- ButtonStack: A button list\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Sift = require(Packages.Sift)\nlocal t = require(Packages.t)\nlocal Roact = re... |
[
{
"role": "assistant",
"content": "-- ButtonStack: A button list\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Sift = require(Packages.Sift)\nlocal t = require(Packages.t)\nlocal Roact = re... |
[
{
"role": "assistant",
"content": "-- TitleBar: The top bar of a window component\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal FrameVisualizer = require(Winro.Utility.FrameVisualizer)\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)... |
[
{
"role": "assistant",
"content": "return {\n\tAccent = {\n\t\tDisabled = {\n\t\t\tName = 'Accent/Disabled',\n\t\t\tFill = 'colors/Fill_Color/Accent/Disabled',\n\t\t\tStroke = 'colors/Fill_Color/Accent/Disabled',\n\t\t\tText = 'colors/Fill_Color/Text_On_Accent/Disabled',\n\t\t},\n\t\tRest = {\n\t\t\tName = ... |
[
{
"role": "assistant",
"content": "return function (Style)\n\treturn (\n\t\tStyle == 'Default'\n\t\tor Style == 'Accent'\n\t\tor Style == 'Standard'\n\t\tor Style == 'Primary'\n\t\tor Style == 'Secondary'\n\t), 'Expected `Accent`, `Standard`, `Primary`, `Secondary` or `Default`'\nend\n"
}
] |
[
{
"role": "assistant",
"content": "-- Checkbox: The basic checkbox component\n-- https://www.figma.com/file/uNmIxgdbUT44MZjQCTIMe3/Windows-UI-3-(Community)?node-id=25616%3A1593\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal Wit... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal Checkbox = require(script.Parent.Chec... |
[
{
"role": "assistant",
"content": "-- CheckboxGroup: A grouped collection of CheckBox elements\n-- https://www.figma.com/file/uNmIxgdbUT44MZjQCTIMe3/Windows-UI-3-(Community)?node-id=25616%3A1593\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal CheckboxRoot = script.Parent\nlocal CheckboxGroup = require(CheckboxRoot.CheckboxGroup)\nlocal CheckboxStoryElem... |
[
{
"role": "assistant",
"content": "local ClearColor = {\n\tColor = Color3.new(),\n\tTransparency = 1\n}\nreturn {\n\tNoFill = {\n\t\tDisabled = {\n\t\t\tName = 'NoFill/Disabled',\n\t\t\tCheck = ClearColor,\n\t\t\tCheckObscureWidth = 1,\n\t\t\tFill = \"colors/Fill_Color/Control_Alt/Disabled\",\n\t\t\tStroke ... |
[
{
"role": "assistant",
"content": "return function (Value)\n\tif Value == nil then\n\t\treturn 'Indeterminate'\n\telseif Value == true then\n\t\treturn 'Selected'\n\telseif Value == false then\n\t\treturn 'None'\n\tend\nend\n"
}
] |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent\nlocal Packages = Winro.Parent\nlocal t = require(Packages.t)\n\nreturn t.table(t.strictInterface({\n\tSelected = t.string,\n\tLabel = t.optional(t.string),\n\tOnClicked = t.callback\n}))\n"
}
] |
[
{
"role": "assistant",
"content": "-- ComboBox: A drop down option selector\n\nlocal Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Sift = require(Packages.Sift)\nlocal t = require(Packages.t)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nloca... |
[
{
"role": "assistant",
"content": "local Winro = script.Parent.Parent.Parent.Parent\nlocal Packages = Winro.Parent\n\nlocal Theme = require(Winro.Theme)\nlocal WithTheme = Theme.WithTheme\n\nlocal Sift = require(Packages.Sift)\nlocal Roact = require(Packages.Roact)\nlocal new = Roact.createElement\n\nlocal ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.