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
Vexot/CustomEmoteThumbnail
Vexot-CustomEmoteThumbnail-8ea26ff/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
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Constants.luau
luau
.luau
return { VERSION = "5.8.0", TaggedProperties = { --[["RunContext",]] "Enabled", "Name", "ClassName" }, EditorsEnabled = true, ExplorerFrameNameFormat = "f_%s", ExplorerFrameScriptClassNameFormat = "s_%s", UnsavedTokenTag = "DontSaveToken", DefaultTokenTag = "Default", InsertScopeFormat = "Insert:%s", Poin...
107
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/ContextMenuEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local main = script.Parent.Parent local shared = main.Shared local PluginUI = require(shared.PluginUI) local RawInst = require(shared.Small.RawInst) local UITemplates = require(shared.UITemplates) local ItemGroup = require(shared.Vendo...
2,674
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/InstanceVisibilityEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local ReflectionService = game:GetService("ReflectionService") local HttpService = game:GetService("HttpService") local main = script.Parent.Parent local shared = main.Shared local UITemplates = require(shared.UITemplates) local PluginUI...
1,222
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/JextensionEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local main = script.Parent.Parent local shared = main.Shared local PluginUI = require(shared.PluginUI) local RawInst = require(shared.Small.RawInst) local UITemplates = require(shared.UITemplates) local ItemGroup = require(shared.Vendo...
753
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/OrderEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local RunService = game:GetService("RunService") local main = script.Parent.Parent local shared = main.Shared local UITemplates = require(shared.UITemplates) local Types = require(main.Types) local JDF = require(shared.UDF) local Plu...
1,578
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrame.luau
luau
.luau
--!strict --!optimize 2 local InstanceRecord = require("../../Shared/Small/InstanceRecord") local main = script.Parent.Parent.Parent local shared = main.Shared local PluginUI = require(shared.PluginUI) local RawInst = require(shared.Small.RawInst) local rawindex = RawInst.rawindex local Types = require(main.Types)...
536
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/Color3.luau
luau
.luau
--!strict --!optimize 2 local StudioService = game:GetService("StudioService") local PropertyFrame = require("../PropertyFrame") local xyz = require("../../../Shared/Small/xyz") local ColorPicker = require("../../../Shared/Vendor/PluginColorPicker") local PluginUI = PropertyFrame.PluginUI local RawInst = PropertyFra...
834
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/ContentId.luau
luau
.luau
--!strict --!optimize 2 local StudioService = game:GetService("StudioService") local PropertyFrame = require("../PropertyFrame") local PluginUI = PropertyFrame.PluginUI local RawInst = require("../../../Shared/Small/RawInst") return PropertyFrame.create( "ContentId", function(info, list, item, initValue) local u...
440
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/Enum.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local getClampedXY = require("../../../Shared/Small/GetClampedXY") local RawInst = require("../../../Shared/Small/RawInst") return PropertyFrame.create( "Enum", function(info, list, item, initValue) local editorFrame = info.PropertyEditor.W...
465
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/Instance.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local PropertyFrame = require("../PropertyFrame") local PluginUI = PropertyFrame.PluginUI return PropertyFrame.create( "Instance", function(info, list, item, initValue) local PropertyEditor, Manager = info.PropertyEditor, info.Manag...
422
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/Vector3.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local xyz = require("../../../Shared/Small/xyz") local PluginUI = PropertyFrame.PluginUI local RawInst = PropertyFrame.RawInst return PropertyFrame.create( "Vector3", function(info, list, item, initValue) local axisToUi = {} local items: ...
1,025
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/bool.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local RawInst = PropertyFrame.RawInst return PropertyFrame.create( "string", function(info, list, item, initValue) local box = PropertyFrame.PluginUI.createCheckBox(list, item.name, initValue) return box, { box = box } end, functi...
237
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/double_float.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local RawInst = PropertyFrame.RawInst return PropertyFrame.create( "number", function(info, list, item, initValue) local box = PropertyFrame.PluginUI.createAttributeBox(list, item.name, string.format("%.3f", initValue)) return box, { ...
261
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/int8_int16_int64_int32_int.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local RawInst = PropertyFrame.RawInst return PropertyFrame.create( "number", function(info, list, item, initValue) local box = PropertyFrame.PluginUI.createAttributeBox(list, item.name, initValue) return box, { box = box } end, fu...
248
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/PropertyFrames/string.luau
luau
.luau
--!strict --!optimize 2 local PropertyFrame = require("../PropertyFrame") local RawInst = PropertyFrame.RawInst return PropertyFrame.create( "string", function(info, list, item, initValue) local box = PropertyFrame.PluginUI.createAttributeBox(list, item.name, initValue) return box, { box = box } end, fu...
238
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/PropertyEditor/init.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local ReflectionService = game:GetService("ReflectionService") local ChangeHistoryService = game:GetService("ChangeHistoryService") local main = script.Parent.Parent local shared = main.Shared local UITemplates = require(shared.UITemp...
3,907
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/SettingEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local main = script.Parent.Parent local shared = main.Shared local UITemplates = require(shared.UITemplates) local Types = require(main.Types) local PluginUI = require(shared.PluginUI) local Style = require(shared.Style) local DefaultSe...
840
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/StateEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local main = script.Parent.Parent local shared = main.Shared local PluginUI = require(shared.PluginUI) local UITemplates = require(shared.UITemplates) local ItemGroup = require(shared.Vendor.ItemGroup) local SavedState = require(shared...
2,395
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Editors/StyleEditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local StudioService = game:GetService('StudioService') local main = script.Parent.Parent local shared = main.Shared local UITemplates = require(shared.UITemplates) local Types = require(main.Types) local PluginUI = require(shared.Plu...
5,038
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/ClassSelectionMenu.luau
luau
.luau
--!strict local ChangeHistoryService = game:GetService("ChangeHistoryService") local Types = require("../Types") local ClassIcon = require("./Small/ClassIcon") local RawInst = require("./Small/RawInst") local Categories = require("./Info/InstanceCategories") local getClampedXY = require("./Small/GetClampedXY") loca...
3,179
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Create/ClassProps.luau
luau
.luau
type Source<T> = (() -> (T)) & ((newValue: T) -> ()) type V<T> = T--T | Source<T> -- Base Instance type type Instance = { Name: V<string>, ClassName: V<string>, Archivable: V<boolean>, Parent: V<Instance?>, [number]: any, } -- GuiBase2d - Base for all 2D UI elements type GuiBase2d = Instance & { AbsolutePositio...
2,658
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Create/init.luau
luau
.luau
local Props = require(script.ClassProps) type Create<Name, PropsType, Type> = (Name) -> (PropsType) -> (Type) type Create_Overloaded = & Create<"Frame", Props.Frame, Frame> & Create<"ScrollingFrame", Props.ScrollingFrame, ScrollingFrame> & Create<"TextLabel", Props.TextLabel, TextLabel> & Create<"TextButton", Props....
1,196
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/CreateOptionsDropdown.luau
luau
.luau
--!strict local plugin = script:FindFirstAncestorOfClass("Plugin") local VersionControl = require("../Editors/VersionControl") local StyleEditor = require("../Editors/StyleEditor") local SettingEditor = require("../Editors/SettingEditor") local OrderEditor = require("../Editors/OrderEditor") local InstanceVisibilityE...
1,655
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Defaults/DefaultInvisibleClasses.luau
luau
.luau
local studioSetting = settings().Studio local pluginDebugServiceEnabled = studioSetting.PluginDebuggingEnabled return { if pluginDebugServiceEnabled then nil else "PluginDebugService", "VirtualInputManager", "InstanceFileSyncService", "AdService", "InstanceExtensionsService", "MicroProfilerService", "Moderation...
627
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Defaults/DefaultOrder.luau
luau
.luau
--!strict local Types = require("../../Types") return function(manager: Types.Manager) return { "Workspace", "Players", "CoreGui", "Lighting", "MaterialService", "NetworkClient", "PluginGuiService", "ReplicatedFirst", "ReplicatedStorage", "ServerScriptService", "ServerStorage", "StarterGui", ...
444
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Defaults/DefaultSettings.luau
luau
.luau
--!strict local Types = require(script.Parent.Parent.Parent.Types) local Style = require(script.Parent.Parent.Style) local DefaultStyle = require("./DefaultStyle") local var = Style.var return { Display = { ShowTabBar = { Type = "boolean", Display = "Show Tab Bar", Default = true, OnChange = function(m...
1,722
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Defaults/DefaultStyle.luau
luau
.luau
--!strict local Style = require("../Style") local Selector = require("../Small/Selector") local ClassIcon = require("../Small/ClassIcon") local Types = require("../../Types") local InstClasses = require("../Info/InstClasses") local Constants = require("../../Constants") local rule = Style.rule local var = Style.var l...
8,441
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/ExplorerFrame.luau
luau
.luau
--!strict --!optimize 2 local ScriptEditorService = game:GetService("ScriptEditorService") local Types = require("../Types") local Jecs = require("../Jecs") local RawInst = require("./Small/RawInst") local UITemplates = require("./UITemplates") local Selector = require("./Small/Selector") local ClassIcon = require("....
10,376
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/GitAPI/APIResult.luau
luau
.luau
export type APIResult<T... = ()> = { Code: number, Message: string, Success: boolean, Unwrap: (APIResult<T...>) -> T... } local resultIndex = {} local resultMt = { __index = resultIndex, __metatable = "Metatable is locked" } function resultMt:__tostring() return `APIResult({self.Success})` end function result...
241
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/GitAPI/Base64.luau
luau
.luau
local endchars = { '', '==', '=' } local function to_base64(data: string): string -- (XDeltaXen) - https://devforum.roblox.com/t/base64-encoding-and-decoding-in-lua/1719860 local b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' return ((data:gsub('.', function(x) local r,b='',x:byte() for i...
475
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/GitAPI/LuaSecret.luau
luau
.luau
local secretToData = setmetatable({}::{[any]: {value: Secret | string, authorizedEnv: any, metadata: {[string]: any}}}, {__mode = "k"}) local function checkToRootEnv(secret: LuaSecret, levelToRootEnv: number) if not levelToRootEnv then error("levelToRootEnv is a required parameter.") end local data = secretToData...
795
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/HierarchyState.luau
luau
.luau
--!strict --!optimize 2 local ScriptEditorService = game:GetService("ScriptEditorService") local Types = require("../Types") local Jecs = require("../Jecs") local RawInst = require("./Small/RawInst") local JexpTags = require("./Small/JexpTags") local Constants = require("../Constants") local JQL = require("./JQL") l...
8,910
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Info/InsertSuggestedClasses.luau
luau
.luau
local INSERT_SUGGESTED_CLASSES: {[string]: {string}} = { Workspace = { "Part", "MeshPart", "Model", "Folder", "Pointer", }, Players = { "Pointer" }, CoreGui = { "ScreenGui", "Pointer" }, Lighting = { "Sky", "Atmosphere", "SunRaysEffect", "ColorCorrectionEffect", "BlurEffect", "BloomEf...
528
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Info/InstClasses.luau
luau
.luau
return { "Pointer", "Frame", "ForceField", "Folder", "FloorWire", "FloatCurve", "FlangeSoundEffect", "Fire", "FileMesh", "Explosion", "EulerRotationCurve", "EqualizerSoundEffect", "EchoSoundEffect", "DynamicRotate", "Dragger", "DoubleConstrainedValue", "DockWidgetPluginGui", "DistortionSoundEffect", ...
1,222
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Info/InstanceCategories.luau
luau
.luau
return { Meta = { "Pointer" }, Input = { "ProximityPrompt", "ClickDetector", "DragDetector", "UIDragDetector", "InputAction", "InputBinding", "InputContext" }, UI = { "SurfaceGui", "BillboardGui", "ScreenGui", "Frame", "TextLabel", "TextButton", "TextBox", "ImageLabel", "Image...
1,429
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/JQL.luau
luau
.luau
--!strict local Selection = game:GetService("Selection") local Types = require("../Types") local UDF = require(script.Parent.UDF) local Jecs = require("../Jecs") local RawInst = require("./Small/RawInst") local rawindex = RawInst.rawindex local selectionVersion = 0 type Id = Jecs.Id type World = Types.World type E...
9,309
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Luaup/span.luau
luau
.luau
local cst = require("./cst") local function unreachable(_: never): never error("unreachable") end local span_generic_declaration: (cst.GenericDeclaration) -> cst.Span local span_generic_declaration_with_defaults: (cst.GenericDeclarationWithDefaults) -> cst.Span local span_type_arg: (cst.TypeArg) -> cst.Span local sp...
3,645
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Luaup/util.luau
luau
.luau
local cst = require("./cst") local visit = require("./visit") local module = {} do local visitor = visit.visitor() local buf = buffer.create(1024) local pos = 0 local function write(string: string) local bytes = #string local new_pos = (pos + bytes) :: number local old_len = buffer.len(buf) if new_pos ...
375
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Luaup/visit.luau
luau
.luau
--!optimize 2 --!nolint LocalShadow local cst = require("./cst") local function unreachable(_: never): never error("unreachable") end export type Visitor<State> = { visit_token: (state: State, token: cst.Token) -> (), visit_generic_declaration: (state: State, node: cst.GenericDeclaration) -> (), visit_generic_de...
12,900
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/PluginManager.luau
luau
.luau
return PluginManager() :: PluginManager
7
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/PluginUI.luau
luau
.luau
--!optimize 2 --!strict local plugin = script:FindFirstAncestorOfClass("Plugin") local StudioService = game:GetService("StudioService") local RawInst = require(script.Parent.Small.RawInst) local index, newindex = RawInst.index, RawInst.newindex local FIXED_DISTANCE = 140 local PADDING = 4 local EQUALS_WIDTH = 16 e...
14,778
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/RulerPool.luau
luau
.luau
--!strict local Types = require("../Types") type ExplorerFrame = Types.ExplorerFrame type Manager = Types.Manager local RULER_POOL_SIZE = 20 local rulerPool: {GuiObject} = {} local RulerPool = {} function RulerPool.fillToLimit(Manager: Manager) if #rulerPool >= RULER_POOL_SIZE then return end local framesToCreat...
509
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/SavedState/Migrations.luau
luau
.luau
local Types = require("../../Types") local UDF = require("../UDF") local default_style = require("../Defaults/DefaultStyle") local default_settings = require("../Defaults/DefaultSettings") local default_invisible_classes = require("../Defaults/DefaultInvisibleClasses") local Constants = require("../../Constants") loca...
667
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/SavedState/init.luau
luau
.luau
--!strict local plugin = script:FindFirstAncestorOfClass("Plugin") local Style = require("./Style") local Types = require("../Types") local DefaultOrder = require("./Defaults/DefaultOrder") local DefaultInvisibleClasses = require("./Defaults/DefaultInvisibleClasses") local DefaultSettings = require("./Defaults/Defaul...
1,177
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/Alias.luau
luau
.luau
return function<T>(tbl: T, name: string): T return setmetatable(tbl, { __tostring = function() return name end, }) end
38
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/ChildrenOf.luau
luau
.luau
--!strict local Jecs = require(script.Parent.Parent.Parent.Jecs) local Types = require(script.Parent.Parent.Parent.Types) type World = Types.World type ExplorerEntity = Types.ExplorerEntity local childrenOf = (function(world: World, parent: ExplorerEntity, a, b, c) if a and b and c then return world:query(a, b, c,...
279
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/ClassIcon.luau
luau
.luau
--!strict local StudioService = game:GetService('StudioService') local getclassicon = StudioService.GetClassIcon local Types = require(script.Parent.Parent.Parent.Types) local ClassIcon = { CachedIcons = { ["Pointer"] = { ImageRectSize = Vector2.zero, ImageRectOffset = Vector2.zero, Image = "rbxassetid://...
197
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/GetClampedXY.luau
luau
.luau
return function(frameSize: Vector2, originalPosition: Vector2, size: Vector2, containerPos: Vector2, containerSize: Vector2): (number, number) local left = containerPos.X local top = containerPos.Y local right = containerPos.X + containerSize.X local bottom = containerPos.Y + containerSize.Y local desiredX = orig...
233
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/GetClassPropMap.luau
luau
.luau
local ReflectionService = game:GetService("ReflectionService") local propMapCache: {[string]: ReflectedProperties} = {} return function(className: string): {[string]: ReflectedProperty} local cached = propMapCache[className] if cached then return cached end local success, props = pcall(function() return Reflec...
175
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/InstanceRecord.luau
luau
.luau
local ChangeHistoryService = game:GetService("ChangeHistoryService") return { beginRecording = function(name: string) local id = ChangeHistoryService:TryBeginRecording(name, name) if not id then ChangeHistoryService:SetWaypoint(name) end return id end, finishRecording = function(id: string?, operation: E...
110
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/JexpTags.luau
luau
.luau
local formats = { TaggedProperty = "JEXP_TAGGED_%s_%s" } local JexpTags = { Formats = formats } function JexpTags.getTaggedPropertyTag(propName: string, targetedValue: string) return formats.TaggedProperty:format(propName, targetedValue) end return JexpTags
69
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/RawInst.luau
luau
.luau
local _, newindex: (Instance, string, ...any) -> () = xpcall(function() game[""] = nil end, function() return debug.info(2, "f") end) local _, index: (Instance, string) -> ...any = xpcall(function() local b = game[""] end, function() return debug.info(2, "f") end) return table.freeze({ index = function(self, k) ...
199
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/RecordChanges.luau
luau
.luau
local ChangeHistoryService = game:GetService("ChangeHistoryService") type fn = () -> () local lastRecordingId: string? local lastRecordingState: Enum.FinishRecordingOperation? local function onEnd(id, operationObject, ...) if id and lastRecordingId == id then ChangeHistoryService:FinishRecording(id, operationObjec...
316
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/Selector.luau
luau
.luau
local StudioService = game:GetService('StudioService') local Constants = require("../../Constants") local JexpTags = require("./JexpTags") local format = string.format local function getTaggedPropertySelector(propName: string, targetedValue: string) return `.{JexpTags.getTaggedPropertyTag(propName, targetedValue)}` ...
532
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/StickToRightEdge.luau
luau
.luau
return function(containerWidth: number, frameX: number, offset: number) local padding = 20 return UDim2.new( 0, containerWidth - frameX - padding + offset, 0.5, 0 ) end
56
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/TextBoundsHelper.luau
luau
.luau
local Types = require("../../Types") local RawInst = require("./RawInst") local GetStyled = game.GetStyled local rawindex = RawInst.rawindex local textlabel = Instance.new("TextLabel") textlabel.Visible = false textlabel.Name = "BoundsCalcProxy" return { SetProxyParent = function(parent: Instance) textlabel.Pare...
154
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/ToStringUtils.luau
luau
.luau
local xyz = require("./xyz") local ToStringUtils = { Color3 = {}, } local COL3_FMT = "%.2f, %.2f, %.2f" local FLOAT_FMT = "%.2f" local VEC2_MT = "%.2f, %.2f" local XY_PATT = "%s*([%d.-]*)%s*,%s*([%d.-]*)%s*" function ToStringUtils.fromVec2String(str: string) local x, y = str:match(XY_PATT) return Vector2.new( ...
289
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Small/xyz.luau
luau
.luau
return function(str: string): (any, any, any) return (string.match :: any)(str, "%s*([%d.-]*)%s*,%s*([%d.-]*)%s*,%s*([%d.-]*)%s*") end
57
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Style/init.luau
luau
.luau
--!strict --!optimize 2 local eval = require(script.EvalASEL) local SimpleSignal = require(script.Parent.Vendor.SimpleSignal) export type Expression = { __stylevar: boolean, __expr: string } export type Cloned = { __clonedrule: boolean, __name: string } export type StyleToken = { __styletoken: boolean, Name: ...
6,164
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/UITemplates.luau
luau
.luau
local create = require("./create") return { JexplorerUi = function() return create "Frame" { Name = "JexplorerUi", "JEXP_Background", create "Frame" { Name = "InstanceTree", "JEXP_DarkBackground", create "ScrollingFrame" { Name = "TreeScroller", "JEXP_ScrollingFrame", }, cre...
1,454
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/ItemGroup.luau
luau
.luau
--!strict export type Disconnect = () -> () local create local __extend local __itemgroup export type ItemGroup<T = any> = { add: (ItemGroup<T>, item: T) -> Disconnect, add_many: (ItemGroup<T>, items: {T}) -> Disconnect, free: (ItemGroup<T>, recursive: boolean?) -> (), extend: typeof(__extend), items: {T}, cl...
610
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/PluginColorPicker.luau
luau
.luau
type PluginColorPicker = { Prompt : (self : PluginColorPicker, startingColor : Color3?) -> Color3?, BindToChange : (self : PluginColorPicker, ((Color3) -> ())?) -> (), BindToConfirm: (self : PluginColorPicker, (() -> ())?) -> (), BindToCancel : (self : PluginColorPicker, (() -> ())?) -> (), Set : (self : PluginCol...
10,321
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/SimpleSignal/LICENSE.luau
luau
.luau
--[[ This module is distributed under a modified MIT license Copyright (c) 2025 athar_adv Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation t...
242
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/SimpleSignal/Types.luau
luau
.luau
--!strict export type SignalConnection = { Disconnect: typeof( --[[ Disconnects the connection from the event. ]] function(self: SignalConnection)end ), Connected: boolean, -- Private members [{}]: { MainThread: thread?, Fn: (...any) -> (), Connections: {SignalConnection}, Index: number, IsPa...
605
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/SimpleSignal/init.luau
luau
.luau
--!optimize 2 --!strict --!native --[[ SimpleSignal ]] -- Author: athar_adv local Types = require(script.Types) export type SignalConnection = Types.SignalConnection export type SimpleSignal<T...=(any)> = Types.SimpleSignal<T...> export type RBXScriptConnection = SignalConnection export type RBXScriptSignal<T...=(...
1,338
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/greentea/init.luau
luau
.luau
local GreenTea = require(script.GreenTea) local InstanceClasses = require(script.InstanceClasses) local tCompat = require(script.tCompat) export type Cause = GreenTea.Cause export type Type = GreenTea.Type export type TuplePacked<T...> = GreenTea.TuplePacked<T...> local export = {} export.t = tCompat export.isGreen...
837
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/Vendor/greentea/tCompat.luau
luau
.luau
local GreenTea = require(script.Parent.GreenTea) local isA = require(script.Parent.InstanceClasses) local t = {} type Typechecker = (...any) -> (boolean, any?) type TypecheckerConstr<T... = ()> = (T...) -> Typechecker local function asPlainFn(fn: (...any) -> ...any): Typechecker return function() return fn() en...
2,971
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/VirtualScroller.luau
luau
.luau
--!strict --!optimize 2 local Jecs = require("../Jecs") local Types = require("../Types") local RawInst = require("./Small/RawInst") local Constants = require("../Constants") local stickToRightEdge = require("./Small/StickToRightEdge") local RulerPool = require("./RulerPool") local rawnewindex = RawInst.rawnewindex ...
4,220
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/create/ClassProps.luau
luau
.luau
type Source<T> = (() -> (T)) & ((newValue: T) -> ()) type V<T> = T?--T | Source<T> -- Base Instance type type Instance = { Name: V<string>, ClassName: V<string>, Archivable: V<boolean>, Parent: V<(Instance | any)?>, [number]: any | string, } -- GuiBase2d - Base for all 2D UI elements type GuiBase2d = Instance &...
2,665
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Shared/create/init.luau
luau
.luau
local Props = require(script.ClassProps) type Create<Name, PropsType, Type> = (Name) -> (PropsType) -> (Type) type Create_Overloaded = & Create<"Frame", Props.Frame, Frame> & Create<"ScrollingFrame", Props.ScrollingFrame, ScrollingFrame> & Create<"TextLabel", Props.TextLabel, TextLabel> & Create<"TextButton", Pro...
646
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/Types.luau
luau
.luau
--!strict local main = script.Parent local shared = main.Shared local PluginUI = require(shared.PluginUI) local Style = require(shared.Style) local GitAPI = require(shared.GitAPI) local ItemGroup = require(shared.Vendor.ItemGroup) local SimpleSignal = require(shared.Vendor.SimpleSignal) local ColorPicker = require(...
6,152
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/UniPlugin.luau
luau
.luau
--!strict --!optimize 2 --version 0.0.0 --[[ UniPlugin: Plugins, unified. Author: athar_adv ]] --[=[ @type Api {[string]: any} @within UniPlugin A publicly exported interface for the UniPlugin. ]=] --[=[ @class UniPluginConnection A connection that can be closed. ]=] --[=[ @prop isClosed boolean @within Un...
3,563
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/__defaulteditor.luau
luau
.luau
--!strict --!optimize 2 local plugin = script:FindFirstAncestorOfClass("Plugin") local main = script.Parent.Parent local utilities = main.Utilities local ui = main.UI local Types = require(main.Types) local Editor = {} -- :: Types.Editor function Editor.init(Manager) end return Editor
69
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/init.server.luau
luau
.luau
--!strict --!optimize 2 --[[ JExplorer This plugin is distributed under the MIT license (2026). Author: athar_adv ]] if not plugin then return end local Constants = require("@self/Constants") local CoreGui = game:GetService("CoreGui") plugin.Name = `cloud/plugin/Jexplorer@{Constants.VERSION}` local global = s...
1,034
athar-adv/Jexplorer
athar-adv-Jexplorer-230cba3/src/standaloneTypes.luau
luau
.luau
--!strict -- Jecs Definitions type i53 = number type i24 = number type Ty = { Entity } type ArchetypeId = number type Column = { any } type Map<K, V> = { [K]: V } export type Archetype = { id: number, types: Ty, type: string, entities: { Entity }, columns: { Column }, columns_map: { [Component]: Column } } ...
7,776
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Classes/Errors/MissingError.luau
luau
.luau
--!optimize 2 --!strict local Error = require("@packages/Error") export type MissingError = { name: "MissingError", message: string, stack: string?, } type Static = typeof(Error) & { new: (message: string) -> MissingError, } local MissingError: MissingError & Static = setmetatable({}, {__index = Error}) :: any (...
214
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Classes/Errors/StrictTypeError.luau
luau
.luau
--!optimize 2 --!strict local Error = require("@packages/Error") export type StrictTypeError = { name: "StrictTypeError", message: string, stack: string?, } type Static = typeof(Error) & { new: (message: string) -> StrictTypeError, } local StrictTypeError: StrictTypeError & Static = setmetatable({}, {__index = E...
214
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Classes/Errors/TypeError.luau
luau
.luau
--!optimize 2 --!strict local Error = require("@packages/Error") export type TypeError = { name: "TypeError", message: string, stack: string?, } type Static = typeof(Error) & { new: (message: string) -> TypeError, } local TypeError: TypeError & Static = setmetatable({}, {__index = Error}) :: any; (TypeError :: a...
197
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Classes/FileInstance.luau
luau
.luau
--!optimize 2 --!strict local PathFileSystem = require("@packages/PathFileSystem") local PathUtilities = require("@utilities/PathUtilities") local process = require("@lune/process") export type FileInstance = { FilePath: string, IsDirectory: boolean, Name: string, Parent: FileInstance?, GetChildren: (self: File...
1,272
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Classes/LRUCache.luau
luau
.luau
--!optimize 2 --!strict local GreenTea = require("@packages/GreenTea") local LuauPolyfill = require("@packages/LuauPolyfill") local Error = LuauPolyfill.Error type Node<K, V> = { Key: K, Next: Node<K, V>?, Previous: Node<K, V>?, Value: V, } export type LRUCache<K, V> = typeof(setmetatable( {} :: { Capacity: ...
2,934
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/BrickColor/Colors.luau
luau
.luau
--!optimize 2 --!strict local Color3 = require("@contexts/Color3") local SortedArray = require("@packages/SortedArray") export type Color3 = Color3.PolyfillColor3 export type ColorData = { Color3: Color3, Name: string, Number: number, } local function DeepCopy<T>(object: T): T local new = table.clone(object :: n...
7,698
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/BrickColor/init.luau
luau
.luau
--!optimize 2 --!strict local Color3 = require("@contexts/Color3") local LuauPolyfill = require("@packages/LuauPolyfill") local TypeOf = require("@packages/TypeOf") local Colors = require("@self/Colors") local Error = LuauPolyfill.Error local ColorData = Colors.ColorData local SortedByName = Colors.SortedByName loc...
1,499
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Color3.luau
luau
.luau
--!optimize 2 --!strict export type PolyfillColor3 = { R: number, G: number, B: number, Lerp: (self: PolyfillColor3, color: PolyfillColor3, alpha: number) -> PolyfillColor3, ToHSV: (self: PolyfillColor3) -> (number, number, number), ToHex: (self: PolyfillColor3) -> string, r: number, g: number, b: number, }...
1,540
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/DateTime.luau
luau
.luau
--!optimize 2 --!strict --[[ MIT License Copyright (c) 2024 BusyCityGuy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
399
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Debug.luau
luau
.luau
--!optimize 2 --!strict --[[ MIT License Copyright (c) 2024 BusyCityGuy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
434
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Instance/Signal/FastDefer.luau
luau
.luau
--!optimize 2 --!strict local task = require("@lune/task") local FreeThreads: {thread} = table.create(500) local function RunFunction<Arguments...>(callback: (Arguments...) -> (), thread: thread, ...: Arguments...) callback(...) table.insert(FreeThreads, thread) end local function Yield() while true do RunFunct...
184
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Instance/Signal/IsDeferred.luau
luau
.luau
--!optimize 2 --!strict local cached: boolean = nil local function IsDeferred(): boolean if cached ~= nil then return cached end local success, value = pcall(function() return game:GetService("Workspace").SignalBehavior.Name == "Deferred" end) if not success then cached = false return cached end cac...
95
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Instance/init.luau
luau
.luau
--!optimize 2 --!strict local Signal = require("@self/Signal") local roblox = require("@lune/roblox") local roblox_Instance_new = roblox.Instance.new local Instance = setmetatable({ new = function(className: string, parent: roblox.Instance?) if className == "BindableEvent" then return Signal.new() end ret...
103
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/NumberRange.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillNumberRange, other: PolyfillNumberRange) -> boolean, __tostring: (self: PolyfillNumberRange) -> string, __type: "NumberRange", } export type PolyfillNumberRange = typeof(setmetatable({} :: {Max: number, Min: number}, {} :: Metatable)) type Static = {ne...
429
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Random.luau
luau
.luau
--!optimize 2 --!strict export type PolyfillRandom = { NextInteger: (self: PolyfillRandom, minimum: number, maximum: number) -> number, NextNumber: ((self: PolyfillRandom, minimum: number, maximum: number) -> number) & ((self: PolyfillRandom) -> number), Shuffle: (self: PolyfillRandom, array: {any}) -> (), } type...
334
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/RaycastParams.luau
luau
.luau
--!optimize 2 --!strict local RaycastParams = {} RaycastParams.__index = RaycastParams RaycastParams.__type = "RaycastParams" function RaycastParams.new() return setmetatable({}, RaycastParams) end return table.freeze(RaycastParams)
60
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/Axes.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillAxes, other: PolyfillAxes) -> boolean, __tostring: (self: PolyfillAxes) -> string, __type: "Axes", } export type PolyfillAxes = typeof(setmetatable({} :: {}, {} :: Metatable)) type Static = {new: ((value: number) -> PolyfillAxes) & ((...any) -> Polyfil...
200
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/CatalogSearchParams.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillCatalogSearchParams, other: PolyfillCatalogSearchParams) -> boolean, __tostring: (self: PolyfillCatalogSearchParams) -> string, __type: "CatalogSearchParams", } export type PolyfillCatalogSearchParams = typeof(setmetatable({} :: {}, {} :: Metatable)) t...
213
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/ColorSequence.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillColorSequence, other: PolyfillColorSequence) -> boolean, __tostring: (self: PolyfillColorSequence) -> string, __type: "ColorSequence", } export type PolyfillColorSequence = typeof(setmetatable({} :: {}, {} :: Metatable)) type Static = {new: ((value: nu...
212
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/Faces.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillFaces, other: PolyfillFaces) -> boolean, __tostring: (self: PolyfillFaces) -> string, __type: "Faces", } export type PolyfillFaces = typeof(setmetatable({} :: {}, {} :: Metatable)) type Static = {new: ((value: number) -> PolyfillFaces) & ((...any) -> P...
200
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/NumberSequence.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillNumberSequence, other: PolyfillNumberSequence) -> boolean, __tostring: (self: PolyfillNumberSequence) -> string, __type: "NumberSequence", } export type PolyfillNumberSequence = typeof(setmetatable({} :: {}, {} :: Metatable)) type Static = {new: ((valu...
212
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/OverlapParams.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillOverlapParams, other: PolyfillOverlapParams) -> boolean, __tostring: (self: PolyfillOverlapParams) -> string, __type: "OverlapParams", } export type PolyfillOverlapParams = typeof(setmetatable({} :: {}, {} :: Metatable)) type Static = {new: ((value: nu...
215
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/Path2DControlPoint.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillPath2DControlPoint, other: PolyfillPath2DControlPoint) -> boolean, __tostring: (self: PolyfillPath2DControlPoint) -> string, __type: "Path2DControlPoint", } export type PolyfillPath2DControlPoint = typeof(setmetatable({} :: {}, {} :: Metatable)) type S...
254
howmanysmall/modern-roblox-ts-template
howmanysmall-modern-roblox-ts-template-8515fd5/.lune/Contexts/Unimplemented/PhysicalProperties.luau
luau
.luau
--!optimize 2 --!strict type Metatable = { __eq: (self: PolyfillPhysicalProperties, other: PolyfillPhysicalProperties) -> boolean, __tostring: (self: PolyfillPhysicalProperties) -> string, __type: "PhysicalProperties", } export type PolyfillPhysicalProperties = typeof(setmetatable({} :: {}, {} :: Metatable)) type S...
213