Skip to content

Instantly share code, notes, and snippets.

@Mullets-Gavin
Last active September 1, 2023 21:49
Show Gist options
  • Save Mullets-Gavin/09c7646544b9aa8bcc974f1ae6393dfb to your computer and use it in GitHub Desktop.
Save Mullets-Gavin/09c7646544b9aa8bcc974f1ae6393dfb to your computer and use it in GitHub Desktop.
Get all the properties on an instance

The GetProperties Library

The most efficient way to get all the properties on any given instance.

With the help of the Roblox developer community, we dumped every property that exists on every class into a table, and use an advanced artificial intelligence system called "pcall 'till it drops" to figure out every property on the given instance. This can be used for a wide range of use-cases, it's powering your imagination!

Documentation

Simply require the module and pass an instance, it's that easy!

local GetProperties = require(...)

-- pass an instance
local PartProperties = GetProperties(Instance.new("Part"))
for index, props in ipairs(PartProperties) do
	print(index, props)
end

-- pass a class name
local ScreenGuiProperties = GetProperties("ScreenGui")
for index, props in ipairs(ScreenGuiProperties) do
	print(index, props)
end
local Cached = {}
local Properties = {
"AttachmentForward",
"AttachmentPoint",
"AttachmentPos",
"AttachmentRight",
"AttachmentUp",
"AlignType",
"MaxAngularVelocity",
"MaxTorque",
"PrimaryAxisOnly",
"ReactionTorqueEnabled",
"Responsiveness",
"RigidityEnabled",
"ApplyAtCenterOfMass",
"MaxForce",
"MaxVelocity",
"ReactionForceEnabled",
"AngularVelocity",
"RelativeTo",
"AnimationId",
"Animation",
"IsPlaying",
"Length",
"Looped",
"Priority",
"Speed",
"TimePosition",
"WeightCurrent",
"WeightTarget",
"Axes",
"Color",
"Decay",
"Density",
"Glare",
"Haze",
"Offset",
"Axis",
"CFrame",
"Orientation",
"Position",
"Rotation",
"SecondaryAxis",
"Visible",
"WorldAxis",
"WorldCFrame",
"WorldOrientation",
"WorldPosition",
"WorldRotation",
"WorldSecondaryAxis",
"TextureId",
"LimitsEnabled",
"MaxFrictionTorque",
"Radius",
"Restitution",
"TwistLimitsEnabled",
"TwistLowerAngle",
"TwistUpperAngle",
"UpperAngle",
"Anchored",
"AssemblyAngularVelocity",
"AssemblyCenterOfMass",
"AssemblyLinearVelocity",
"AssemblyMass",
"AssemblyRootPart",
"BackParamA",
"BackParamB",
"BackSurface",
"BackSurfaceInput",
"BottomParamA",
"BottomParamB",
"BottomSurface",
"BottomSurfaceInput",
"BrickColor",
"CanCollide",
"CanQuery",
"CanTouch",
"CastShadow",
"CenterOfMass",
"CollisionGroupId",
"CollisionGroups",
"CustomPhysicalProperties",
"Elasticity",
"Friction",
"FrontParamA",
"FrontParamB",
"FrontSurface",
"FrontSurfaceInput",
"LeftParamA",
"LeftParamB",
"LeftSurface",
"LeftSurfaceInput",
"LocalTransparencyModifier",
"Locked",
"Mass",
"Massless",
"Material",
"PivotOffset",
"ReceiveAge",
"Reflectance",
"ResizeIncrement",
"ResizeableFaces",
"RightParamA",
"RightParamB",
"RightSurface",
"RightSurfaceInput",
"RootPriority",
"RotVelocity",
"Size",
"SpecificGravity",
"TopParamA",
"TopParamB",
"TopSurface",
"TopSurfaceInput",
"Transparency",
"Velocity",
"brickColor",
"Disabled",
"LinkedSource",
"CageMeshId",
"CageOrigin",
"CageOriginWorld",
"ImportOrigin",
"ImportOriginWorld",
"Attachment0",
"Attachment1",
"CurveSize0",
"CurveSize1",
"Enabled",
"FaceCamera",
"LightEmission",
"LightInfluence",
"Segments",
"Texture",
"TextureLength",
"TextureMode",
"TextureSpeed",
"Width0",
"Width1",
"ZOffset",
"Active",
"Adornee",
"AlwaysOnTop",
"Brightness",
"ClipsDescendants",
"CurrentDistance",
"DistanceLowerLimit",
"DistanceStep",
"DistanceUpperLimit",
"ExtentsOffset",
"ExtentsOffsetWorldSpace",
"MaxDistance",
"PlayerToHideFrom",
"SizeOffset",
"StudsOffset",
"StudsOffsetWorldSpace",
"Intensity",
"Threshold",
"P",
"angularvelocity",
"maxTorque",
"HeadColor",
"HeadColor3",
"LeftArmColor",
"LeftArmColor3",
"LeftLegColor",
"LeftLegColor3",
"RightArmColor",
"RightArmColor3",
"RightLegColor",
"RightLegColor3",
"TorsoColor",
"TorsoColor3",
"Force",
"force",
"D",
"cframe",
"maxForce",
"position",
"Location",
"location",
"velocity",
"Transform",
"TransformedCFrame",
"TransformedWorldCFrame",
"Value",
"CameraSubject",
"CameraType",
"CoordinateFrame",
"DiagonalFieldOfView",
"FieldOfView",
"FieldOfViewMode",
"Focus",
"HeadLocked",
"HeadScale",
"MaxAxisFieldOfView",
"NearPlaneZ",
"ViewportSize",
"focus",
"BaseTextureId",
"BodyPart",
"MeshId",
"OverlayTextureId",
"BubbleChatEnabled",
"LoadDefaultChat",
"Depth",
"Mix",
"Rate",
"CursorIcon",
"MaxActivationDistance",
"Color3",
"Cover",
"Contrast",
"Saturation",
"TintColor",
"AllowGUIAccessPoints",
"Group",
"Name",
"Text",
"Attack",
"GainMakeup",
"Ratio",
"Release",
"SideChain",
"Height",
"BaseUrl",
"RequestQueueSize",
"Version",
"Source",
"Angle",
"InnerRadius",
"AngularActuatorType",
"AngularLimitsEnabled",
"AngularResponsiveness",
"AngularRestitution",
"AngularSpeed",
"CurrentAngle",
"InclinationAngle",
"LowerAngle",
"MotorMaxAngularAcceleration",
"MotorMaxTorque",
"RotationAxisVisible",
"ServoMaxTorque",
"TargetAngle",
"WorldRotationAxis",
"CreatorId",
"CreatorType",
"GameId",
"GearGenreSetting",
"Genre",
"JobId",
"PlaceId",
"PlaceVersion",
"PrivateServerId",
"PrivateServerOwnerId",
"VIPServerId",
"VIPServerOwnerId",
"Workspace",
"lighting",
"workspace",
"Scale",
"VertexColor",
"CreatedTime",
"DataStoreName",
"UpdatedTime",
"KeyName",
"MaxItems",
"DataModel",
"InstanceCount",
"IsScriptStackTracingEnabled",
"JobCount",
"PlayerCount",
"ReportSoundWarnings",
"RobloxVersion",
"TickCountPreciseOverride",
"Condition",
"IsEnabled",
"Line",
"isContextDependentBreakpoint",
"DebuggingEnabled",
"Expression",
"Shiny",
"Specular",
"ZIndex",
"FarIntensity",
"FocusDistance",
"InFocusRadius",
"NearIntensity",
"BehaviorType",
"ConversationDistance",
"GoodbyeChoiceActive",
"GoodbyeDialog",
"InUse",
"InitialPrompt",
"Purpose",
"Tone",
"TriggerDistance",
"TriggerOffset",
"ResponseDialog",
"UserDialog",
"Level",
"HostWidgetWasRestored",
"ConstrainedValue",
"MaxValue",
"MinValue",
"AlignDraggedObjects",
"AngleSnapEnabled",
"AngleSnapIncrement",
"AnimateHover",
"CollisionsEnabled",
"DraggerCoordinateSpace",
"DraggerMovementMode",
"GeometrySnapColor",
"HoverAnimateFrequency",
"HoverThickness",
"JointsEnabled",
"LinearSnapEnabled",
"LinearSnapIncrement",
"ShowHover",
"ShowPivotIndicator",
"BaseAngle",
"Delay",
"DryLevel",
"Feedback",
"WetLevel",
"HighGain",
"LowGain",
"MidGain",
"BlastPressure",
"BlastRadius",
"DestroyJointRadiusPercent",
"ExplosionType",
"Face",
"FaceId",
"InOut",
"LeftRight",
"TopBottom",
"FileName",
"FileSize",
"Heat",
"SecondaryColor",
"size",
"TeamColor",
"CycleOffset",
"From",
"StudsBetweenTextures",
"TextureSize",
"To",
"WireRadius",
"FormFactor",
"formFactor",
"Style",
"Description",
"AdditionalCoreIncludeDirs",
"OverrideStarterScript",
"VideoCaptureEnabled",
"AllScopes",
"F0",
"F1",
"F2",
"F3",
"AbsolutePosition",
"AbsoluteRotation",
"AbsoluteSize",
"AutoLocalize",
"Localize",
"RootLocalizationTable",
"AutoButtonColor",
"Modal",
"Selected",
"AnchorPoint",
"AutomaticSize",
"BackgroundColor",
"BackgroundColor3",
"BackgroundTransparency",
"BorderColor",
"BorderColor3",
"BorderMode",
"BorderSizePixel",
"Draggable",
"LayoutOrder",
"NextSelectionDown",
"NextSelectionLeft",
"NextSelectionRight",
"NextSelectionUp",
"Selectable",
"SelectionImageObject",
"SizeConstraint",
"AutoSelectGuiEnabled",
"CoreGuiNavigationEnabled",
"GuiNavigationEnabled",
"IsModalDialog",
"IsWindows",
"MenuIsOpen",
"SelectedObject",
"AdornCullingMode",
"SizeRelativeOffset",
"Faces",
"ActuatorType",
"MotorMaxAcceleration",
"BinType",
"AutoJumpEnabled",
"AutoRotate",
"AutomaticScalingEnabled",
"BreakJointsOnDeath",
"CameraOffset",
"CollisionType",
"DisplayDistanceType",
"DisplayName",
"FloorMaterial",
"Health",
"HealthDisplayDistance",
"HealthDisplayType",
"HipHeight",
"Jump",
"JumpHeight",
"JumpPower",
"LeftLeg",
"MaxHealth",
"MaxSlopeAngle",
"MoveDirection",
"NameDisplayDistance",
"NameOcclusion",
"PlatformStand",
"RequiresNeck",
"RigType",
"RightLeg",
"RootPart",
"SeatPart",
"Sit",
"TargetPoint",
"Torso",
"UseJumpPower",
"WalkSpeed",
"WalkToPart",
"WalkToPoint",
"maxHealth",
"BackAccessory",
"BodyTypeScale",
"ClimbAnimation",
"DepthScale",
"FaceAccessory",
"FallAnimation",
"FrontAccessory",
"GraphicTShirt",
"HairAccessory",
"HatAccessory",
"Head",
"HeightScale",
"IdleAnimation",
"JumpAnimation",
"LeftArm",
"NeckAccessory",
"Pants",
"ProportionScale",
"RightArm",
"RunAnimation",
"Shirt",
"ShouldersAccessory",
"SwimAnimation",
"WaistAccessory",
"WalkAnimation",
"WidthScale",
"HoverImage",
"Image",
"ImageColor3",
"ImageRectOffset",
"ImageRectSize",
"ImageTransparency",
"IsLoaded",
"PressedImage",
"ScaleType",
"SliceCenter",
"SliceScale",
"TileSize",
"Delta",
"KeyCode",
"UserInputState",
"UserInputType",
"AllowInsertFreeModels",
"Archivable",
"ClassName",
"Parent",
"RobloxLocked",
"Tags",
"archivable",
"className",
"C0",
"C1",
"Part0",
"Part1",
"part1",
"Time",
"AuthoredHipHeight",
"Loop",
"ResetOnSpawn",
"ZIndexBehavior",
"Shadows",
"Ambient",
"ClockTime",
"ColorShift_Bottom",
"ColorShift_Top",
"EnvironmentDiffuseScale",
"EnvironmentSpecularScale",
"ExposureCompensation",
"FogColor",
"FogEnd",
"FogStart",
"GeographicLatitude",
"GlobalShadows",
"OutdoorAmbient",
"Outlines",
"ShadowColor",
"ShadowSoftness",
"TimeOfDay",
"InverseSquareLaw",
"Magnitude",
"Thickness",
"RobloxLocaleId",
"SystemLocaleId",
"Contents",
"DevelopmentLanguage",
"Root",
"SourceLocaleId",
"DoubleSided",
"HasJointOffset",
"HasSkinnedMesh",
"JointOffset",
"MeshSize",
"RenderFidelity",
"TextureID",
"LevelOfDetail",
"PrimaryPart",
"WorldPivot",
"DesiredAngle",
"Hit",
"Icon",
"Origin",
"Target",
"TargetFilter",
"TargetSurface",
"UnitRay",
"ViewSizeX",
"ViewSizeY",
"X",
"Y",
"hit",
"target",
"EmulatedTotalMemoryInMB",
"FreeMemoryMBytes",
"HttpProxyEnabled",
"HttpProxyURL",
"IncomingReplicationLag",
"PrintJoinSizeBreakdown",
"PrintPhysicsErrors",
"PrintStreamInstanceQuota",
"RandomizeJoinInstanceOrder",
"RenderStreamedRegions",
"ShowActiveAnimationAsset",
"TrackDataTypes",
"TrackPhysicsDetails",
"IsDeleted",
"PackageId",
"VersionNumber",
"IsFinished",
"PantsTemplate",
"Shape",
"SmoothingAngle",
"TriangleCount",
"UsePartColor",
"Acceleration",
"Drag",
"EmissionDirection",
"Lifetime",
"LockedToPart",
"RotSpeed",
"SpreadAngle",
"TimeScale",
"VelocityInheritance",
"VelocitySpread",
"Status",
"EmptyCutoff",
"AllowSleep",
"AreAnchorsShown",
"AreAssembliesShown",
"AreAwakePartsHighlighted",
"AreBodyTypesShown",
"AreContactIslandsShown",
"AreContactPointsShown",
"AreJointCoordinatesShown",
"AreMechanismsShown",
"AreModelCoordsShown",
"AreOwnersShown",
"ArePartCoordsShown",
"AreRegionsShown",
"AreTerrainReplicationRegionsShown",
"AreUnalignedPartsShown",
"AreWorldCoordsShown",
"DisableCSGv2",
"ForceCSGv2",
"IsInterpolationThrottleShown",
"IsReceiveAgeShown",
"IsTreeShown",
"PhysicsEnvironmentalThrottle",
"ShowDecompositionGeometry",
"ThrottleAdjustTime",
"UseCSGv2",
"Octave",
"AccountAge",
"CameraMaxZoomDistance",
"CameraMinZoomDistance",
"CameraMode",
"CanLoadCharacterAppearance",
"Character",
"CharacterAppearance",
"CharacterAppearanceId",
"DataComplexity",
"DataReady",
"DevCameraOcclusionMode",
"DevComputerCameraMode",
"DevComputerMovementMode",
"DevEnableMouseLock",
"DevTouchCameraMode",
"DevTouchMovementMode",
"FollowUserId",
"GameplayPaused",
"LocaleId",
"MembershipType",
"Neutral",
"ReplicationFocus",
"RespawnLocation",
"Team",
"UserId",
"userId",
"CurrentScreenOrientation",
"ScreenOrientation",
"BubbleChat",
"CharacterAutoLoads",
"ClassicChat",
"LocalPlayer",
"MaxPlayers",
"NumPlayers",
"PreferredPlayers",
"RespawnTime",
"localPlayer",
"numPlayers",
"CollisionEnabled",
"GridSize",
"ActionId",
"AllowBinding",
"StatusTip",
"Data",
"MimeType",
"Sender",
"Title",
"ClickableWhenViewportHidden",
"Range",
"MaskWeight",
"EasingDirection",
"EasingStyle",
"Weight",
"ActionText",
"ClickablePrompt",
"Exclusivity",
"GamepadKeyCode",
"HoldDuration",
"KeyboardKeyCode",
"ObjectText",
"RequiresLineOfSight",
"UIOffset",
"MaxPromptsVisible",
"ExplorerImageIndex",
"ExplorerOrder",
"Insertable",
"PreferredParent",
"Browsable",
"ClassCategory",
"ClientOnly",
"Constraint",
"Deprecated",
"EditingDisabled",
"FFlag",
"IsBackend",
"PropertyOrder",
"ScriptContext",
"ServerOnly",
"UIMaximum",
"UIMinimum",
"UINumTicks",
"summary",
"AutoFRMLevel",
"EagerBulkExecution",
"EditQualityLevel",
"EnableFRM",
"ExportMergeByMaterial",
"FrameRateManager",
"GraphicsMode",
"MeshCacheSize",
"MeshPartDetailLevel",
"QualityLevel",
"ReloadAssets",
"RenderCSGTrianglesDebug",
"ShowBoundingBoxes",
"ComparisonDiffThreshold",
"ComparisonMethod",
"ComparisonPsnrThreshold",
"ShouldSkip",
"Ticket",
"DecayTime",
"Diffusion",
"CartoonFactor",
"MaxSpeed",
"MaxThrust",
"TargetOffset",
"TargetRadius",
"ThrustD",
"ThrustP",
"TurnD",
"TurnP",
"LimitAngle0",
"LimitAngle1",
"DisplayOrder",
"IgnoreGuiInset",
"CurrentLine",
"IsDebugging",
"IsPaused",
"Script",
"AbsoluteWindowSize",
"AutomaticCanvasSize",
"BottomImage",
"CanvasPosition",
"CanvasSize",
"ElasticBehavior",
"HorizontalScrollBarInset",
"MidImage",
"ScrollBarImageColor3",
"ScrollBarImageTransparency",
"ScrollBarThickness",
"ScrollingDirection",
"ScrollingEnabled",
"TopImage",
"VerticalScrollBarInset",
"VerticalScrollBarPosition",
"Occupant",
"LineThickness",
"SurfaceColor",
"SurfaceColor3",
"SurfaceTransparency",
"Humanoid",
"Part",
"Point",
"ShirtTemplate",
"Graphic",
"Steer",
"Throttle",
"Controller",
"ControllingHumanoid",
"StickyWheels",
"SkinColor",
"CelestialBodiesShown",
"MoonAngularSize",
"MoonTextureId",
"SkyboxBk",
"SkyboxDn",
"SkyboxFt",
"SkyboxLf",
"SkyboxRt",
"SkyboxUp",
"StarCount",
"SunAngularSize",
"SunTextureId",
"CurrentPosition",
"LinearResponsiveness",
"LowerLimit",
"MotorMaxForce",
"ServoMaxForce",
"TargetPosition",
"UpperLimit",
"Opacity",
"RiseVelocity",
"EmitterSize",
"MinDistance",
"Pitch",
"PlayOnRemove",
"PlaybackLoudness",
"PlaybackSpeed",
"Playing",
"RollOffMaxDistance",
"RollOffMinDistance",
"RollOffMode",
"SoundGroup",
"SoundId",
"TimeLength",
"Volume",
"isPlaying",
"AmbientReverb",
"DistanceFactor",
"DopplerScale",
"RespectFilteringEnabled",
"RolloffScale",
"SparkleColor",
"AllowTeamChangeOnTouch",
"Duration",
"MeshType",
"Coils",
"CurrentLength",
"Damping",
"FreeLength",
"MaxLength",
"MinLength",
"Stiffness",
"ProcessUserInput",
"ResetPlayerGuiOnSpawn",
"ShowDevelopmentGui",
"AllowCustomAnimations",
"CharacterJumpHeight",
"CharacterJumpPower",
"CharacterMaxSlopeAngle",
"CharacterUseJumpPower",
"CharacterWalkSpeed",
"DevComputerCameraMovementMode",
"DevTouchCameraMovementMode",
"EnableMouseLockOption",
"LoadCharacterAppearance",
"UserEmotesEnabled",
"ContactsCount",
"DataReceiveKbps",
"DataSendKbps",
"HeartbeatTimeMs",
"MovingPrimitivesCount",
"PhysicsReceiveKbps",
"PhysicsSendKbps",
"PhysicsStepTimeMs",
"PrimitivesCount",
"Active Color",
"Active Hover Over Color",
"Always Save Script Changes",
"Animate Hover Over",
"Auto Clean Empty Line",
"Auto Closing Brackets",
"Auto Closing Quotes",
"Auto Indent Rule",
"Auto-Recovery Enabled",
"Auto-Recovery Interval (Minutes)",
"Background Color",
"Basic Objects Display Mode",
"Bool Color",
"Bracket Color",
"Built-in Function Color",
"Camera Mouse Wheel Speed",
"Camera Shift Speed",
"Camera Speed",
"Camera Zoom to Mouse Position",
"Clear Output On Start",
"CommandBarLocalState",
"Comment Color",
"Current Line Highlight Color",
"Debugger Current Line Color",
"Debugger Error Line Color",
"DeprecatedObjectsShown",
"Disable Accurate Play Solo",
"Drag Multiple Parts As Single Part",
"Enable Autocomplete",
"Enable CoreScript Debugger",
"Enable Http Sandboxing",
"Enable Internal Beta Features",
"Enable Internal Features",
"Enable Temporary Tabs",
"Enable Temporary Tabs In Explorer",
"Error Color",
"Find Selection Background Color",
"Format On Paste",
"Format On Type",
"Function Name Color",
"Highlight Current Line",
"Highlight Occurances",
"Hover Animate Speed",
"Hover Over Color",
"Indent Using Spaces",
"Keyword Color",
"Line Thickness",
"LuaDebuggerEnabled",
"LuaDebuggerEnabledAtStartup",
"Luau Keyword Color",
"Matching Word Background Color",
"Maximum Output Lines",
"Menu Item Background Color",
"Method Color",
"Number Color",
"Only Play Audio from Window in Focus",
"Operator Color",
"Output Layout Mode",
"OverrideCoreScripts",
"PermissionLevelShown",
"PluginDebuggingEnabled",
"Primary Text Color",
"Property Color",
"Render Throttle Percentage",
"Respect Studio shortcuts when game has focus",
"Ruler Color",
"Rulers",
"RuntimeUndoBehavior",
"Script Editor Color Preset",
"Script Editor Scrollbar Background Color",
"Script Editor Scrollbar Handle Color",
"ScriptTimeoutLength",
"Scroll Past Last Line",
"Search Content For Core Scripts",
"Secondary Text Color",
"Select Color",
"Select/Hover Color",
"Selected Menu Item Background Color",
"Selected Text Color",
"Selection Background Color",
"Selection Color",
"Server Audio Behavior",
"Show Core GUI in Explorer while Playing",
"Show Deployment Warnings",
"Show Diagnostics Bar",
"Show FileSyncService",
"Show Hidden Objects in Explorer",
"Show Hover Over",
"Show Navigation Mesh",
"Show Plugin GUI Service in Explorer",
"Show QT warnings in output",
"Show Whitespace",
"Show plus button on hover in Explorer",
"Skip Closing Brackets and Quotes",
"String Color",
"Tab Width",
"Text Color",
"Text Wrapping",
"Theme",
"UI Theme",
"Warning Color",
"Whitespace Color",
"ActiveScript",
"DraggerSolveConstraints",
"DrawConstraintsOnTop",
"RotateIncrement",
"ShowConstraintDetails",
"StudioLocaleId",
"UseLocalSpace",
"Spread",
"PixelsPerStud",
"SizingMode",
"ToolPunchThroughDistance",
"SchedulerDutyCycle",
"SchedulerRate",
"ThreadPoolConfig",
"ThreadPoolSize",
"AutoAssignable",
"AutoColorCharacters",
"Score",
"ReservedServerAccessCode",
"ServerInstanceId",
"ShouldReserveServer",
"CustomizedTeleportUI",
"IsSmooth",
"MaxExtents",
"WaterColor",
"WaterReflectance",
"WaterTransparency",
"WaterWaveSize",
"WaterWaveSpeed",
"SizeInCells",
"AutoRuns",
"ErrorCount",
"ExecuteWithStudioRun",
"Is30FpsThrottleEnabled",
"IsPhysicsEnvironmentalThrottled",
"IsSleepAllowed",
"NumberOfPlayers",
"SimulateSecondsLag",
"TestCount",
"Timeout",
"WarnCount",
"ClearTextOnFocus",
"CursorPosition",
"Font",
"FontSize",
"LineHeight",
"MaxVisibleGraphemes",
"MultiLine",
"PlaceholderColor3",
"PlaceholderText",
"RichText",
"SelectionStart",
"ShowNativeInput",
"TextBounds",
"TextColor",
"TextColor3",
"TextEditable",
"TextFits",
"TextScaled",
"TextSize",
"TextStrokeColor3",
"TextStrokeTransparency",
"TextTransparency",
"TextTruncate",
"TextWrap",
"TextWrapped",
"TextXAlignment",
"TextYAlignment",
"LocalizedText",
"OffsetStudsU",
"OffsetStudsV",
"StudsPerTileU",
"StudsPerTileV",
"CanBeDropped",
"Grip",
"GripForward",
"GripPos",
"GripRight",
"GripUp",
"ManualActivationOnly",
"RequiresHandle",
"ToolTip",
"Torque",
"LimitEnabled",
"MaxAngle",
"Duty",
"Frequency",
"CollisionFidelity",
"Instance",
"PlaybackState",
"AspectRatio",
"AspectType",
"DominantAxis",
"CornerRadius",
"AbsoluteCellCount",
"AbsoluteCellSize",
"CellPadding",
"CellSize",
"FillDirectionMaxCells",
"StartCorner",
"AbsoluteContentSize",
"FillDirection",
"HorizontalAlignment",
"SortOrder",
"VerticalAlignment",
"Padding",
"PaddingBottom",
"PaddingLeft",
"PaddingRight",
"PaddingTop",
"Animated",
"Circular",
"CurrentPage",
"GamepadInputEnabled",
"ScrollWheelInputEnabled",
"TouchInputEnabled",
"TweenTime",
"MaxSize",
"MinSize",
"ApplyStrokeMode",
"LineJoinMode",
"FillEmptySpaceColumns",
"FillEmptySpaceRows",
"MajorAxis",
"MaxTextSize",
"MinTextSize",
"ComputerCameraMovementMode",
"ComputerMovementMode",
"ControlMode",
"GamepadCameraSensitivity",
"MasterVolume",
"MouseSensitivity",
"RCCProfilerRecordFrameRate",
"RCCProfilerRecordTimeFrame",
"RotationType",
"SavedQualityLevel",
"TouchCameraMovementMode",
"TouchMovementMode",
"AccelerometerEnabled",
"GamepadEnabled",
"GyroscopeEnabled",
"KeyboardEnabled",
"ModalEnabled",
"MouseBehavior",
"MouseDeltaSensitivity",
"MouseEnabled",
"MouseIconEnabled",
"OnScreenKeyboardPosition",
"OnScreenKeyboardSize",
"OnScreenKeyboardVisible",
"TouchEnabled",
"UserHeadCFrame",
"VREnabled",
"GuiInputUserCFrame",
"AreHingesDetected",
"HeadsUpDisplay",
"SteerFloat",
"ThrottleFloat",
"TurnSpeed",
"Hole",
"Resolution",
"Video",
"CurrentCamera",
"LightColor",
"LightDirection",
"AllowThirdPartySales",
"ClientAnimatorThrottling",
"DistributedGameTime",
"FallenPartsDestroyHeight",
"FilteringEnabled",
"Gravity",
"InterpolationThrottling",
"PhysicsSimulationRate",
"StreamingEnabled",
"Terrain",
"BindOffset",
"Order",
"Puffiness",
"ReferenceMeshId",
"ReferenceOrigin",
"ReferenceOriginWorld",
"ShrinkFactor",
}
return function(object: any): table
assert(object ~= nil, "Argument 1 missing or nil")
local className = typeof(object) == "string" and object or object.ClassName
if Cached[className] then
return Cached[className]
end
local contains = {}
local clone = Instance.new(className)
for _, index in ipairs(Properties) do
local success, _ = pcall(function()
return clone[index]
end)
if success then
table.insert(contains, index)
end
end
clone:Destroy()
Cached[className] = contains
return contains
end
@kennethloeffler
Copy link

I had nothing to do with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment