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
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Components/Sections/Actions.luau
luau
.luau
--!strict local MainPath = script.Parent.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local Ignite = require(MainPath.Packages.Ignite) local Types = require(MainPath.Types) local Localization = require(MainPath.Util.Localization) local States = require(MainPath.Util.States) local Clip = require(Main...
454
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Components/Sections/Advanced.luau
luau
.luau
--!strict local MainPath = script.Parent.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local Ignite = require(MainPath.Packages.Ignite) local States = require(MainPath.Util.States) local Molecules = MainPath.Components.Molecules local Option = require(Molecules.Option) type Props = { Order: num...
422
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Components/Sections/Simplified.luau
luau
.luau
--!strict local MainPath = script.Parent.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local Ignite = require(MainPath.Packages.Ignite) local Molecules = MainPath.Components.Molecules local DynamicPad = require(Molecules.DynamicPad) type Props = { Order: number?, Visible: Fusion.UsedAs<boole...
352
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Components/Sections/UpdateWarning.luau
luau
.luau
--!strict local MainPath = script.Parent.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local Ignite = require(MainPath.Packages.Ignite) local Localization = require(MainPath.Util.Localization) local Children = Fusion.Children export type Props = { Order: number?, Visible: Fusion.UsedAs<bool...
310
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/GeneralData.luau
luau
.luau
--!strict return table.freeze { LongName = 'Custom Emote Thumbnail', ShortName = 'CET', Version = '0.1.2', CameraFOV = 20, MannequinOutfitId = 1342485078, -- Bundle: 515 DefaultParameters = table.freeze { ThumbnailKeyframe = 1, ThumbnailTime = 0, ThumbnailZoom = 1, ...
322
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Types.luau
luau
.luau
--!strict local Main = script.Parent local Fusion = require(Main.Packages.Fusion) export type Clip = CurveAnimation|KeyframeSequence|nil export type ClipValue = Fusion.Value<Clip> export type ParamValueIds = 'Time' | 'KeyFrame' | 'Rotation' | 'HorizontalOffset' | 'VerticalOffset' | 'Zoom' export type ThumbParams = { ...
93
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Util/Character.luau
luau
.luau
--!strict local Players = game:GetService('Players') local MainPath = script.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local ThumbnailUtil = require(MainPath.Util.Thumbnail) local GeneralData = require(MainPath.GeneralData) local Types = require(MainPath.Types) local Clip = require(script.Parent...
758
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Util/Clip.luau
luau
.luau
--!strict local Selection = game:GetService("Selection") local MainPath = script.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local Ignite = require(MainPath.Packages.Ignite) local Thumbnail = require(MainPath.Util.Thumbnail) local States = require(MainPath.Util.States) local Types = require(MainP...
1,252
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Util/Localization/init.luau
luau
.luau
--!strict local StudioService = game:GetService("StudioService") local Localization = {} local currentLanguage: string? = nil local fallbackLanguage = 'en' local languageCache: {[string]: {[string]: string}} = {} local function getCurrentLanguage(): string if not currentLanguage then local localeId = St...
418
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/Util/States.luau
luau
.luau
--!strict local MainPath = script.Parent.Parent local Fusion = require(MainPath.Packages.Fusion) local GeneralData = require(MainPath.GeneralData) local Types = require(MainPath.Types) local States = {} local defParams = GeneralData.DefaultParameters local paramMapping = GeneralData.ParamMapping local paramConfig = ...
884
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-908bfea/plugin/init.server.luau
luau
.luau
--!strict if not plugin then error('Code must be run in a plugin context') end local Components, Util, Packages = script.Components, script.Util, script.Packages local GeneralData = require(script.GeneralData) local Types = require(script.Types) local Fusion = require(Packages.Fusion) local Ignite = require(Packages...
1,089
artworm0/roblox-plugin-color-picker
artworm0-roblox-plugin-color-picker-6f2cb4a/color_picker.luau
luau
.luau
type PluginColorPicker = { Prompt : (self : PluginColorPicker, startingColor : Color3?) -> Color3?, BindToChange : (self : PluginColorPicker, (Color3) -> nil) -> nil, Set : (self : PluginColorPicker, color : Color3) -> nil, Cancel : (self : PluginColorPicker, Color3?) -> nil, Destroy : (self : PluginColorPicker) -...
10,060
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/runTests.luau
luau
.luau
--!strict local ServerStorage = game:GetService("ServerStorage"); local IJW = require(ServerStorage.DialogueMakerPlugin.roblox_packages.ijw); local TestRunner = IJW.TestRunner; local tests = TestRunner:findTestsFromAncestors({ServerStorage.DialogueMakerPlugin:Clone()}, ".test"); local results = TestRunner:runTests(t...
91
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Button/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); local VirtualService = require(root.VirtualService); export type ButtonProperties = { text: string; isDisabled: boolean?; backgroundC...
468
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Checkbox/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); local useStudioIcons = require(root.DialogueEditor.hooks.useStudioIcons); local VirtualService = require(root.VirtualService); export type ...
723
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Dropdown/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); local VirtualService = require(root.VirtualService); export type DropdownProps = { text: string; children: any; size: UDim2?; layou...
1,372
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/DropdownOption/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); local VirtualService = require(root.VirtualService); export type DropdownOptionProperties = { layoutOrder: number; onClick: () -> (); ...
544
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/DialogueGroupContainer/DialogueGroupContainer.test.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent; local DialogueGroupContainer = require(script.Parent); local VirtualService = require(root.VirtualService); local React = require(root.roblox_packages.react); local ReactErrorBoundary = require(root.roblox_packages.ReactErrorBoundary); local Erro...
2,237
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/DialogueGroupContainer/components/DialogueGroup/DialogueGroup.test.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local DialogueGroup = require(script.Parent); local VirtualService = require(root.VirtualService); local React = require(root.roblox_packages.react); local ReactRoblox = require(root.roblox_packages["react-roblox"]); local IJW = req...
802
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/DialogueGroupContainer/components/DialogueGroup/components/DialogueItem/DialogueItem.test.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local DialogueItem = require(script.Parent); local VirtualService = require(root.VirtualService); local VirtualSelection = require(root.DialogueEditor.mocks.Selection); local VirtualChangeHistoryService = require(root....
2,224
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/DialogueGroupContainer/components/DialogueGroup/init.luau
luau
.luau
--!strict local HttpService = game:GetService("HttpService"); local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local DialogueItem = require(script.components.DialogueItem); export type DialogueItemType = DialogueItem.DialogueItemType; export ty...
399
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/AutoTriggerCheckbox/AutoTriggerCheckbox.test.luau
luau
.luau
--!strict local StarterPlayer = game:GetService("StarterPlayer"); local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local AutoTriggerCheckbox = require(script.Parent); local VirtualService = require(root.VirtualService); local VirtualChangeHistoryService = require(root.DialogueEditor.mocks....
1,224
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/AutoTriggerCheckbox/init.luau
luau
.luau
--!strict local CollectionService = game:GetService("CollectionService"); local StarterPlayer = game:GetService("StarterPlayer"); local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Checkbox = require(root.DialogueEditor.components.Checkbox); ...
539
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/ContentPreview/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type ContentPreviewProperties = { layoutOrder: number; children: React.ReactNode; } local function ...
349
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/DialogueOptions/DialogueOptions.test.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local DialogueOptions = require(script.Parent); local VirtualService = require(root.VirtualService); local React = require(root.roblox_packages.react); local ReactErrorBoundary = require(root.roblox_packages.ReactErrorBoundary); loc...
2,359
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/DialogueOptions/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Button = require(root.DialogueEditor.components.Button); local Dropdown = require(root.DialogueEditor.components.Dropdown); local DropdownOption = require(root.DialogueEditor.compone...
1,056
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/DynamicContentCheckbox/DynamicContentCheckbox.test.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local DynamicContentCheckbox = require(script.Parent); local VirtualService = require(root.VirtualService); local React = require(root.roblox_packages.react); local ReactErrorBoundary = require(root.roblox_packages.ReactErrorBoundar...
1,498
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/DynamicContentCheckbox/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Checkbox = require(root.DialogueEditor.components.Checkbox); local useChangeHistory = require(root.DialogueEditor.hooks.useChangeHistory); local useDialogueContentScript = require(sc...
348
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/RedirectSelector/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local ContentPreview = require(script.Parent.ContentPreview); local Paragraph = require(root.DialogueEditor.components.Paragraph); local InstanceInput = require(root.DialogueEditor.compone...
662
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/components/StaticContentEditor/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useChangeHistory = require(root.DialogueEditor.hooks.useChangeHistory); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type StaticContentEditorPr...
600
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/components/Preview/hooks/useDialogueContentScript.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local function useDialogueContentScript(dialogueScript: ModuleScript): (ModuleScript?, boolean) local getDialogueContentScript = React.useCallback(function(): ModuleScript? loca...
370
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Explorer/init.luau
luau
.luau
--!strict local TweenService = game:GetService("TweenService"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local DialogueGroupContainer = require(script.components.DialogueGroupContainer); local Preview = require(script.components.Preview); local useStudioColors = req...
957
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/InitialSetupScreen/init.luau
luau
.luau
--!strict local ReplicatedStorage = game:GetService("ReplicatedStorage"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Paragraph = require(root.DialogueEditor.components.Paragraph); local Button = require(root.DialogueEditor.components.Button); local InstanceInput...
743
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/InstanceInput/init.luau
luau
.luau
--!strict local Selection = game:GetService("Selection"); local root = script.Parent.Parent.Parent; local Button = require(root.DialogueEditor.components.Button); local React = require(root.roblox_packages.react); export type InstanceInputProperties = { value: Instance?; defaultValue: Instance?; className: str...
362
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Paragraph/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type ParagraphProperties = { text: string; textColor3: Color3?; automaticSize: Enum.AutomaticSize?; textWrapped: boolean?; ...
329
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Settings/components/SettingGroup/components/Setting/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent; local packages = root.roblox_packages; local React = require(packages.react); local InstanceInput = require(root.DialogueEditor.components.InstanceInput); local ToggleInput = require(root.DialogueEditor.components.ToggleInput); local TextI...
1,335
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Settings/components/SettingGroup/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Setting = require(script.components.Setting); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); local useChangeHistory = require(root.DialogueEditor.hooks.useChangeHistor...
1,538
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Settings/components/SettingsTabSelector/init.luau
luau
.luau
--!strict local CollectionService = game:GetService("CollectionService"); local root = script.Parent.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local TabSelector = require(root.DialogueEditor.components.TabSelector); local TabSelectorButton = require(root.DialogueEditor.components...
608
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Settings/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local SettingGroup = require(script.components.SettingGroup); local settingsMetadata = require(script.settingsMetadata); local SettingsTabSelector = require(script.components.SettingsTabSelector); local useRefreshDia...
1,294
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/TabSelector/TabSelectorButton.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type TabSelectorButtonProperties = { isSelected: boolean; isDisabled: boolean?; layoutOrder: number; text: string; ...
382
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/TabSelector/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); export type TabSelectorProperties = { children: React.ReactNode; }; local function TabSelector(properties: TabSelectorProperties) local children = properties.children; return React.createElement("Frame", { ...
156
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/TextInput/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type TextInputProperties = { value: string?; placeholder: string?; onChanged: (value: string) -> (); layoutOrder: number; } ...
417
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/ToggleInput/init.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type ToggleInputProperties = { isEnabled: boolean; onChanged: (value: boolean) -> (); layoutOrder: number; } local function T...
622
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/components/Toolbar/ToolbarButton.luau
luau
.luau
--!strict local TweenService = game:GetService("TweenService"); local UserInputService = game:GetService("UserInputService"); local root = script.Parent.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useStudioColors = require(root.DialogueEditor.hooks.useStudioColors); export type Too...
916
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useAutomaticClose.luau
luau
.luau
--!strict local Selection = game:GetService("Selection"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local function useAutomaticClose(closeDialogueEditor: () -> ()) React.useEffect(function(): () local selectionChangedConnection = Selection.SelectionChang...
124
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useChangeHistory.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local VirtualService = require(root.VirtualService); local function useChangeHistory() local game = VirtualService.globals.game; local ChangeHistoryService = game:GetService("ChangeHistoryService"); local st...
183
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useDialogueMakerPackages.luau
luau
.luau
--!strict local CollectionService = game:GetService("CollectionService"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local function useDialogueMakerPackages() local getDialogueMakerPackages = React.useCallback(function() local dialogueMakerKits = Collection...
442
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useDialogueMakerScriptSelection.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local VirtualService = require(root.VirtualService); local function useDialogueMakerScriptSelection() local game = VirtualService.globals.game; local Selection = game:GetService("Selection"); local getScript...
506
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useDynamicSize.luau
luau
.luau
--!strict local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local function useDynamicSize(gui: GuiBase2d, minimumWidth: number?, minimumHeight: number?): boolean local checkCondition = React.useCallback(function() local isAtOrAboveMinimumHeight = minimumHeight == nil...
220
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useRefreshDialogueMakerScripts.luau
luau
.luau
--!strict local CollectionService = game:GetService("CollectionService"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local useDialogueMakerPackages = require(root.DialogueEditor.hooks.useDialogueMakerPackages); local function useRefreshDialogueMakerScripts() local...
1,282
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useStudioColors.luau
luau
.luau
--!strict local RunService = game:GetService("RunService"); local React = require(script.Parent.Parent.Parent.roblox_packages.react); local Colors = require(script.Parent.Parent.Parent.Colors); type ColorDictionary = Colors.ColorDictionary; local function useStudioColors(): ColorDictionary local getColors = React...
212
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/hooks/useStudioIcons.luau
luau
.luau
--!strict local RunService = game:GetService("RunService"); local root = script.Parent.Parent.Parent; local React = require(root.roblox_packages.react); local Icons = require(root.Icons); local function useStudioIcons() local getIcons = React.useCallback(function() if not RunService:IsStudio() then re...
203
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/init.luau
luau
.luau
--!strict local root = script.Parent; local React = require(root.roblox_packages.react); local Toolbar = require(script.components.Toolbar); local Explorer = require(script.components.Explorer); local Settings = require(script.components.Settings); local InitialSetupScreen = require(script.components.InitialSetupScree...
467
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/mocks/ChangeHistoryService.luau
luau
.luau
--!strict local HttpService = game:GetService("HttpService"); local VirtualChangeHistoryService = {}; function VirtualChangeHistoryService.new() local virtualChangeHistoryService = { currentHistory = {}; currentIdentifier = nil; }; function virtualChangeHistoryService:TryBeginRecording() if self...
215
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/DialogueEditor/mocks/Selection.luau
luau
.luau
--!strict local VirtualSelection = {}; function VirtualSelection.new() local selectionChangedEvent = Instance.new("BindableEvent"); local virtualSelection = { currentSelection = {}; SelectionChanged = selectionChangedEvent.Event; }; function virtualSelection:Set(selection: {Instance}): () loc...
390
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/ErrorComponent/init.luau
luau
.luau
--!strict local root = script.Parent; local Button = require(root.DialogueEditor.components.Button); local Paragraph = require(root.DialogueEditor.components.Paragraph); local React = require(root.roblox_packages.react); local ReactErrorBoundary = require(root.roblox_packages.ReactErrorBoundary); local useStudioColors...
753
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/VirtualService/EventProvider.luau
luau
.luau
--!strict local EventProvider = {}; export type EventProvider<InstanceType, T> = { getSignal: (self: EventProvider<InstanceType, T>, instance: InstanceType) -> RBXScriptSignal<T>; fireEvent: (self: EventProvider<InstanceType, T>, instance: InstanceType, ...T) -> (); }; function EventProvider.new<InstanceType, T>...
328
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/VirtualService/init.luau
luau
.luau
--!strict local EventProvider = require(script.EventProvider); local VirtualService = { globals = { plugin = plugin; game = game; script = script; }; events = { GuiButton = { Activated = EventProvider.new((nil :: unknown) :: GuiButton, "Activated"); } } }; return VirtualService;
76
DialogueMaker/plugin
DialogueMaker-plugin-fddef54/src/init.server.luau
luau
.luau
--!strict local RunService = game:GetService("RunService"); local Selection = game:GetService("Selection"); local Icons = require(script.Icons); local React = require(script.roblox_packages.react); local ReactErrorBoundary = require(script.roblox_packages.ReactErrorBoundary); local ErrorComponent = require(script.Err...
668
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMConstants.luau
luau
.luau
local IMConstants = { SLOT_NAME_PREFIX = "SLOT_", HOVER_NAME_PREFIX = "HOVER_PROMPT_", FILLED_GUI_NAME = "FILLED", DUMMY_FILLED_GUI_NAME = "D_FILLED", GRID_LAYOUT_NAME = "IMGridLayout", CONTAINER_ATTRIB...
203
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMContainer.luau
luau
.luau
--!strict local BIT_FLAGS = { CLOSED = 0b1, NO_FILTERING = 0b10, NO_DRAGGING = 0b100, NO_STACKING = 0b1000, HOTBAR_UNTOGGLED_HOVER = 0b10000, HOTBAR_COLLAPSE = 0b100000, HOTBAR_FILL_FIRST = 0b1000000, NO_AUTO_EQUIP = 0b10000000, NO_EQUIPPED_STATE = 0b100000000, NO_SO...
7,717
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMDraggableUI.luau
luau
.luau
--!strict --[[ DraggableUI forked from v1.3.3 (used in InventoryMaker v1.0.0) 5/17/2025 ------------------------------------------------------------------------ Forked Version Updates: -------------- v1.3.5 5/18/25 - set z indes on input began instead of when drag initially starts v1.3.4 5/17/25 - add _c...
1,999
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMFilter.luau
luau
.luau
--!strict local IMFilter = {} local IMContainer = require(script.Parent.IMContainer) local IMUserType = require(script.Parent.IMUserType) export type CustomFilterFunc = (slotIndex: number, item: IMUserType.USER_ITEM_TYPE, containerIndex: number) -> boolean local function searchFilter( container: IMContainer._Con...
624
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMInput.luau
luau
.luau
--!strict local UIS = game:GetService("UserInputService") type ActionValidator = (input: InputObject) -> boolean type ActionValidator2 = (input: InputObject | Enum.UserInputState) -> boolean local IMInput = { HOVER_PROMPT_START = 1, HOVER_PROMPT_END = 2, SPLIT = 3, CONTEXT_MENU_OPEN = 5, MULTI_CONTEXT_BOUNDS_CHE...
1,097
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMStaticContainer.luau
luau
.luau
--!strict local StaticContainer = {} local Players = game:GetService("Players") local player = Players.LocalPlayer::Player local playerGui = player.PlayerGui local Constants = require(script.Parent.IMConstants) export type ActivatedCallbackStatic = (item: any, filledGui: GuiObject, containerIndex: number) -> () type...
3,060
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMUserType.luau
luau
.luau
local IMUserType = {} -- This is for if you want better typechecking for your items (ITEM_TYPE) -- Define the schema of your type here. This type should represent what each item looks like. You can store anything you want -- The current type is just used as an example export type USER_ITEM_TYPE = { -- DON'T CHANGE T...
141
Asiandayboy/InventoryMaker
Asiandayboy-InventoryMaker-abe5667/src/client_modules/IMC/IMUtility.luau
luau
.luau
--!strict local Utility = {} local GuiService = game:GetService("GuiService") export type Table = { [any]: any } function Utility.GetGuiInsetY(guiInsetIgnored: boolean): number return guiInsetIgnored and GuiService:GetGuiInset().Y or 0 end function Utility.DeepCopyTable(t: Table) local copy = {} for k,v in pa...
305
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/.lune/test-lib/assertEq.luau
luau
.luau
-- see .lune/test.luau -- selene: allow(unused_variable) return function<T>(value: T, expected: T): boolean return nil :: any end
39
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/.lune/test-lib/describe.luau
luau
.luau
-- see .lune/test.luau -- selene: allow(unused_variable) return function(name: string, fn: () -> ()) end
31
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/.lune/test-lib/randomTuple.luau
luau
.luau
-- see .lune/test.luau export type TupleFunctions = { map: (...any) -> ...any, other: () -> ...any, assertEq: (...any) -> (), assertEqMapped: (...any) -> (), assertEqOther: (...any) -> (), assertEqOtherMapped: (...any) -> (), } -- selene: allow(unused_variable) return function(f: (tuple: TupleFunctions, ...any)...
100
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/future/lib.luau
luau
.luau
local Option = require("../option/lib") local std = require("../std/lib") local threadpool = require("../threadpool/lib") local task = std.task export type Future<T> = typeof(setmetatable( {} :: { _f: boolean, _v: T, _w: { thread }, _c: { (T) -> () }, }, {} :: FutureImpl )) export type FutureImpl = { __i...
1,250
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/future/lib.test.luau
luau
.luau
local assertEq = require("@testing/assertEq") local describe = require("@testing/describe") local test = require("@testing/test") local task = require("@lune/task") local Future = require("./lib") describe("new", function() test("creates a finished future with the given value", function() local fut = Future.new(5...
1,289
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/option/lib.luau
luau
.luau
export type Option<T...> = typeof(setmetatable( {} :: { -- value to "store" T... -- this value doesn't exist at runtime, and is only used for typechecking _T: (T...) -> (), _n: number, }, {} :: OptionImpl )) export type OptionImpl = { __index: OptionImpl, __tostring: <T0...>(self: Option<T0...>) -> strin...
3,706
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/option/lib.test.luau
luau
.luau
local stdio = require("@lune/stdio") local assertEq = require("@testing/assertEq") local describe = require("@testing/describe") local randomTuple = require("@testing/randomTuple") local test = require("@testing/test") local Option = require("./lib") describe("Some", function() test("returns an option containing th...
3,001
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/result/lib.luau
luau
.luau
export type Result<T, E> = typeof(setmetatable( {} :: { _ok: boolean, _v: T, _e: E, }, {} :: ResultImpl )) export type ResultImpl = { __index: ResultImpl, __tostring: <T, E>(self: Result<T, E>) -> string, __eq: <T, E>(self: Result<T, E>, other: Result<T, E>) -> boolean, Ok: <T>(value: T) -> Result<T, any...
2,538
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/result/lib.test.luau
luau
.luau
local stdio = require("@lune/stdio") local assertEq = require("@testing/assertEq") local describe = require("@testing/describe") local test = require("@testing/test") local Result = require("./lib") describe("Ok", function() test("returns a result containing the given Ok value", function() local result = Result.O...
2,999
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/default-runtimes/lune.luau
luau
.luau
local runtime = require("../runtime") local task = require("@lune/task") return runtime.defineRuntime({ name = "lune", libs = { task = { cancel = task.cancel, defer = task.defer, delay = task.delay, spawn = task.spawn, wait = task.wait, }, }, })
72
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/default-runtimes/roblox.luau
luau
.luau
local runtime = require("../runtime") return runtime.defineRuntime({ name = "roblox", libs = { task = { cancel = task.cancel, defer = task.defer, delay = task.delay, spawn = task.spawn, wait = task.wait, } :: any, }, })
66
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/lib.luau
luau
.luau
local libs = require("./libs") local runtime = require("./runtime") export type Runtime = runtime.Runtime export type RuntimeDefinition = runtime.RuntimeDefinition export type TaskLib = libs.TaskLib local std = {} local function detectRuntime(): Runtime? if _G.UTIL_TARGET == "roblox" then return require("./defau...
276
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/lib.test.luau
luau
.luau
local assertEq = require("@testing/assertEq") local describe = require("@testing/describe") local test = require("@testing/test") local std = require("./lib") describe("detectRuntime", function() test("detects lune runtime", function() assertEq(std.runtime ~= nil, true) assert(std.runtime ~= nil, "make Luau typ...
281
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/libs.luau
luau
.luau
local libs = {} export type TaskLib = { cancel: (thread) -> (), defer: <T...>(functionOrThread: thread | (T...) -> (), T...) -> thread, delay: <T...>(duration: number, functionOrThread: thread | (T...) -> (), T...) -> thread, spawn: <T...>(functionOrThread: thread | (T...) -> (), T...) -> thread, wait: (duration:...
191
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/std/runtime.luau
luau
.luau
local libs = require("./libs") export type Runtime = { name: string, libs: { task: libs.TaskLib, }, } export type RuntimeDefinition = { name: string, libs: { task: { cancel: ((thread) -> ())?, defer: (<T...>(functionOrThread: thread | (T...) -> (), T...) -> thread)?, delay: (<T...>(duration: number,...
351
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/threadpool/lib.luau
luau
.luau
local std = require("../std/lib") local task = std.task local threadpool = {} local freeThreads: { thread } = {} local function run<T...>(f: (T...) -> (), thread: thread, ...) f(...) table.insert(freeThreads, thread) end local function yielder() while true do run(coroutine.yield()) end end --[=[ Executes t...
182
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/threadpool/lib.test.luau
luau
.luau
local assertEq = require("@testing/assertEq") local describe = require("@testing/describe") local test = require("@testing/test") local threadpool = require("./lib") describe("spawn", function() test("executes the functions in a thread", function() local count = 0 local function f(v) assertEq(v, 10) count ...
255
lukadev-0/util.luau
lukadev-0-util.luau-534e2fc/packages/timer/lib.luau
luau
.luau
local Future = require("../future/lib") local std = require("../std/lib") local threadpool = require("../threadpool/lib") local task = std.task local timer = {} function timer.delay(duration: number): Future.Future<number> return Future.spawn(task.wait, duration) end function timer.interval<T...>(duration: number,...
170
grilme99/sentry-luau
grilme99-sentry-luau-148b393/modules/core/src/__tests__/math.test.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local DevPackages = ReplicatedStorage.DevPackages local JestGlobals = require(DevPackages.JestGlobals) local describe = JestGlobals.describe local it = JestGlobals.it local expect = JestGlobals.expect describe("math", function() it("should add two nu...
89
grilme99/sentry-luau
grilme99-sentry-luau-148b393/modules/core/src/integrations/init.luau
luau
.luau
local Integrations = {} Integrations.InboundFilters = require(script.inboundfilter) return Integrations
22
grilme99/sentry-luau
grilme99-sentry-luau-148b393/modules/roblox/src/types.luau
luau
.luau
-- note: no upstream type Array<T> = { T } export type SourcemapEntry = { name: string, className: string, filePaths: Array<string>, children: Array<SourcemapEntry>?, } -- note: Moved here to avoid cyclic dependency between client.lua and stackparser.lua export type RobloxStackParserOptions = { -...
117
grilme99/sentry-luau
grilme99-sentry-luau-148b393/modules/types/src/promise.luau
luau
.luau
export type PromiseLike<T> = { andThen: ( self: PromiseLike<T>, resolve: ((T) -> ...(nil | T | PromiseLike<T>))?, reject: ((any) -> ...(nil | T | PromiseLike<T>))? ) -> PromiseLike<T>, } type PromiseStatus = "Started" | "Resolved" | "Rejected" | "Cancelled" export type Promise<T> = { ...
488
grilme99/sentry-luau
grilme99-sentry-luau-148b393/test-config.luau
luau
.luau
return { placeId = 98877362830092, universeId = 7864706368, testPlaceFile = "test-place.rbxl", rojoProjectFile = "test.project.json", }
47
wakatime/roblox-studio-wakatime
wakatime-roblox-studio-wakatime-354aa91/src/init.server.luau
luau
.luau
local MarketplaceService = game:GetService("MarketplaceService") local RunService = game:GetService("RunService") local ScriptEditorService = game:GetService("ScriptEditorService") local Selection = game:GetService("Selection") local StudioService = game:GetService("StudioService") local UserInputService = game:GetServ...
619
wakatime/roblox-studio-wakatime
wakatime-roblox-studio-wakatime-354aa91/src/storageHandler.luau
luau
.luau
local util = require(script.Parent.util) local module = {} local projectSettingKey = `WakaTimeProject_{game.GameId}` function module.setProjectName(plugin: Plugin, value: string) value = util.trimString(value) -- Setting the project name to "" is a valid state, used for marking that it should be purposefully not sen...
536
wakatime/roblox-studio-wakatime
wakatime-roblox-studio-wakatime-354aa91/src/uiHandler.luau
luau
.luau
local React = require(script.Parent.Packages.React) local ReactRoblox = require(script.Parent.Packages.ReactRoblox) local StudioComponents = require(script.Parent.Packages.StudioComponents) local storageHandler = require(script.Parent.storageHandler) local util = require(script.Parent.util) local e = React.createElemen...
1,659
wakatime/roblox-studio-wakatime
wakatime-roblox-studio-wakatime-354aa91/src/util.luau
luau
.luau
local module = {} function module.instanceToPath(instance: Instance): string local path local parent = instance while parent do local name = if parent == game then "game" else parent.Name path = if path then `{name}/{path}` else name parent = parent.Parent end return path end function module.trimString(s...
322
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/scripts/roblox-test.server.luau
luau
.luau
local ReplicatedStorage = game:GetService('ReplicatedStorage') local jest = require('@pkg/@jsdotlua/jest') local jestRoots = { ReplicatedStorage:FindFirstChild('TestTarget'), } local success, result = jest.runCLI(ReplicatedStorage, {}, jestRoots):await() if not success then error(result) end task.wait(0.5)...
82
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/src/init.luau
luau
.luau
local chroma = require('./chroma') export type Color = chroma.Color export type AsColor = chroma.AsColor export type ColorBrewerName = chroma.ColorBrewerName export type ColorSpace = chroma.ColorSpace export type InterpolationMode = chroma.InterpolationMode export type Cubehelix = chroma.Cubehelix export type Scale = ...
600
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/src/io/input.luau
luau
.luau
export type Format = { -- cmyk cmyk: (...any) -> { number }, -- css css: (css: string) -> { number }?, -- gl gl: (...any) -> { number }, -- hcg hcg: (...any) -> { number }, -- hex hex: (string) -> { number }, -- hsi hsi: (...any) -> { number }, -- hsl hsl: (...an...
345
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/src/io/roblox/__tests__/roblox2rgb.test.lua
luau
.lua
local jestGlobals = require('@pkg/@jsdotlua/jest-globals') local chroma = require('../../..') local expect = jestGlobals.expect local test = jestGlobals.test local describe = jestGlobals.describe if _G.LUA_ENV ~= 'roblox' then return end test('build a color from a Roblox Color3', function() expect(chroma(Co...
251
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/src/io/roblox/init.luau
luau
.luau
local Color = require('../../Color') local chroma = require('../../chroma') local input = require('../input') type Color = Color.Color type PrivateColor = Color.PrivateColor input.format.roblox = function(color: Color3, opacity: number?) return { color.R * 255, color.G * 255, color.B * 255, if opacity then opacit...
264
seaofvoices/chroma-luau
seaofvoices-chroma-luau-43244ca/src/types/blend-types.luau
luau
.luau
local ColorTypes = require('./color-types') type Color = ColorTypes.Color type AsColor = ColorTypes.AsColor export type BlendMode = 'normal' | 'multiply' | 'screen' | 'overlay' | 'darken' | 'lighten' | 'dodge' | 'burn' type BlendFn = ({ number }, { number }) -> { number } export type...
159