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 |
|---|---|---|---|---|---|
YetAnotherClown/luau-futures | YetAnotherClown-luau-futures-e6e8cf8/src/utils.luau | luau | .luau | -- https://stackoverflow.com/questions/7526223/how-do-i-know-if-a-table-is-an-array/52697380#52697380
local function isArray(t)
if type(t) ~= "table" then
return false
end
if #t > 0 then
return true
end
for _, _ in pairs(t) do
return false
end
return true
end
local function printArray(arr, indentation:... | 673 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/src/Constants.luau | luau | .luau | return {
TaggedProperties = {
--[["RunContext",]] "Enabled", "Name", "ClassName"
},
EditorsEnabled = true,
ExplorerFrameNameFormat = "f_%s",
ExplorerFrameScriptClassNameFormat = "s_%s",
UnsavedTokenTag = "DontSaveToken",
DefaultTokenTag = "Default",
InsertScopeFormat = "Insert:%s"
} | 86 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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,177 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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,559 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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... | 4,962 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/src/Shared/Defaults/DefaultSettings.luau | luau | .luau | --!strict
local Types = require(script.Parent.Parent.Parent.Types)
local Style = require(script.Parent.Parent.Style)
local var = Style.var
return {
Internal = {
EntityDeletionFlushStep = {
Type = "number",
Display = "Entity Deletion Flush Step",
Default = 30
}
},
Query = {
QueryAutocompleteEnabled =... | 1,262 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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... | 7,907 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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(".... | 9,370 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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,062 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/src/Shared/Info/InsertSuggestedClasses.luau | luau | .luau | local INSERT_SUGGESTED_CLASSES: {[string]: {string}} = {
Workspace = {
"Part",
"MeshPart",
"Model",
"Folder"
},
Players = {},
CoreGui = {
"ScreenGui",
},
Lighting = {
"Sky",
"Atmosphere",
"SunRaysEffect",
"ColorCorrectionEffect",
"BlurEffect",
"BloomEffect",
"DepthOfFieldEffect"
},
Mater... | 434 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/src/Shared/Info/InstClasses.luau | luau | .luau | return {
"Frame",
"ForceField",
"Folder",
"FloorWire",
"FloatCurve",
"FlangeSoundEffect",
"Fire",
"FileMesh",
"Explosion",
"EulerRotationCurve",
"EqualizerSoundEffect",
"EchoSoundEffect",
"DynamicRotate",
"Dragger",
"DoubleConstrainedValue",
"DockWidgetPluginGui",
"DistortionSoundEffect",
"DialogChoic... | 1,218 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/src/Shared/Info/InstanceCategories.luau | luau | .luau | return {
Input = {
"ProximityPrompt",
"ClickDetector",
"DragDetector",
"UIDragDetector",
"InputAction",
"InputBinding",
"InputContext"
},
UI = {
"SurfaceGui",
"BillboardGui",
"ScreenGui",
"Frame",
"TextLabel",
"TextButton",
"TextBox",
"ImageLabel",
"ImageButton",
"ScrollingFrame",... | 1,417 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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,025 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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,208 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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,170 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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 = {}
}
function ClassIcon.getIcon(className: string): Types.StudioIconResult?
local cached = ClassIcon.CachedIcon... | 141 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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,126 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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,474 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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>) -> (),
extend: typeof(__extend),
items: {T},
cleanup_handler: (T) ->... | 582 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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-f67e2f3/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(... | 5,995 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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-f67e2f3/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-f67e2f3/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 CoreGui = game:GetService("CoreGui")
local VERSION = "5.6.0"
plugin.Name = `cloud/plugin/Jexplorer@{VERSION}`
local global = shared
local shared = script.Sh... | 998 |
athar-adv/Jexplorer | athar-adv-Jexplorer-f67e2f3/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 |
itsfrank/lune-cloud-luau-client | itsfrank-lune-cloud-luau-client-fceeb37/example/test_script.luau | luau | .luau | print("hello from cloud print")
return {
message = "hello from cloud return",
}
| 19 |
ryanlua/purse | ryanlua-purse-3f3b9cd/src/Attribution.client.luau | luau | .luau | --!strict
--[[
Copyright 2026 Ryan Luu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 465 |
ryanlua/purse | ryanlua-purse-3f3b9cd/src/ContextAction.client.luau | luau | .luau | --!strict
const ContextActionService = game:GetService("ContextActionService")
const BackpackScript = require(script.Parent)
const ACTION_NAME = "BackpackToggle"
const function handleAction(actionName, inputState, _inputObject)
if actionName == ACTION_NAME and inputState == Enum.UserInputState.Begin then
if Backp... | 108 |
ryanlua/purse | ryanlua-purse-3f3b9cd/src/CoreGuiWarn.client.luau | luau | .luau | --!strict
const StarterGui = game:GetService("StarterGui")
task.spawn(function()
while task.wait(3) do
if StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Backpack) then
warn("Purse and CoreGui backpack enabled at the same time")
break
end
end
end)
| 71 |
ryanlua/purse | ryanlua-purse-3f3b9cd/src/TopbarIcon.client.luau | luau | .luau | --!strict
const BackpackScript = require(script.Parent)
const Icon = require(script.Parent.Parent.topbarplus)
const icon = Icon.new()
icon:modifyTheme({
{ "IconLabelContainer", "TargetWidth", 0 }, -- Force minimum width
{ "IconLabel", "AutoLocalize", false }, -- Don't translate font icon
})
icon:setLabel("backpack"... | 284 |
ryanlua/purse | ryanlua-purse-3f3b9cd/src/init.luau | luau | .luau | --!nonstrict
--!nolint DeprecatedApi
-- Backpack Version 5.1
-- OnlyTwentyCharacters, SolarCrane
local GuiService = game:GetService("GuiService") -- ROBLOX deviation: use GuiService instead of UserGameSettings
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player.Playe... | 16,996 |
VirtualButFake/simpoll | VirtualButFake-simpoll-18a99df/lib-luau/.lune/build.luau | luau | .luau | local fs = require("@lune/fs")
local logger = require("./lib/logger").new(4)
local executeCommand = require("./lib/executeCommand")
local didError = false
local function execCommandWrapper(...)
local data = executeCommand(...)
if data.stderr ~= "" then
didError = true
end
return data
end
local function recu... | 409 |
VirtualButFake/simpoll | VirtualButFake-simpoll-18a99df/lib-luau/.lune/dev.luau | luau | .luau | local fs = require("@lune/fs")
local task = require("@lune/task")
local logger = require("./lib/logger").new(4)
local fileWatcher = require("./lib/fileWatcher")
local executeCommand = require("./lib/executeCommand")
local function recursiveCopy(src, dest)
local files = fs.readDir(src)
for _, file in files do
loc... | 510 |
VirtualButFake/simpoll | VirtualButFake-simpoll-18a99df/lib-luau/.lune/install-packages.luau | luau | .luau | local fs = require("@lune/fs")
local logger = require("./lib/logger").new(4)
local executeCommand = require("./lib/executeCommand")
if fs.isDir("packages") then
fs.removeDir("packages")
end
local status = executeCommand("wally", {
"install",
}, {
stdio = "inherit"
}, true)
if not status.ok then
logger... | 318 |
VirtualButFake/simpoll | VirtualButFake-simpoll-18a99df/lib-luau/.lune/lib/executeCommand.luau | luau | .luau | local process = require("@lune/process")
local logger = require("./logger").new(4)
return function(command, args, options, ignoreErrors)
local data = process.spawn(command, args, options or {
stdio = "default",
})
if data.stderr ~= "" and not ignoreErrors then
logger:error(`Error occurred when running \"{comm... | 92 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/core/crate.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
return CrateConfig {
name = "core",
description = "A featherweight framework for Luau",
version = "0.1.0-alpha.2",
lib = "lib",
targets = {
luau = true,
roblox = true,
},
}
| 73 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/core/init.luau | luau | .luau | local lib = require("@self/lib")
export type Singleton = lib.Singleton
export type Lifecycle = lib.Lifecycle
export type LifecycleHook = lib.LifecycleHook
export type Phase = lib.Phase
export type PhaseHook = lib.PhaseHook
export type Identity = lib.Identity
export type Mod = lib.Mod
return lib
| 68 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/core/lib/init.luau | luau | .luau | export type Singleton = {
init: ((Singleton) -> ())?,
start: ((Singleton) -> ())?,
[any]: any,
}
export type Lifecycle = | "loaded" | "injected" | "initialized" | "started"
export type LifecycleHook = (lifecycle: Lifecycle, singleton: Singleton) -> ()
export type Phase =
| "pre_loading"
| "post_lo... | 1,085 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/dependencies/crate.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
return CrateConfig {
name = "dependencies",
description = "A dependency management solution for Quill",
version = "0.1.0-alpha.3",
lib = "lib",
targets = {
luau = true,
roblox = true,
},
workspace_dependencies = {
... | 85 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/dependencies/init.luau | luau | .luau | local lib = require("@self/lib")
export type SortingMethod = lib.SortingMethod
return lib
| 21 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/dependencies/lib/init.luau | luau | .luau | local core = require("@crates/core")
local function use<T>(singleton: T): T
return { UNINITIALIZED_DEPENDENCY = true, singleton = singleton } :: any
end
type AdjacencyList<T> = { [T]: { T } }
--- Kahn's algorithm for topological sorting of adjacency lists
local function toposort<T>(graph: AdjacencyList<T>): { T }... | 818 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/logger/crate.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
return CrateConfig {
name = "logger",
description = "A tiny, context aware logger for Quill",
version = "0.1.0-alpha.2",
lib = "lib",
targets = {
luau = true,
roblox = true,
},
}
| 75 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/logger/init.luau | luau | .luau | local lib = require("@self/lib")
export type Level = lib.Level
export type Event = lib.Event
export type Logger = lib.Logger
return lib
| 32 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/logger/lib/init.luau | luau | .luau | local pretty_print = require("@self/pretty_print")
export type Level = "trace" | "debug" | "info" | "warn" | "error" | "fatal"
export type Event = {
timestamp: number,
level: Level,
message: string,
logger: string,
context: { [string]: any }?,
}
export type Logger = {
--- The logger's identifie... | 1,619 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_components/crate.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
return CrateConfig {
name = "rblx_components",
description = "A simple components system for Quill",
version = "0.1.0-alpha.2",
lib = "lib",
targets = {
roblox = true,
},
workspace_dependencies = {
core = true,
... | 82 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_components/init.luau | luau | .luau | local lib = require("@self/lib")
export type ComponentInfo<T> = lib.ComponentInfo<T>
export type CreationData<T> = lib.CreationData<T>
return lib
| 36 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_components/lib/constructors.luau | luau | .luau | --# selene: allow(undefined_variable)
local rblx_types = require("./rblx_types")
type luau_vector = vector
type rbx_vector2 = Vector2
type rbx_vector3 = Vector3
type rbx_udim = UDim
type rbx_udim2 = UDim2
type rbx_brickcolor = BrickColor
type rbx_color3 = Color3
type rbx_cframe = CFrame
type rbx_numbersequence = Numbe... | 2,103 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_components/lib/init.luau | luau | .luau | --# selene: allow(undefined_variable)
local CollectionService = game:GetService("CollectionService")
local constructors = require("@self/constructors")
local core = require("@crates/core")
local rblx_types = require("@self/rblx_types")
export type ComponentInfo<T> = constructors.ComponentInfo<T>
type TypeOfKind<Kind> ... | 1,712 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_lifecycles/crate.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
return CrateConfig {
name = "rblx_lifecycles",
description = "A collection of Quill lifecycles for Roblox",
version = "0.1.0-alpha.1",
lib = "lib",
targets = {
roblox = true,
},
workspace_dependencies = {
core = tr... | 89 |
featherfall-org/quill | featherfall-org-quill-3932d80/crates/rblx_lifecycles/lib/init.luau | luau | .luau | local RunService = game:GetService("RunService")
local core = require("@crates/core")
local CLIENT_LIFECYCLES = {
on_heartbeat = RunService.Heartbeat,
on_post_simulation = RunService.PostSimulation,
on_pre_animation = RunService.PreAnimation,
on_pre_render = RunService.PreRender,
on_pre_simulation ... | 472 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/build/alias_resolver.luau | luau | .luau | local fs = zune.fs
local stdpath = fs.path
export type FsFileNode = {
name: string,
kind: "file",
parent: FsDirNode?,
}
export type FsDirNode = {
name: string,
kind: "dir",
parent: FsDirNode?,
children: { [string]: FsNode },
}
export type FsNode = FsFileNode | FsDirNode
local function bu... | 1,774 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/build/builders/pesde.luau | luau | .luau | local fs = zune.fs
local stdpath = fs.path
local toml = zune.serde.toml
local CrateConfig = require("@mgr/specifiers/CrateConfig")
local RootConfig = require("@mgr/specifiers/RootConfig")
local alias_resolver = require("@mgr/build/alias_resolver")
local ansi = require("@mgr/util/ansi")
local dynrequire = require("@mgr/... | 1,580 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.