From 7e8fe1af328d246d8b1359adce2ae10b45146aec Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Fri, 20 Sep 2024 22:04:12 +1000 Subject: [PATCH 1/4] Use the creator docs to generate type information --- .github/workflows/ci.yml | 6 + .github/workflows/update-types-dump.yml | 6 + scripts/Corrections.json | 2314 ---------- scripts/DataTypes.json | 5226 ----------------------- scripts/README.md | 28 +- scripts/dumpRobloxTypes.py | 912 ++-- scripts/globalTypes.d.luau | 2985 ++----------- scripts/requirements.txt | 2 + 8 files changed, 864 insertions(+), 10615 deletions(-) delete mode 100644 scripts/Corrections.json delete mode 100644 scripts/DataTypes.json create mode 100644 scripts/requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7d4fc07..3cda3444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,6 +71,12 @@ jobs: cmake .. cmake --build . --target Luau.LanguageServer.CLI -j 3 + - name: Checkout creator-docs + uses: actions/checkout@v4 + with: + repository: "Roblox/creator-docs" + path: "scripts" + - name: Regenerate Types run: | cd scripts diff --git a/.github/workflows/update-types-dump.yml b/.github/workflows/update-types-dump.yml index 2026f005..ee079bac 100644 --- a/.github/workflows/update-types-dump.yml +++ b/.github/workflows/update-types-dump.yml @@ -27,6 +27,12 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} submodules: true + - name: Checkout creator-docs + uses: actions/checkout@v4 + with: + repository: "Roblox/creator-docs" + path: "scripts" + - name: Update types dump run: | cd scripts diff --git a/scripts/Corrections.json b/scripts/Corrections.json deleted file mode 100644 index 6a53c704..00000000 --- a/scripts/Corrections.json +++ /dev/null @@ -1,2314 +0,0 @@ -{ - "Classes": [ - { - "Members": [ - { - "Name": "GetDescendants", - "ReturnType": { - "Name": "Objects" - } - }, - { - "Name": "WaitForChild", - "Parameters": [ - { - "Name": "timeOut", - "Default": "nil" - } - ] - } - ], - "Name": "Instance" - }, - { - "Members": [ - { - "Name": "LocalPlayer", - "ValueType": { - "Name": "Player" - } - }, - { - "Name": "GetPlayerFromCharacter", - "Parameters": [ - { - "Name": "character", - "Type": { - "Name": "Model" - } - } - ], - "ReturnType": { - "Name": "Player" - } - }, - { - "Name": "GetPlayerByUserId", - "ReturnType": { - "Name": "Player" - } - }, - { - "Name": "GetHumanoidDescriptionFromOutfitId", - "ReturnType": { - "Name": "HumanoidDescription" - } - }, - { - "Name": "GetHumanoidDescriptionFromUserId", - "ReturnType": { - "Name": "HumanoidDescription" - } - }, - { - "Name": "GetFriendsAsync", - "ReturnType": { - "Name": "FriendPages" - } - }, - { - "Name": "CreateHumanoidModelFromUserId", - "ReturnType": { - "Name": "Model" - } - }, - { - "Name": "CreateHumanoidModelFromDescription", - "Parameters": [ - { - "Name": "description", - "Type": { - "Name": "HumanoidDescription" - } - } - ], - "ReturnType": { - "Name": "Model" - } - }, - { - "Name": "PlayerMembershipChanged", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerDisconnecting", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerChatted", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - }, - { - "Name": "targetPlayer", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerRejoining", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerRemoving", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerConnecting", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerAdded", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "GetUserThumbnailAsync", - "TupleReturns": [ - { - "Name": "string" - }, - { - "Name": "boolean" - } - ] - }, - { - "Name": "GetPlayers", - "ReturnType": { - "Generic": "Player" - } - } - ], - "Name": "Players" - }, - { - "Members": [ - { - "Name": "GetMouse", - "ReturnType": { - "Name": "Mouse" - } - }, - { - "Name": "LoadCharacterWithHumanoidDescription", - "Parameters": [ - { - "Name": "humanoidDescription", - "Type": { - "Name": "HumanoidDescription" - } - } - ] - }, - { - "Name": "CharacterRemoving", - "Parameters": [ - { - "Name": "character", - "Type": { - "Name": "Model" - } - } - ] - }, - { - "Name": "Chatted", - "Parameters": [ - { - "Name": "recipient", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "CharacterAppearanceLoaded", - "Parameters": [ - { - "Name": "character", - "Type": { - "Name": "Model" - } - } - ] - }, - { - "Name": "CharacterAdded", - "Parameters": [ - { - "Name": "character", - "Type": { - "Name": "Model" - } - } - ] - } - ], - "Name": "Player" - }, - { - "Members": [ - { - "Name": "Terrain", - "ValueType": { - "Name": "Terrain" - } - } - ], - "Name": "Workspace" - }, - { - "Members": [ - { - "Name": "CopyRegion", - "ReturnType": { - "Name": "TerrainRegion" - } - }, - { - "Name": "PasteRegion", - "Parameters": [ - { - "Name": "region", - "Type": { - "Name": "TerrainRegion" - } - } - ] - } - ], - "Name": "Terrain" - }, - { - "Members": [ - { - "Name": "ApplyMesh", - "Parameters": [ - { - "Name": "meshPart", - "Type": { - "Name": "MeshPart" - } - } - ] - } - ], - "Name": "MeshPart" - }, - { - "Members": [ - { - "Name": "CreatePath", - "ReturnType": { - "Name": "Path" - } - }, - { - "Name": "FindPathAsync", - "ReturnType": { - "Name": "Path" - } - } - ], - "Name": "PathfindingService" - }, - { - "Members": [ - { - "Name": "CreateDockWidgetPluginGui", - "ReturnType": { - "Name": "DockWidgetPluginGui" - } - }, - { - "Name": "CreatePluginAction", - "ReturnType": { - "Name": "PluginAction" - } - }, - { - "Name": "CreatePluginMenu", - "ReturnType": { - "Name": "PluginMenu" - } - }, - { - "Name": "CreateToolbar", - "ReturnType": { - "Name": "PluginToolbar" - } - }, - { - "Name": "GetMouse", - "ReturnType": { - "Name": "PluginMouse" - } - }, - { - "Name": "Union", - "ReturnType": { - "Name": "UnionOperation" - } - }, - { - "Name": "Negate", - "ReturnType": { - "Generic": "NegateOperation" - } - }, - { - "Name": "Separate", - "ReturnType": { - "Generic": "UnionOperation" - } - }, - { - "Name": "OpenScript", - "Parameters": [ - { - "Name": "script", - "Type": { - "Name": "BaseScript" - } - } - ] - } - ], - "Name": "Plugin" - }, - { - "Members": [ - { - "Name": "CreateButton", - "ReturnType": { - "Name": "PluginToolbarButton" - } - } - ], - "Name": "PluginToolbar" - }, - { - "Members": [ - { - "Name": "AddNewAction", - "ReturnType": { - "Name": "PluginAction" - } - }, - { - "Name": "AddAction", - "Parameters": [ - { - "Name": "action", - "Type": { - "Name": "PluginAction" - } - } - ] - }, - { - "Name": "AddMenu", - "Parameters": [ - { - "Name": "menu", - "Type": { - "Name": "PluginMenu" - } - } - ] - }, - { - "Name": "ShowAsync", - "ReturnType": { - "Name": "PluginAction" - } - } - ], - "Name": "PluginMenu" - }, - { - "Members": [ - { - "Name": "Create", - "ReturnType": { - "Name": "Tween" - } - } - ], - "Name": "TweenService" - }, - { - "Members": [ - { - "Name": "RegisterKeyframeSequence", - "Parameters": [ - { - "Name": "keyframeSequence", - "Type": { - "Name": "KeyframeSequence" - } - } - ] - }, - { - "Name": "AddKeyframe", - "Parameters": [ - { - "Name": "keyframe", - "Type": { - "Name": "Keyframe" - } - } - ] - }, - { - "Name": "RegisterActiveKeyframeSequence", - "Parameters": [ - { - "Name": "keyframeSequence", - "Type": { - "Name": "KeyframeSequence" - } - } - ] - }, - { - "Name": "RemoveKeyframe", - "Parameters": [ - { - "Name": "keyframe", - "Type": { - "Name": "Keyframe" - } - } - ] - } - ], - "Name": "KeyframeSequence" - }, - { - "Members": [ - { - "Name": "PromptGameInvite", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "CanSendGameInviteAsync", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "SocialService" - }, - { - "Members": [ - { - "Name": "Sit", - "Parameters": [ - { - "Name": "humanoid", - "Type": { - "Name": "Humanoid" - } - } - ] - } - ], - "Name": "VehicleSeat" - }, - { - "Members": [ - { - "Name": "CreatePlaceInPlayerInventoryAsync", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "AssetService" - }, - { - "Members": [ - { - "Name": "GetTranslatorForPlayer", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ], - "ReturnType": { - "Name": "Translator" - } - }, - { - "Name": "GetCountryRegionForPlayerAsync", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "GetTranslatorForPlayerAsync", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ], - "ReturnType": { - "Name": "Translator" - } - }, - { - "Name": "GetTranslatorForLocaleAsync", - "ReturnType": { - "Name": "Translator" - } - } - ], - "Name": "LocalizationService" - }, - { - "Members": [ - { - "Name": "GetTranslator", - "ReturnType": { - "Name": "Translator" - } - } - ], - "Name": "LocalizationTable" - }, - { - "Members": [ - { - "Name": "LoadAnimation", - "Parameters": [ - { - "Name": "animation", - "Type": { - "Name": "Animation" - } - } - ], - "ReturnType": { - "Name": "AnimationTrack" - } - }, - { - "Name": "AnimationPlayed", - "Parameters": [ - { - "Name": "animationTrack", - "Type": { - "Name": "AnimationTrack" - } - } - ] - }, - { - "Name": "GetPlayingAnimationTracks", - "ReturnType": { - "Generic": "AnimationTrack" - } - } - ], - "Name": "Animator" - }, - { - "Members": [ - { - "Name": "InvokeClient", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "RemoteFunction" - }, - { - "Members": [ - { - "Name": "Teleport", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - }, - { - "Name": "customLoadingScreen", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "TeleportToPlaceInstance", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - }, - { - "Name": "customLoadingScreen", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "SetTeleportGui", - "Parameters": [ - { - "Name": "gui", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "TeleportToPrivateServer", - "Parameters": [ - { - "Name": "players", - "Type": { - "Generic": "Player" - } - }, - { - "Name": "customLoadingScreen", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "TeleportAsync", - "Parameters": [ - { - "Name": "players", - "Type": { - "Generic": "Player" - } - } - ], - "ReturnType": { - "Name": "TeleportAsyncResult" - } - }, - { - "Name": "TeleportToSpawnByName", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - }, - { - "Name": "customLoadingScreen", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "TeleportPartyAsync", - "Parameters": [ - { - "Name": "players", - "Type": { - "Generic": "Player" - } - }, - { - "Name": "customLoadingScreen", - "Type": { - "Name": "GuiObject" - } - } - ] - }, - { - "Name": "GetArrivingTeleportGui", - "ReturnType": { - "Name": "ScreenGui" - } - }, - { - "Name": "GetPlayerPlaceInstanceAsync", - "TupleReturns": [ - { - "Name": "boolean" - }, - { - "Name": "number" - }, - { - "Name": "string" - } - ] - } - ], - "Name": "TeleportService" - }, - { - "Members": [ - { - "Name": "PlayLocalSound", - "Parameters": [ - { - "Name": "sound", - "Type": { - "Name": "Sound" - } - } - ] - }, - { - "Name": "GetListener", - "TupleReturns": [ - { - "Category": "Enum", - "Name": "ListenerType" - }, - { - "Name": "any" - } - ] - } - ], - "Name": "SoundService" - }, - { - "Members": [ - { - "Name": "FilterStringAsync", - "Parameters": [ - { - "Name": "playerTo", - "Type": { - "Name": "Player" - } - }, - { - "Name": "playerFrom", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "FilterStringForBroadcast", - "Parameters": [ - { - "Name": "playerFrom", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "Chatted", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - } - ], - "Name": "Chat" - }, - { - "Members": [ - { - "Name": "FireClient", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "OnServerEvent", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "RemoteEvent" - }, - { - "Members": [ - { - "Name": "AddSubPose", - "Parameters": [ - { - "Name": "pose", - "Type": { - "Name": "Pose" - } - } - ] - }, - { - "Name": "RemoveSubPose", - "Parameters": [ - { - "Name": "pose", - "Type": { - "Name": "Pose" - } - } - ] - } - ], - "Name": "Pose" - }, - { - "Members": [ - { - "Name": "GetPolicyInfoForPlayerAsync", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "PolicyService" - }, - { - "Members": [ - { - "Name": "InspectPlayerFromHumanoidDescription", - "Parameters": [ - { - "Name": "humanoidDescription", - "Type": { - "Name": "HumanoidDescription" - } - } - ] - }, - { - "Name": "GetGuiInset", - "TupleReturns": [ - { - "Name": "Vector2" - }, - { - "Name": "Vector2" - } - ] - } - ], - "Name": "GuiService" - }, - { - "Members": [ - { - "Name": "MoveTo", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "ApplyDescription", - "Parameters": [ - { - "Name": "humanoidDescription", - "Type": { - "Name": "HumanoidDescription" - } - } - ] - }, - { - "Name": "GetAppliedDescription", - "ReturnType": { - "Name": "HumanoidDescription" - } - }, - { - "Name": "EquipTool", - "Parameters": [ - { - "Name": "tool", - "Type": { - "Name": "Tool" - } - } - ] - }, - { - "Name": "GetBodyPartR15", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "ReplaceBodyPartR15", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "AddAccessory", - "Parameters": [ - { - "Name": "accessory", - "Type": { - "Name": "Accessory" - } - } - ] - }, - { - "Name": "LoadAnimation", - "Parameters": [ - { - "Name": "animation", - "Type": { - "Name": "Animation" - } - } - ] - }, - { - "Name": "GetLimb", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "AnimationPlayed", - "Parameters": [ - { - "Name": "animationTrack", - "Type": { - "Name": "AnimationTrack" - } - } - ] - }, - { - "Name": "Seated", - "Parameters": [ - { - "Name": "currentSeatPart", - "Type": { - "Name": "Seat" - } - } - ] - }, - { - "Name": "Touched", - "Parameters": [ - { - "Name": "touchingPart", - "Type": { - "Name": "BasePart" - } - }, - { - "Name": "humanoidPart", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "GetPlayingAnimationTracks", - "ReturnType": { - "Generic": "AnimationTrack" - } - }, - { - "Name": "GetAccessories", - "ReturnType": { - "Generic": "Accessory" - } - } - ], - "Name": "Humanoid" - }, - { - "Members": [ - { - "Name": "Sit", - "Parameters": [ - { - "Name": "humanoid", - "Type": { - "Name": "Humanoid" - } - } - ] - } - ], - "Name": "Seat" - }, - { - "Members": [ - { - "Name": "CanCollideWith", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "SetNetworkOwner", - "Parameters": [ - { - "Name": "playerInstance", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "GetNetworkOwner", - "ReturnType": { - "Name": "Player" - } - }, - { - "Name": "GetRootPart", - "ReturnType": { - "Name": "BasePart" - } - }, - { - "Name": "SubtractAsync", - "ReturnType": { - "Name": "UnionOperation" - } - }, - { - "Name": "UnionAsync", - "ReturnType": { - "Name": "UnionOperation" - } - }, - { - "Name": "TouchEnded", - "Parameters": [ - { - "Name": "otherPart", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "Touched", - "Parameters": [ - { - "Name": "otherPart", - "Type": { - "Name": "BasePart" - } - } - ] - }, - { - "Name": "CanSetNetworkOwnership", - "TupleReturns": [ - { - "Name": "boolean" - }, - { - "Name": "string" - } - ] - }, - { - "Name": "GetConnectedParts", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "GetJoints", - "ReturnType": { - "Generic": "JointInstance" - } - }, - { - "Name": "GetTouchingParts", - "ReturnType": { - "Generic": "BasePart" - } - } - ], - "Name": "BasePart" - }, - { - "Members": [ - { - "Name": "RemoveMarker", - "Parameters": [ - { - "Name": "market", - "Type": { - "Name": "KeyframeMarker" - } - } - ] - }, - { - "Name": "AddMarker", - "Parameters": [ - { - "Name": "marker", - "Type": { - "Name": "KeyframeMarker" - } - } - ] - }, - { - "Name": "AddPose", - "Parameters": [ - { - "Name": "pose", - "Type": { - "Name": "Pose" - } - } - ] - }, - { - "Name": "RemovePose", - "Parameters": [ - { - "Name": "pose", - "Type": { - "Name": "Pose" - } - } - ] - } - ], - "Name": "Keyframe" - }, - { - "Members": [ - { - "Name": "LoadAnimation", - "Parameters": [ - { - "Name": "animation", - "Type": { - "Name": "Animation" - } - } - ] - }, - { - "Name": "AnimationPlayed", - "Parameters": [ - { - "Name": "animationTrack", - "Type": { - "Name": "AnimationTrack" - } - } - ] - }, - { - "Name": "GetPlayingAnimationTracks", - "ReturnType": { - "Generic": "AnimationTrack" - } - } - ], - "Name": "AnimationController" - }, - { - "Members": [ - { - "Name": "PromptPurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptProductPurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptPremiumPurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerOwnsAsset", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptGamePassPurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptSubscriptionPurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "IsPlayerSubscribed", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptSubscriptionCancellation", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptSubscriptionPurchaseRequested", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptGamePassPurchaseRequested", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptSubscriptionPurchaseFinished", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptSubscriptionCancellationFinished", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptProductPurchaseRequested", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptGamePassPurchaseFinished", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptBundlePurchase", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "GetDeveloperProductsAsync", - "ReturnType": { - "Name": "Pages" - } - }, - { - "Name": "NativePurchaseFinished", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptPurchaseRequested", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PromptPurchaseFinished", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "MarketplaceService" - }, - { - "Members": [ - { - "Name": "Activated", - "Parameters": [ - { - "Name": "inputObject", - "Type": { - "Name": "InputObject" - } - } - ] - } - ], - "Name": "GuiButton" - }, - { - "Members": [ - { - "Name": "Equipped", - "Parameters": [ - { - "Name": "mouse", - "Type": { - "Name": "Mouse" - } - } - ] - } - ], - "Name": "Tool" - }, - { - "Members": [ - { - "Name": "TouchMoved", - "Parameters": [ - { - "Name": "touch", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "TextBoxFocusReleased", - "Parameters": [ - { - "Name": "textboxReleased", - "Type": { - "Name": "TextBox" - } - } - ] - }, - { - "Name": "TextBoxFocused", - "Parameters": [ - { - "Name": "textboxFocused", - "Type": { - "Name": "TextBox" - } - } - ] - }, - { - "Name": "InputChanged", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "InputEnded", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "TouchEnded", - "Parameters": [ - { - "Name": "touch", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "InputBegan", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "TouchStarted", - "Parameters": [ - { - "Name": "touch", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "GetDeviceRotation", - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "CFrame" - } - ] - }, - { - "Name": "GetConnectedGamepads", - "ReturnType": { - "Generic": "Enum.UserInputType" - } - }, - { - "Name": "GetGamepadState", - "ReturnType": { - "Generic": "InputObject" - } - }, - { - "Name": "GetKeysPressed", - "ReturnType": { - "Generic": "InputObject" - } - }, - { - "Name": "GetMouseButtonsPressed", - "ReturnType": { - "Generic": "InputObject" - } - }, - { - "Name": "GetNavigationGamepads", - "ReturnType": { - "Generic": "InputObject" - } - }, - { - "Name": "GetSupportedGamepadKeyCodes", - "ReturnType": { - "Generic": "Enum.KeyCode" - } - }, - { - "Name": "TouchLongPress", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchPan", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchPinch", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchRotate", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchTap", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - } - ], - "Name": "UserInputService" - }, - { - "Members": [ - { - "Name": "Hit", - "Parameters": [ - { - "Name": "part", - "Type": { - "Name": "BasePart" - } - } - ] - } - ], - "Name": "Explosion" - }, - { - "Members": [ - { - "Name": "LocalToolEquipped", - "Parameters": [ - { - "Name": "toolEquipped", - "Type": { - "Name": "Tool" - } - } - ] - }, - { - "Name": "LocalToolUnequipped", - "Parameters": [ - { - "Name": "toolUnequipped", - "Type": { - "Name": "Tool" - } - } - ] - }, - { - "Name": "GetButton", - "ReturnType": { - "Name": "ImageButton" - } - } - ], - "Name": "ContextActionService" - }, - { - "Members": [ - { - "Name": "GetSortedAsync", - "ReturnType": { - "Name": "DataStorePages" - } - } - ], - "Name": "OrderedDataStore" - }, - { - "Members": [ - { - "Name": "MouseHoverEnter", - "Parameters": [ - { - "Name": "playerWhoHovered", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "MouseHoverLeave", - "Parameters": [ - { - "Name": "playerWhoHovered", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "RightMouseClick", - "Parameters": [ - { - "Name": "playerWhoClicked", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "MouseClick", - "Parameters": [ - { - "Name": "playerWhoClicked", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "ClickDetector" - }, - { - "Members": [ - { - "Name": "InputChanged", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "InputEnded", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "InputBegan", - "Parameters": [ - { - "Name": "input", - "Type": { - "Name": "InputObject" - } - } - ] - }, - { - "Name": "TouchLongPress", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchPan", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchPinch", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchRotate", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - }, - { - "Name": "TouchTap", - "Parameters": [ - { - "Name": "touchPositions", - "Type": { - "Generic": "Vector2" - } - } - ] - } - ], - "Name": "GuiObject" - }, - { - "Members": [ - { - "Name": "DialogChoiceSelected", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - }, - { - "Name": "dialogChoice", - "Type": { - "Name": "DialogChoice" - } - } - ] - }, - { - "Name": "GetCurrentPlayers", - "ReturnType": { - "Generic": "Player" - } - } - ], - "Name": "Dialog" - }, - { - "Members": [ - { - "Name": "FocusLost", - "Parameters": [ - { - "Name": "inputThatCausedFocusLoss", - "Type": { - "Name": "InputObject" - } - } - ] - } - ], - "Name": "TextBox" - }, - { - "Members": [ - { - "Name": "PlayerRemoved", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "PlayerAdded", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - }, - { - "Name": "GetPlayers", - "ReturnType": { - "Generic": "Player" - } - } - ], - "Name": "Team" - }, - { - "Members": [ - { - "Name": "WorldToScreenPoint", - "TupleReturns": [ - { - "Name": "Vector3" - }, - { - "Name": "boolean" - } - ] - }, - { - "Name": "WorldToViewportPoint", - "TupleReturns": [ - { - "Name": "Vector3" - }, - { - "Name": "boolean" - } - ] - }, - { - "Name": "GetPartsObscuringTarget", - "Parameters": [ - { - "Name": "castPoints", - "Type": { - "Generic": "Vector3" - } - } - ], - "ReturnType": { - "Generic": "BasePart" - } - } - ], - "Name": "Camera" - }, - { - "Members": [ - { - "Name": "FindPartOnRay", - "TupleReturns": [ - { - "Name": "BasePart" - }, - { - "Name": "Vector3" - }, - { - "Name": "Vector3" - }, - { - "Category": "Enum", - "Name": "Material" - } - ] - }, - { - "Name": "FindPartOnRayWithIgnoreList", - "TupleReturns": [ - { - "Name": "BasePart" - }, - { - "Name": "Vector3" - }, - { - "Name": "Vector3" - }, - { - "Category": "Enum", - "Name": "Material" - } - ] - }, - { - "Name": "FindPartOnRayWithWhiteList", - "TupleReturns": [ - { - "Name": "BasePart" - }, - { - "Name": "Vector3" - }, - { - "Name": "Vector3" - }, - { - "Category": "Enum", - "Name": "Material" - } - ] - }, - { - "Name": "findPartOnRay", - "TupleReturns": [ - { - "Name": "BasePart" - }, - { - "Name": "Vector3" - }, - { - "Name": "Vector3" - }, - { - "Category": "Enum", - "Name": "Material" - } - ] - }, - { - "Name": "FindPartsInRegion3", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "FindPartsInRegion3WithIgnoreList", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "FindPartsInRegion3WithWhiteList", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "GetPartBoundsInBox", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "GetPartBoundsInRadius", - "ReturnType": { - "Generic": "BasePart" - } - }, - { - "Name": "GetPartsInPart", - "ReturnType": { - "Generic": "BasePart" - } - } - ], - "Name": "WorldRoot" - }, - { - "Members": [ - { - "Name": "OnServerInvoke", - "Parameters": [ - { - "Name": "player", - "Type": { - "Name": "Player" - } - } - ] - } - ], - "Name": "RemoteFunction" - }, - { - "Members": [ - { - "Name": "GetGuiObjectsAtPosition", - "ReturnType": { - "Generic": "GuiObject" - } - } - ], - "Name": "BasePlayerGui" - }, - { - "Members": [ - { - "Name": "GetTags", - "ReturnType": { - "Generic": "string" - } - } - ], - "Name": "CollectionService" - }, - { - "Members": [ - { - "Name": "GetUserIds", - "ReturnType": { - "Generic": "number" - } - } - ], - "Name": "DataStoreKeyInfo" - }, - { - "Members": [ - { - "Name": "GetAccessories", - "ReturnType": { - "Generic": "Accessory" - } - } - ], - "Name": "HumanoidDescription" - }, - { - "Members": [ - { - "Name": "IncrementAsync", - "Parameters": [ - { - "Name": "userIds", - "Type": { - "Generic": "number" - } - } - ] - }, - { - "Name": "SetAsync", - "Parameters": [ - { - "Name": "userIds", - "Type": { - "Generic": "number" - } - } - ] - } - ], - "Name": "GlobalDataStore" - }, - { - "Members": [ - { - "Name": "GetWaypoints", - "ReturnType": { - "Generic": "PathWaypoint" - } - } - ], - "Name": "Path" - }, - { - "Members": [ - { - "Name": "GetTeams", - "ReturnType": { - "Generic": "Team" - } - } - ], - "Name": "Teams" - }, - { - "Members": [ - { - "Name": "GetDataStore", - "ReturnType": { - "Name": "DataStore" - } - } - ], - "Name": "DataStoreService" - } - ] -} \ No newline at end of file diff --git a/scripts/DataTypes.json b/scripts/DataTypes.json deleted file mode 100644 index ad196e65..00000000 --- a/scripts/DataTypes.json +++ /dev/null @@ -1,5226 +0,0 @@ -{ - "Constructors": [ - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "className", - "Type": { - "Name": "string" - } - }, - { - "Default": "nil", - "Name": "parent", - "Type": { - "Name": "Instance" - } - } - ], - "ReturnType": { - "Name": "Instance" - } - }, - { - "MemberType": "Function", - "Name": "fromExisting", - "Parameters": [ - { - "Name": "existingInstance", - "Type": { - "Name": "Instance" - } - } - ], - "ReturnType": { - "Name": "Instance" - } - } - ], - "Name": "Instance" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "Origin", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "Direction", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Ray" - } - } - ], - "Name": "Ray" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "value", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "NumberRange" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "number" - } - }, - { - "Name": "max", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "NumberRange" - } - } - ], - "Name": "NumberRange" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "position", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "action", - "Type": { - "Category": "Enum", - "Name": "PathWaypointAction" - } - }, - { - "Name": "label", - "Default": "", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "PathWaypoint" - } - } - ], - "Name": "PathWaypoint" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "Red", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "Yellow", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "Blue", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "Gray", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "DarkGray", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "White", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "random", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "Green", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "Black", - "Parameters": [], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "palette", - "Parameters": [ - { - "Name": "paletteValue", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "val", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "r", - "Type": { - "Name": "number" - } - }, - { - "Name": "g", - "Type": { - "Name": "number" - } - }, - { - "Name": "b", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "val", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "BrickColor" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "color", - "Type": { - "Name": "Color3" - } - } - ], - "ReturnType": { - "Name": "BrickColor" - } - } - ], - "Name": "BrickColor" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "y", - "Default": "0", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "zero", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "one", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "xAxis", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "yAxis", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType":"Function", - "Name":"min", - "Parameters": [ - { - "Name": "other", - "Type":{ - "Variadic":{ - "Name":"Vector2" - } - } - } - ], - "ReturnType":{ - "Name":"Vector2" - } - }, - { - "MemberType":"Function", - "Name":"max", - "Parameters": [ - { - "Name": "other", - "Type":{ - "Variadic":{ - "Name":"Vector2" - } - } - } - ], - "ReturnType":{ - "Name":"Vector2" - } - } - ], - "Name": "Vector2" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "y", - "Default": "0", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector2int16" - } - } - ], - "Name": "Vector2int16" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "fromRGB", - "Parameters": [ - { - "Default": "0", - "Name": "red", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "green", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "blue", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - }, - { - "MemberType": "Function", - "Name": "fromHSV", - "Parameters": [ - { - "Name": "hue", - "Type": { - "Name": "number" - } - }, - { - "Name": "saturation", - "Type": { - "Name": "number" - } - }, - { - "Name": "value", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - }, - { - "MemberType": "Function", - "Name": "toHSV", - "Deprecated": true, - "Parameters": [ - { - "Name": "color", - "Type": { - "Name": "Color3" - } - } - ], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Default": "0", - "Name": "red", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "green", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "blue", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - }, - { - "MemberType": "Function", - "Name": "fromHex", - "Parameters": [ - { - "Name": "hex", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - } - ], - "Name": "Color3" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "Scale", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "Offset", - "Default": "0", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "UDim" - } - } - ], - "Name": "UDim" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "material", - "Type": { - "Category": "Enum", - "Name": "Material" - } - } - ], - "ReturnType": { - "Name": "PhysicalProperties" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "density", - "Type": { - "Name": "number" - } - }, - { - "Name": "friction", - "Type": { - "Name": "number" - } - }, - { - "Name": "elasticity", - "Type": { - "Name": "number" - } - }, - { - "Name": "frictionWeight", - "Default": "nil", - "Type": { - "Name": "number" - } - }, - { - "Name": "elasticityWeight", - "Default": "nil", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "PhysicalProperties" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "density", - "Type": { - "Name": "number" - } - }, - { - "Name": "friction", - "Type": { - "Name": "number" - } - }, - { - "Name": "elasticity", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "PhysicalProperties" - } - } - ], - "Name": "PhysicalProperties" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "axes", - "Type": { - "Name": "Tuple" - } - } - ], - "ReturnType": { - "Name": "Axes" - } - } - ], - "Name": "Axes" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "max", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Region3" - } - } - ], - "Name": "Region3" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "Vector3int16" - } - }, - { - "Name": "max", - "Type": { - "Name": "Vector3int16" - } - } - ], - "ReturnType": { - "Name": "Region3int16" - } - } - ], - "Name": "Region3int16" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "fromScale", - "Parameters": [ - { - "Name": "xScale", - "Type": { - "Name": "number" - } - }, - { - "Name": "yScale", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Function", - "Name": "fromOffset", - "Parameters": [ - { - "Name": "xOffset", - "Type": { - "Name": "number" - } - }, - { - "Name": "yOffset", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Type": { - "Name": "UDim" - } - }, - { - "Name": "y", - "Type": { - "Name": "UDim" - } - } - ], - "ReturnType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "xScale", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "xOffset", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "yScale", - "Default": "0", - "Type": { - "Name": "number" - } - }, - { - "Name": "yOffset", - "Default": "0", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "UDim2" - } - } - ], - "Name": "UDim2" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "fromEulerAnglesYXZ", - "Parameters": [ - { - "Name": "rx", - "Type": { - "Name": "number" - } - }, - { - "Name": "ry", - "Type": { - "Name": "number" - } - }, - { - "Name": "rz", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "fromEulerAngles", - "Parameters": [ - { - "Name": "rx", - "Type": { - "Name": "number" - } - }, - { - "Name": "ry", - "Type": { - "Name": "number" - } - }, - { - "Name": "rz", - "Type": { - "Name": "number" - } - }, - { - "Name": "order", - "Type": { - "Category": "Enum", - "Name": "RotationOrder" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "Angles", - "Parameters": [ - { - "Name": "rx", - "Type": { - "Name": "number" - } - }, - { - "Name": "ry", - "Type": { - "Name": "number" - } - }, - { - "Name": "rz", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "fromMatrix", - "Parameters": [ - { - "Name": "pos", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "vX", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "vY", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "vZ", - "Type": { - "Name": "Vector3" - }, - "Default": "nil" - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "fromAxisAngle", - "Parameters": [ - { - "Name": "v", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "r", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "fromOrientation", - "Parameters": [ - { - "Name": "rx", - "Type": { - "Name": "number" - } - }, - { - "Name": "ry", - "Type": { - "Name": "number" - } - }, - { - "Name": "rz", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "fromEulerAnglesXYZ", - "Parameters": [ - { - "Name": "rx", - "Type": { - "Name": "number" - } - }, - { - "Name": "ry", - "Type": { - "Name": "number" - } - }, - { - "Name": "rz", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "lookAt", - "Parameters": [ - { - "Name": "at", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "target", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "up", - "Default": "(0, 1, 0)", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "lookAlong", - "Parameters": [ - { - "Name": "at", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "direction", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "up", - "Default": "(0, 1, 0)", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "pos", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "pos", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "lookAt", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Type": { - "Name": "number" - } - }, - { - "Name": "y", - "Type": { - "Name": "number" - } - }, - { - "Name": "z", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Type": { - "Name": "number" - } - }, - { - "Name": "y", - "Type": { - "Name": "number" - } - }, - { - "Name": "z", - "Type": { - "Name": "number" - } - }, - { - "Name": "qX", - "Type": { - "Name": "number" - } - }, - { - "Name": "qY", - "Type": { - "Name": "number" - } - }, - { - "Name": "qZ", - "Type": { - "Name": "number" - } - }, - { - "Name": "qW", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "x", - "Type": { - "Name": "number" - } - }, - { - "Name": "y", - "Type": { - "Name": "number" - } - }, - { - "Name": "z", - "Type": { - "Name": "number" - } - }, - { - "Name": "R00", - "Type": { - "Name": "number" - } - }, - { - "Name": "R01", - "Type": { - "Name": "number" - } - }, - { - "Name": "R02", - "Type": { - "Name": "number" - } - }, - { - "Name": "R10", - "Type": { - "Name": "number" - } - }, - { - "Name": "R11", - "Type": { - "Name": "number" - } - }, - { - "Name": "R12", - "Type": { - "Name": "number" - } - }, - { - "Name": "R20", - "Type": { - "Name": "number" - } - }, - { - "Name": "R21", - "Type": { - "Name": "number" - } - }, - { - "Name": "R22", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "identity", - "ValueType": { - "Name": "CFrame" - } - } - ], - "Name": "CFrame" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "normalIds", - "Type": { - "Name": "Tuple" - } - } - ], - "ReturnType": { - "Name": "Faces" - } - } - ], - "Name": "Faces" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - ], - "ReturnType": { - "Name": "Rect" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "Vector2" - } - }, - { - "Name": "max", - "Type": { - "Name": "Vector2" - } - } - ], - "ReturnType": { - "Name": "Rect" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "minX", - "Type": { - "Name": "number" - } - }, - { - "Name": "minY", - "Type": { - "Name": "number" - } - }, - { - "Name": "maxX", - "Type": { - "Name": "number" - } - }, - { - "Name": "maxY", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Rect" - } - } - ], - "Name": "Rect" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "fromNormalId", - "Parameters": [ - { - "Name": "normal", - "Type": { - "Category": "Enum", - "Name": "NormalId" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "fromAxis", - "Parameters": [ - { - "Name": "axis", - "Type": { - "Category": "Enum", - "Name": "Axis" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "FromNormalId", - "Deprecated": false, - "Parameters": [ - { - "Name": "normal", - "Type": { - "Category": "Enum", - "Name": "NormalId" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "FromAxis", - "Deprecated": false, - "Parameters": [ - { - "Name": "axis", - "Type": { - "Category": "Enum", - "Name": "Axis" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Default": "0", - "Name": "x", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "y", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "z", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "zero", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "one", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "xAxis", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "yAxis", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "zAxis", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType":"Function", - "Name":"min", - "Parameters": [ - { - "Name": "other", - "Type":{ - "Variadic":{ - "Name":"Vector3" - } - } - } - ], - "ReturnType":{ - "Name":"Vector3" - } - }, - { - "MemberType":"Function", - "Name":"max", - "Parameters": [ - { - "Name": "other", - "Type":{ - "Variadic":{ - "Name":"Vector3" - } - } - } - ], - "ReturnType":{ - "Name":"Vector3" - } - } - ], - "Name": "Vector3" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Default": "0", - "Name": "x", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "y", - "Type": { - "Name": "number" - } - }, - { - "Default": "0", - "Name": "z", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector3int16" - } - } - ], - "Name": "Vector3int16" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "seed", - "Default": "nil", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Random" - } - } - ], - "Name": "Random" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Default": "1.0", - "Name": "time", - "Type": { - "Name": "number" - } - }, - { - "Default": "Quad", - "Name": "easingStyle", - "Type": { - "Category": "Enum", - "Name": "EasingStyle" - } - }, - { - "Default": "Out", - "Name": "easingDirection", - "Type": { - "Category": "Enum", - "Name": "EasingDirection" - } - }, - { - "Default": "0", - "Name": "repeatCount", - "Type": { - "Name": "number" - } - }, - { - "Default": "false", - "Name": "reverses", - "Type": { - "Name": "bool" - } - }, - { - "Default": "0", - "Name": "delayTime", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "TweenInfo" - } - } - ], - "Name": "TweenInfo" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "now", - "Parameters": [], - "ReturnType": { - "Name": "DateTime" - } - }, - { - "MemberType": "Function", - "Name": "fromUnixTimestamp", - "Parameters": [ - { - "Name": "unixTimestamp", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "DateTime" - } - }, - { - "MemberType": "Function", - "Name": "fromUnixTimestampMillis", - "Parameters": [ - { - "Name": "unixTimestampMillis", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "DateTime" - } - }, - { - "MemberType": "Function", - "Name": "fromUniversalTime", - "Parameters": [ - { - "Default": "1970", - "Name": "year", - "Type": { - "Name": "int" - } - }, - { - "Default": "1", - "Name": "month", - "Type": { - "Name": "int" - } - }, - { - "Default": "1", - "Name": "day", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "hour", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "minute", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "second", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "millisecond", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "DateTime" - } - }, - { - "MemberType": "Function", - "Name": "fromLocalTime", - "Parameters": [ - { - "Default": "1970", - "Name": "year", - "Type": { - "Name": "int" - } - }, - { - "Default": "1", - "Name": "month", - "Type": { - "Name": "int" - } - }, - { - "Default": "1", - "Name": "day", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "hour", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "minute", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "second", - "Type": { - "Name": "int" - } - }, - { - "Default": "0", - "Name": "millisecond", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "DateTime" - } - }, - { - "MemberType": "Function", - "Name": "fromIsoDate", - "Parameters": [ - { - "Name": "isoDate", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "DateTime" - } - } - ], - "Name": "DateTime" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "n", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "NumberSequence" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "n0", - "Type": { - "Name": "number" - } - }, - { - "Name": "n1", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "NumberSequence" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "keypoints", - "Type": { - "Name": "Array", - "Generic": "NumberSequenceKeypoint" - } - } - ], - "ReturnType": { - "Name": "NumberSequence" - } - } - ], - "Name": "NumberSequence" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "c", - "Type": { - "Name": "Color3" - } - } - ], - "ReturnType": { - "Name": "ColorSequence" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "c0", - "Type": { - "Name": "Color3" - } - }, - { - "Name": "c1", - "Type": { - "Name": "Color3" - } - } - ], - "ReturnType": { - "Name": "ColorSequence" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "keypoints", - "Type": { - "Name": "Array", - "Generic": "ColorSequenceKeypoint" - } - } - ], - "ReturnType": { - "Name": "ColorSequence" - } - } - ], - "Name": "ColorSequence" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "time", - "Type": { - "Name": "number" - } - }, - { - "Name": "value", - "Type": { - "Name": "number" - } - }, - { - "Name": "envelop", - "Default": "nil", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "NumberSequenceKeypoint" - } - } - ], - "Name": "NumberSequenceKeypoint" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "time", - "Type": { - "Name": "number" - } - }, - { - "Name": "color", - "Type": { - "Name": "Color3" - } - } - ], - "ReturnType": { - "Name": "ColorSequenceKeypoint" - } - } - ], - "Name": "ColorSequenceKeypoint" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Name": "RaycastParams" - } - } - ], - "Name": "RaycastParams" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Name": "OverlapParams" - } - } - ], - "Name": "OverlapParams" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "initDockState", - "Default": "Right", - "Type": { - "Category": "Enum", - "Name": "InitialDockState" - } - }, - { - "Name": "initEnabled", - "Default": "false", - "Type": { - "Name": "boolean" - } - }, - { - "Name": "overrideEnabledRestore", - "Default": "false", - "Type": { - "Name": "boolean" - } - }, - { - "Name": "floatXSize", - "Default": "0", - "Type": { - "Name": "int" - } - }, - { - "Name": "floatYSize", - "Default": "0", - "Type": { - "Name": "int" - } - }, - { - "Name": "minWidth", - "Default": "0", - "Type": { - "Name": "int" - } - }, - { - "Name": "minHeight", - "Default": "0", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "DockWidgetPluginGuiInfo" - } - } - ], - "Name": "DockWidgetPluginGuiInfo" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Category": "", - "Name": "CatalogSearchParams" - } - } - ], - "Name": "CatalogSearchParams" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "family", - "Type": { - "Name": "string" - } - }, - { - "Name": "weight", - "Default": "Regular", - "Type": { - "Category": "Enum", - "Name": "FontWeight" - } - }, - { - "Name": "style", - "Default": "Normal", - "Type": { - "Category": "Enum", - "Name": "FontStyle" - } - } - ], - "ReturnType": { - "Name": "Font" - } - }, - { - "MemberType": "Function", - "Name": "fromEnum", - "Parameters": [ - { - "Name": "font", - "Type": { - "Category": "Enum", - "Name": "Font" - } - } - ], - "ReturnType": { - "Name": "Font" - } - }, - { - "MemberType": "Function", - "Name": "fromName", - "Parameters": [ - { - "Name": "name", - "Type": { - "Name": "string" - } - }, - { - "Name": "weight", - "Default": "Regular", - "Type": { - "Category": "Enum", - "Name": "FontWeight" - } - }, - { - "Name": "style", - "Default": "Normal", - "Type": { - "Category": "Enum", - "Name": "FontStyle" - } - } - ], - "ReturnType": { - "Name": "Font" - } - }, - { - "MemberType": "Function", - "Name": "fromId", - "Parameters": [ - { - "Name": "id", - "Type": { - "Name": "number" - } - }, - { - "Name": "weight", - "Default": "Regular", - "Type": { - "Category": "Enum", - "Name": "FontWeight" - } - }, - { - "Name": "style", - "Default": "Normal", - "Type": { - "Category": "Enum", - "Name": "FontStyle" - } - } - ], - "ReturnType": { - "Name": "Font" - } - } - ], - "Name": "Font" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "time", - "Type": { - "Name": "number" - } - }, - { - "Name": "value", - "Type": { - "Name": "number" - } - }, - { - "Name": "Interpolation", - "Type": { - "Category": "Enum", - "Name": "KeyInterpolationMode" - } - } - ], - "ReturnType": { - "Name": "FloatCurveKey" - } - } - ], - "Name": "FloatCurveKey" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "time", - "Type": { - "Name": "number" - } - }, - { - "Name": "value", - "Type": { - "Name": "CFrame" - } - }, - { - "Name": "Interpolation", - "Type": { - "Category": "Enum", - "Name": "KeyInterpolationMode" - } - } - ], - "ReturnType": { - "Name": "RotationCurveKey" - } - } - ], - "Name": "RotationCurveKey" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Name": "SharedTable" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "value", - "Type": { - "Name": "table" - } - } - ], - "ReturnType": { - "Name": "SharedTable" - } - } - ], - "Name": "SharedTable" - }, - { - "Members": [], - "Name": "Secret" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "new", - "Parameters": [], - "ReturnType": { - "Name": "Path2DControlPoint" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "position", - "Type": { - "Name": "UDim2" - } - } - ], - "ReturnType": { - "Name": "Path2DControlPoint" - } - }, - { - "MemberType": "Function", - "Name": "new", - "Parameters": [ - { - "Name": "position", - "Type": { - "Name": "UDim2" - } - }, - { - "Name": "leftTangent", - "Type": { - "Name": "UDim2" - } - }, - { - "Name": "rightTangent", - "Type": { - "Name": "UDim2" - } - } - ], - "ReturnType": { - "Name": "Path2DControlPoint" - } - } - ], - "Name": "Path2DControlPoint" - } - ], - "DataTypes": [ - { - "Members": [ - { - "MemberType": "Function", - "Name": "ClosestPoint", - "Parameters": [ - { - "Name": "point", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Origin", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Unit", - "ValueType": { - "Name": "Ray" - } - }, - { - "MemberType": "Function", - "Name": "Distance", - "Parameters": [ - { - "Name": "point", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Direction", - "ValueType": { - "Name": "Vector3" - } - } - ], - "Name": "Ray" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Max", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Min", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "NumberRange" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Position", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Action", - "ValueType": { - "Category": "Enum", - "Name": "PathWaypointAction" - } - }, - { - "MemberType":"Property", - "Name":"Label", - "ValueType":{ - "Name":"string" - } - } - ], - "Name": "PathWaypoint" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "r", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Name", - "ValueType": { - "Name": "string" - } - }, - { - "MemberType": "Property", - "Name": "Number", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Color", - "ValueType": { - "Name": "Color3" - } - }, - { - "MemberType": "Property", - "Name": "b", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "g", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "BrickColor" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Unit", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "Magnitude", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Lerp", - "Parameters": [ - { - "Name": "v", - "Type": { - "Name": "Vector2" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Cross", - "Parameters": [ - { - "Name": "other", - "Type": { - "Name": "Vector2" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Dot", - "Parameters": [ - { - "Name": "v", - "Type": { - "Name": "Vector2" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Abs", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Ceil", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Floor", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Sign", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Angle", - "Parameters": [ - { - "Name":"other", - "Type":{ - "Name":"Vector2" - } - }, - { - "Name":"isSigned", - "Type":{ - "Name":"bool" - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Max", - "Parameters": [ - { - "Name": "other", - "Type": { - "Tuple": { - "Name": "Vector2" - } - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Function", - "Name": "Min", - "Parameters": [ - { - "Name": "other", - "Type": { - "Tuple": { - "Name": "Vector2" - } - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "y", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "x", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "unit", - "Deprecated": true, - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "magnitude", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "lerp", - "Deprecated": true, - "Parameters": [ - { - "Name": "v", - "Type": { - "Name": "Vector2" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector2" - } - } - ], - "Name": "Vector2" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "R", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "B", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "G", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "ToHSV", - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "ToHex", - "Parameters": [], - "ReturnType": { - "Name": "string" - } - }, - { - "MemberType": "Function", - "Name": "Lerp", - "Parameters": [ - { - "Name": "color", - "Type": { - "Name": "Color3" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - }, - { - "MemberType": "Property", - "Name": "r", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "g", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "b", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "lerp", - "Deprecated": true, - "Parameters": [ - { - "Name": "color", - "Type": { - "Name": "Color3" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Color3" - } - } - ], - "Name": "Color3" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Scale", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Offset", - "ValueType": { - "Name": "int" - } - } - ], - "Name": "UDim" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "ElasticityWeight", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Elasticity", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Density", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "FrictionWeight", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Friction", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "PhysicalProperties" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Z", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Top", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Left", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Right", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Bottom", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Front", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Back", - "ValueType": { - "Name": "bool" - } - } - ], - "Name": "Axes" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "CFrame", - "ValueType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "ExpandToGrid", - "Parameters": [ - { - "Name": "Region", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "Region3" - } - }, - { - "MemberType": "Property", - "Name": "Size", - "ValueType": { - "Name": "Vector3" - } - } - ], - "Name": "Region3" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "UDim" - } - }, - { - "MemberType": "Function", - "Name": "Lerp", - "Parameters": [ - { - "Name": "goal", - "Type": { - "Name": "UDim2" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Property", - "Name": "Height", - "ValueType": { - "Name": "UDim" - } - }, - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "UDim" - } - }, - { - "MemberType": "Property", - "Name": "Width", - "ValueType": { - "Name": "UDim" - } - } - ], - "Name": "UDim2" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Z", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "PointToObjectSpace", - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "YVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "XVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "ZVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Position", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Rotation", - "ValueType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "RightVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "VectorToWorldSpace", - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "ToAxisAngle", - "Parameters": [], - "TupleReturns": [ - { - "Name": "Vector3" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "ToOrientation", - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "ToEulerAnglesYXZ", - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "ToEulerAngles", - "Parameters": [ - { - "Name": "order", - "Default":"XYZ", - "Type": { - "Category": "Enum", - "Name": "RotationOrder" - } - } - ], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "Inverse", - "Parameters": [], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "UpVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Lerp", - "Parameters": [ - { - "Name": "goal", - "Type": { - "Name": "CFrame" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "GetComponents", - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "VectorToObjectSpace", - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "LookVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "PointToWorldSpace", - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "ToWorldSpace", - "Parameters": [ - { - "Name": "cf", - "Type": { - "Name": "CFrame" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "ToObjectSpace", - "Parameters": [ - { - "Name": "cf", - "Type": { - "Name": "CFrame" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "ToEulerAnglesXYZ", - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "Orthonormalize", - "Parameters": [], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "z", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "y", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "x", - "Deprecated": true, - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "pointToObjectSpace", - "Deprecated": true, - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "p", - "Deprecated": true, - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "rightVector", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Deprecated": true, - "Name": "vectorToWorldSpace", - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "toAxisAngle", - "Deprecated": true, - "Parameters": [], - "TupleReturns": [ - { - "Name": "Vector3" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "inverse", - "Deprecated": true, - "Parameters": [], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "upVector", - "Deprecated": true, - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "lerp", - "Deprecated": true, - "Parameters": [ - { - "Name": "goal", - "Type": { - "Name": "CFrame" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "vectorToObjectSpace", - "Deprecated": true, - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "lookVector", - "Deprecated": true, - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "pointToWorldSpace", - "Deprecated": true, - "Parameters": [ - { - "Name": "v3", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "toWorldSpace", - "Deprecated": true, - "Parameters": [ - { - "Name": "cf", - "Type": { - "Name": "CFrame" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "toObjectSpace", - "Deprecated": true, - "Parameters": [ - { - "Name": "cf", - "Type": { - "Name": "CFrame" - } - } - ], - "ReturnType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Function", - "Name": "toEulerAnglesXYZ", - "Deprecated": true, - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - }, - { - "MemberType": "Function", - "Name": "components", - "Deprecated": true, - "Parameters": [], - "TupleReturns": [ - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - }, - { - "Name": "number" - } - ] - } - ], - "Name": "CFrame" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Bottom", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Top", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Front", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Left", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Right", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "Back", - "ValueType": { - "Name": "bool" - } - } - ], - "Name": "Faces" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "IsA", - "Parameters": [ - { - "Name": "enumName", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "bool" - } - }, - { - "MemberType": "Property", - "Name": "EnumType", - "ValueType": { - "Name": "Enum" - } - }, - { - "MemberType": "Property", - "Name": "Value", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Property", - "Name": "Name", - "ValueType": { - "Name": "string" - } - } - ], - "Name": "EnumItem" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "GetEnumItems", - "Parameters": [], - "ReturnType": { - "Name": "Array", - "Generic": "EnumItem" - } - } - ], - "Name": "Enum" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "GetEnums", - "Parameters": [], - "ReturnType": { - "Name": "Array", - "Generic": "Enum" - } - } - ], - "Name": "Enums" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Max", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "Min", - "ValueType": { - "Name": "Vector2" - } - }, - { - "MemberType": "Property", - "Name": "Height", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Width", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "Rect" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Z", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Unit", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Magnitude", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Dot", - "Parameters": [ - { - "Name": "other", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Lerp", - "Parameters": [ - { - "Name": "goal", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Cross", - "Parameters": [ - { - "Name": "other", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Abs", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Ceil", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Floor", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Sign", - "Parameters": [ - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "FuzzyEq", - "Parameters": [ - { - "Name": "other", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "epsilon", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "bool" - } - }, - { - "MemberType": "Function", - "Name": "Angle", - "Parameters": [ - { - "Name": "other", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "axis", - "Type": { - "Name": "Vector3" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "Max", - "Parameters": [ - { - "Name": "other", - "Type": { - "Tuple": { - "Name": "Vector3" - } - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Min", - "Parameters": [ - { - "Name": "other", - "Type": { - "Tuple": { - "Name": "Vector3" - } - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "lerp", - "Deprecated": true, - "Parameters": [ - { - "Name": "goal", - "Type": { - "Name": "Vector3" - } - }, - { - "Name": "alpha", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "z", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "y", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "x", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "unit", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Deprecated": true, - "Name": "magnitude", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "Vector3" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "NextInteger", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "int" - } - }, - { - "Name": "max", - "Type": { - "Name": "int" - } - } - ], - "ReturnType": { - "Name": "int" - } - }, - { - "MemberType": "Function", - "Name": "NextNumber", - "Parameters": [], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "NextNumber", - "Parameters": [ - { - "Name": "min", - "Type": { - "Name": "number" - } - }, - { - "Name": "max", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "NextUnitVector", - "Parameters": [], - "ReturnType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Function", - "Name": "Clone", - "Parameters": [], - "ReturnType": { - "Name": "Random" - } - } - ], - "Name": "Random" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "DelayTime", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Time", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "EasingDirection", - "ValueType": { - "Category": "Enum", - "Name": "EasingDirection" - } - }, - { - "MemberType": "Property", - "Name": "RepeatCount", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "EasingStyle", - "ValueType": { - "Category": "Enum", - "Name": "EasingStyle" - } - }, - { - "MemberType": "Property", - "Name": "Reverses", - "ValueType": { - "Name": "bool" - } - } - ], - "Name": "TweenInfo" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "Disconnect", - "Parameters": [], - "ReturnType": { - "Name": "void" - } - }, - { - "MemberType": "Property", - "Name": "Connected", - "ValueType": { - "Name": "bool" - } - }, - { - "MemberType": "Function", - "Name": "disconnect", - "Deprecated": true, - "Parameters": [], - "ReturnType": { - "Name": "void" - } - }, - { - "MemberType": "Property", - "Name": "connected", - "Deprecated": true, - "ValueType": { - "Name": "bool" - } - } - ], - "Name": "RBXScriptConnection" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "Wait", - "Parameters": [], - "ReturnType": { - "Name": "Variant" - } - }, - { - "MemberType": "Function", - "Name": "Connect", - "Parameters": [ - { - "Name": "callback", - "Type": { - "Name": "function" - } - } - ], - "ReturnType": { - "Name": "RBXScriptConnection" - } - }, - { - "MemberType": "Function", - "Name": "Once", - "Parameters": [ - { - "Name": "callback", - "Type": { - "Name": "function" - } - } - ], - "ReturnType": { - "Name": "RBXScriptConnection" - } - }, - { - "MemberType": "Function", - "Name": "ConnectParallel", - "Parameters": [ - { - "Name": "callback", - "Type": { - "Name": "function" - } - } - ], - "Tags": [ - "Hidden" - ], - "ReturnType": { - "Name": "RBXScriptConnection" - } - }, - { - "MemberType": "Function", - "Name": "wait", - "Deprecated": true, - "Parameters": [], - "ReturnType": { - "Name": "Variant" - } - }, - { - "MemberType": "Function", - "Name": "connect", - "Deprecated": true, - "Parameters": [ - { - "Name": "callback", - "Type": { - "Name": "function" - } - } - ], - "ReturnType": { - "Name": "RBXScriptConnection" - } - } - ], - "Name": "RBXScriptSignal" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "UnixTimestamp", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Property", - "Name": "UnixTimestampMillis", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Function", - "Name": "ToUniversalTime", - "Parameters": [], - "ReturnType": { - "Name": "table" - } - }, - { - "MemberType": "Function", - "Name": "ToLocalTime", - "Parameters": [], - "ReturnType": { - "Name": "table" - } - }, - { - "MemberType": "Function", - "Name": "ToIsoDate", - "Parameters": [], - "ReturnType": { - "Name": "string" - } - }, - { - "MemberType": "Function", - "Name": "FormatUniversalTime", - "Parameters": [ - { - "Name": "format", - "Type": { - "Name": "string" - } - }, - { - "Name": "locale", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "string" - } - }, - { - "MemberType": "Function", - "Name": "FormatLocalTime", - "Parameters": [ - { - "Name": "format", - "Type": { - "Name": "string" - } - }, - { - "Name": "locale", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "string" - } - } - ], - "Name": "DateTime" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Keypoints", - "ValueType": { - "Name": "Array", - "Generic": "NumberSequenceKeypoint" - } - } - ], - "Name": "NumberSequence" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Keypoints", - "ValueType": { - "Name": "Array", - "Generic": "ColorSequenceKeypoint" - } - } - ], - "Name": "ColorSequence" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Envelope", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Time", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Value", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "NumberSequenceKeypoint" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Time", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Value", - "ValueType": { - "Name": "Color3" - } - } - ], - "Name": "ColorSequenceKeypoint" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "FilterDescendantsInstances", - "ValueType": { - "Name": "Objects" - } - }, - { - "MemberType": "Property", - "Name": "FilterType", - "ValueType": { - "Category": "Enum", - "Name": "RaycastFilterType" - } - }, - { - "MemberType": "Property", - "Name": "IgnoreWater", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "CollisionGroup", - "ValueType": { - "Name": "string" - } - }, - { - "MemberType": "Property", - "Name": "RespectCanCollide", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "BruteForceAllSlow", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Function", - "Name": "AddToFilter", - "Parameters": [ - { - "Name": "instances", - "Type": { - "Union": [ - { - "Name": "Instance" - }, - { - "Name": "Objects" - } - ] - } - } - ], - "ReturnType": { - "Name": "nil" - } - } - ], - "Name": "RaycastParams" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "FilterDescendantsInstances", - "ValueType": { - "Name": "Objects" - } - }, - { - "MemberType": "Property", - "Name": "FilterType", - "ValueType": { - "Category": "Enum", - "Name": "RaycastFilterType" - } - }, - { - "MemberType": "Property", - "Name": "CollisionGroup", - "ValueType": { - "Name": "string" - } - }, - { - "MemberType": "Property", - "Name": "MaxParts", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "RespectCanCollide", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "BruteForceAllSlow", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Function", - "Name": "AddToFilter", - "Parameters": [ - { - "Name": "instances", - "Type": { - "Union": [ - { - "Name": "Instance" - }, - { - "Name": "Objects" - } - ] - } - } - ], - "ReturnType": { - "Name": "nil" - } - } - ], - "Name": "OverlapParams" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Distance", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Instance", - "ValueType": { - "Name": "Instance" - } - }, - { - "MemberType": "Property", - "Name": "Position", - "ValueType": { - "Name": "Vector3" - } - }, - { - "MemberType": "Property", - "Name": "Material", - "ValueType": { - "Category": "Enum", - "Name": "Material" - } - }, - { - "MemberType": "Property", - "Name": "Normal", - "ValueType": { - "Name": "Vector3" - } - } - ], - "Name": "RaycastResult" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "InitialEnabled", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "InitialEnabledShouldOverrideRestore", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "FloatingXSize", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Property", - "Name": "FloatingYSize", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Property", - "Name": "MinWidth", - "ValueType": { - "Name": "int" - } - }, - { - "MemberType": "Property", - "Name": "MinHeight", - "ValueType": { - "Name": "int" - } - } - ], - "Name": "DockWidgetPluginGuiInfo" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "Vector2int16" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "X", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Y", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Z", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "Vector3int16" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Min", - "ValueType": { - "Name": "Vector3int16" - } - }, - { - "MemberType": "Property", - "Name": "Max", - "ValueType": { - "Name": "Vector3int16" - } - } - ], - "Name": "Region3int16" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "SearchKeyword", - "ValueType": { - "Name": "string" - } - }, - { - "MemberType": "Property", - "Name": "MinPrice", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "MaxPrice", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "SortType", - "ValueType": { - "Category": "Enum", - "Name": "CatalogSortType" - } - }, - { - "MemberType": "Property", - "Name": "CategoryFilter", - "ValueType": { - "Category": "Enum", - "Name": "CatalogCategoryFilter" - } - }, - { - "MemberType": "Property", - "Name": "BundleTypes", - "ValueType": { - "Name": "Array", - "Generic": "Enum.BundleType" - } - }, - { - "MemberType": "Property", - "Name": "AssetTypes", - "ValueType": { - "Name": "Array", - "Generic": "Enum.AssetType" - } - } - ], - "Name": "CatalogSearchParams" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Family", - "ValueType": { - "Name": "string" - } - }, - { - "MemberType": "Property", - "Name": "Bold", - "ValueType": { - "Name": "boolean" - } - }, - { - "MemberType": "Property", - "Name": "Weight", - "ValueType": { - "Category": "Enum", - "Name": "FontWeight" - } - }, - { - "MemberType": "Property", - "Name": "Style", - "ValueType": { - "Category": "Enum", - "Name": "FontStyle" - } - } - ], - "Name": "Font" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Interpolation", - "ValueType": { - "Category": "Enum", - "Name": "KeyInterpolationMode" - } - }, - { - "MemberType": "Property", - "Name": "Time", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Value", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "RightTangent", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "LeftTangent", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "FloatCurveKey" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Interpolation", - "ValueType": { - "Category": "Enum", - "Name": "KeyInterpolationMode" - } - }, - { - "MemberType": "Property", - "Name": "Time", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "Value", - "ValueType": { - "Name": "CFrame" - } - }, - { - "MemberType": "Property", - "Name": "RightTangent", - "ValueType": { - "Name": "number" - } - }, - { - "MemberType": "Property", - "Name": "LeftTangent", - "ValueType": { - "Name": "number" - } - } - ], - "Name": "RotationCurveKey" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "clear", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - } - ], - "ReturnType": { - "Name": "void" - } - }, - { - "MemberType": "Function", - "Name": "clone", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - }, - { - "Name": "deep", - "Default": "nil", - "Type": { - "Name": "boolean" - } - } - ], - "ReturnType": { - "Name": "SharedTable" - } - }, - { - "MemberType": "Function", - "Name": "cloneAndFreeze", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - }, - { - "Name": "deep", - "Default": "nil", - "Type": { - "Name": "boolean" - } - } - ], - "ReturnType": { - "Name": "SharedTable" - } - }, - { - "MemberType": "Function", - "Name": "increment", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - }, - { - "Name": "key", - "Type": { - "Union": [ - { - "Name": "string" - }, - { - "Name": "number" - } - ] - } - }, - { - "Name": "delta", - "Type": { - "Name": "number" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "isFrozen", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - } - ], - "ReturnType": { - "Name": "boolean" - } - }, - { - "MemberType": "Function", - "Name": "size", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - } - ], - "ReturnType": { - "Name": "number" - } - }, - { - "MemberType": "Function", - "Name": "update", - "Parameters": [ - { - "Name": "st", - "Type": { - "Name": "SharedTable" - } - }, - { - "Name": "key", - "Type": { - "Union": [ - { - "Name": "string" - }, - { - "Name": "number" - } - ] - } - }, - { - "Name": "f", - "Type": { - "Name": "function" - } - } - ], - "ReturnType": { - "Name": "void" - } - } - ], - "Name": "SharedTable" - }, - { - "Members": [ - { - "MemberType": "Function", - "Name": "AddPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "Secret" - } - }, - { - "MemberType": "Function", - "Name": "AddSuffix", - "Parameters": [ - { - "Name": "suffix", - "Type": { - "Name": "string" - } - } - ], - "ReturnType": { - "Name": "Secret" - } - } - ], - "Name": "Secret" - }, - { - "Members": [ - { - "MemberType": "Property", - "Name": "Position", - - "ValueType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Property", - "Name": "LeftTangent", - - "ValueType": { - "Name": "UDim2" - } - }, - { - "MemberType": "Property", - "Name": "RightTangent", - - "ValueType": { - "Name": "UDim2" - } - } - ], - "Name": "Path2DControlPoint" - } - ] -} diff --git a/scripts/README.md b/scripts/README.md index c2d10e53..77d43b8c 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -6,17 +6,9 @@ The `globalTypes.d.luau` file provides an autogenerated types definition file. T $ python dumpRobloxTypes.py > globalTypes.d.luau ``` -The script extracts type information from the Roblox API Dump: +The script extracts information from the Creator Documentation GitHub: -- https://raw.githubusercontent.com/CloneTrooper1019/Roblox-Client-Tracker/roblox/API-Dump.json - -We make use of some corrections provided by Roblox LSP: - -- https://raw.githubusercontent.com/NightrainsRbx/RobloxLsp/master/server/api/Corrections.json - -DataTypes are also provided by Roblox LSP: - -- https://raw.githubusercontent.com/NightrainsRbx/RobloxLsp/master/server/api/DataTypes.json +https://github.com/Roblox/creator-docs BrickColor information is retrieved from: @@ -24,8 +16,13 @@ BrickColor information is retrieved from: ## Contributing -There are often times when the information provided in the following dump information is either incorrect or too generic -to provide useful intellisense. Pull requests to fix these definitions are welcome. +If possible, please first contribute your changes to the creator-docs directly, so that everyone can benefit from your +improvements! + +https://github.com/Roblox/creator-docs + +If, for some reason, it is not possible to improve the types in the creator docs, there are ways to override types in +the script: Inside `dumpRobloxTypes.py`, there are two collections that are of interest when submitting corrections: @@ -51,3 +48,10 @@ In summary, to submit corrections, follow the following steps: 2. Edit `IGNORED_MEMBERS` and `EXTRA_MEMBERS` in `dumpRobloxTypes.py` with your fixes 3. Run `python dumpRobloxTypes.py > globalTypes.d.luau` 4. Commit and submit a Pull Request + +### Running the script + +Note there are 2 pre-requisites to run the script: + +1. Install packages from the `requirements.txt` +2. Check out the `creator-docs` repo into the `scripts` folder diff --git a/scripts/dumpRobloxTypes.py b/scripts/dumpRobloxTypes.py index 483d9730..64af224c 100644 --- a/scripts/dumpRobloxTypes.py +++ b/scripts/dumpRobloxTypes.py @@ -6,9 +6,12 @@ import requests import json import sys +import yaml +import os +from dataclasses import dataclass # API Endpoints -DATA_TYPES = open("DataTypes.json", "r") +DOCUMENTATION_DIRECTORY = "creator-docs/content/en-us/reference/engine" CORRECTIONS = open("Corrections.json", "r") API_DUMP_URL = "https://raw.githubusercontent.com/CloneTrooper1019/Roblox-Client-Tracker/roblox/API-Dump.json" BRICK_COLORS_URL = "https://gist.githubusercontent.com/Anaminus/49ac255a68e7a7bc3cdd72b602d5071f/raw/f1534dcae312dbfda716b7677f8ac338b565afc3/BrickColor.json" @@ -63,7 +66,6 @@ "Enum", # redefined explicitly "EnumItem", # redefined explicitly "GlobalSettings", # redefined explicitly - "SharedTable", # redefined explicitly as the RobloxLsp type is incomplete ] # Methods / Properties ignored in classes. Commonly used to add corrections @@ -260,9 +262,6 @@ "Attachment0", "Attachment1", ], - "Vector3": [ - "Angle", - ], "ControllerPartSensor": [ "SensedPart", ], @@ -270,56 +269,6 @@ # Extra members to add in to classes, commonly used to add in metamethods, and add corrections EXTRA_MEMBERS = { - "Vector3": [ - "function Angle(self, other: Vector3, axis: Vector3?): number", - "function __add(self, other: Vector3): Vector3", - "function __sub(self, other: Vector3): Vector3", - "function __mul(self, other: Vector3 | number): Vector3", - "function __div(self, other: Vector3 | number): Vector3", - "function __unm(self): Vector3", - "function __idiv(self, other: Vector3 | number): Vector3", - ], - "Vector2": [ - "function __add(self, other: Vector2): Vector2", - "function __sub(self, other: Vector2): Vector2", - "function __mul(self, other: Vector2 | number): Vector2", - "function __div(self, other: Vector2 | number): Vector2", - "function __idiv(self, other: Vector2 | number): Vector2", - "function __unm(self): Vector2", - ], - "Vector3int16": [ - "function __add(self, other: Vector3int16): Vector3int16", - "function __sub(self, other: Vector3int16): Vector3int16", - "function __mul(self, other: Vector3int16 | number): Vector3int16", - "function __div(self, other: Vector3int16 | number): Vector3int16", - "function __unm(self): Vector3int16", - ], - "Vector2int16": [ - "function __add(self, other: Vector2int16): Vector2int16", - "function __sub(self, other: Vector2int16): Vector2int16", - "function __mul(self, other: Vector2int16 | number): Vector2int16", - "function __div(self, other: Vector2int16 | number): Vector2int16", - "function __unm(self): Vector2int16", - ], - "UDim2": [ - "function __add(self, other: UDim2): UDim2", - "function __sub(self, other: UDim2): UDim2", - "function __unm(self): UDim2", - ], - "UDim": [ - "function __add(self, other: UDim): UDim", - "function __sub(self, other: UDim): UDim", - "function __unm(self): UDim", - ], - "CFrame": [ - "function __add(self, other: Vector3): CFrame", - "function __sub(self, other: Vector3): CFrame", - "function __mul(self, other: CFrame): CFrame", - "function __mul(self, other: Vector3): Vector3", - ], - "Random": [ - "function Shuffle(self, table: { any })", - ], "UserSettings": [ "GameSettings: UserGameSettings", 'function GetService(self, service: "UserGameSettings"): UserGameSettings', @@ -549,19 +498,6 @@ # Hardcoded types # These will go before anything else, and are useful to define for other tools START_BASE = """ -type Content = string -type ProtectedString = string -type BinaryString = string -type QDir = string -type QFont = string -type FloatCurveKey = any -type RotationCurveKey = any -type Secret = any -type Path2DControlPoint = any -type UniqueId = any -type SecurityCapabilities = any -type TeleportData = "boolean | buffer | number | string | {[number]: TeleportData} | {[string]: TeleportData}" - declare class Enum function GetEnumItems(self): { any } end @@ -604,19 +540,6 @@ nfdnormalize: (string) -> string, offset: (string, number, number?) -> number?, } - -declare shared: any - -declare function collectgarbage(mode: "count"): number -declare function warn(...: T...) -declare function tick(): number -declare function time(): number -declare function elapsedTime(): number -declare function wait(seconds: number?): (number, number) -declare function delay(delayTime: number?, callback: (T...) -> ()) -declare function spawn(callback: (T...) -> ()) -declare function version(): string -declare function printidentity(prefix: string?) """ POST_DATATYPES_BASE = """ @@ -685,192 +608,92 @@ size: (st: SharedTable) -> number, update: (st: SharedTable, key: string | number, f: (any) -> any) -> (), } - -declare game: DataModel -declare workspace: Workspace -declare plugin: Plugin -declare script: LuaSourceContainer -declare function settings(): GlobalSettings -declare function UserSettings(): UserSettings """ -CLASSES = {} # All loaded classes from the API Dump, including corrections SERVICES: List[str] = [] # All available services name CREATABLE: List[str] = [] # All creatable instances BRICK_COLORS: Set[str] = set() -# Type Hints - -CorrectionsValueType = TypedDict( - "CorrectionsValueType", - { - "Name": str, - "Category": None, - "Default": Optional[str], - "Generic": Optional[str], - "Tuple": Optional["CorrectionsValueType"], - "Union": Optional[List["CorrectionsValueType"]], - }, -) - -CorrectionsParameter = TypedDict( - "CorrectionsParameter", - { - "Name": str, - "Type": CorrectionsValueType, - }, -) - -CorrectionsMember = TypedDict( - "CorrectionsMember", - { - "Name": str, - "ValueType": Optional[CorrectionsValueType], - "Parameters": Optional[List[CorrectionsParameter]], - "ReturnType": Optional[CorrectionsValueType], - "TupleReturns": Optional[List[CorrectionsValueType]], - }, -) - -CorrectionsClass = TypedDict( - "CorrectionsClass", {"Name": str, "Members": List[CorrectionsMember]} -) - -CorrectionsDump = TypedDict("CorrectionsDump", {"Classes": List[CorrectionsClass]}) - -ApiValueType = TypedDict( - "ApiValueType", - { - "Name": str, - "Category": Union[ - Literal["Primitive"], - Literal["Class"], - Literal["DataType"], - Literal["Enum"], - Literal["Group"], # Name = "Tuple" - ], - }, -) - -ApiParameter = TypedDict( - "ApiParameter", - { - "Name": str, - "Type": ApiValueType, - "Default": Optional[str], - }, -) - -ApiPropertySecurityLevel = TypedDict("PropertySecurity", {"Read": str, "Write": str}) - -ApiProperty = TypedDict( - "ApiProperty", - { - "Name": str, - "MemberType": Literal["Property"], - "Deprecated": Optional[bool], - "Description": Optional[str], - "Tags": Optional[List[str]], # TODO: stricter type? - "Category": str, # TODO: stricter type? - "ValueType": ApiValueType, - "Security": ApiPropertySecurityLevel, - }, -) - -ApiFunction = TypedDict( - "ApiFunction", - { - "Name": str, - "MemberType": Literal["Function"], - "Deprecated": Optional[bool], - "Description": Optional[str], - "Parameters": List[ApiParameter], - "ReturnType": Union[ApiValueType, List[ApiValueType]], - "TupleReturns": Optional[List[CorrectionsValueType]], - "Tags": Optional[List[str]], # TODO: stricter type? - "Security": str, - }, -) - -ApiEvent = TypedDict( - "ApiEvent", - { - "Name": str, - "MemberType": Literal["Event"], - "Deprecated": Optional[bool], - "Description": Optional[str], - "Parameters": List[ApiParameter], - "Tags": Optional[List[str]], # TODO: stricter type? - "Security": str, - }, -) - -ApiCallback = TypedDict( - "ApiCallback", - { - "Name": str, - "MemberType": Literal["Callback"], - "Deprecated": Optional[bool], - "Description": Optional[str], - "Parameters": List[ApiParameter], - "ReturnType": Union[ApiValueType, List[ApiValueType]], - "TupleReturns": Optional[List[CorrectionsValueType]], - "Tags": Optional[List[str]], # TODO: stricter type? - "Security": str, - }, -) - -ApiMember = Union[ApiProperty, ApiFunction, ApiEvent, ApiCallback] - -ApiClass = TypedDict( - "ApiClass", - { - "Name": str, - "Description": Optional[str], - "MemoryCategory": str, # TODO: stricter type? - "Superclass": str, - "Members": List[ApiMember], - "Tags": Optional[List[str]], # TODO: stricter type? - }, -) - -ApiEnumItem = TypedDict( - "ApiEnumItem", - { - "Name": str, - "Value": int, - "Description": Optional[str], - }, -) - -ApiEnum = TypedDict( - "ApiEnum", - { - "Name": str, - "Description": Optional[str], - "Items": List[ApiEnumItem], - }, -) - -ApiDump = TypedDict( - "ApiDump", - { - "Version": int, - "Classes": List[ApiClass], - "Enums": List[ApiEnum], - }, -) - -DataType = TypedDict("DataType", {"Name": str, "Members": List[ApiMember]}) - -DataTypesConstructor = TypedDict( - "DataTypesConstructor", {"Name": str, "Members": List[ApiMember]} -) - -DataTypesDump = TypedDict( - "DataTypesDump", - {"DataTypes": List[DataType], "Constructors": List[DataTypesConstructor]}, -) +@dataclass +class Parameter: + name: str + type: str + default: Optional[str] + + +@dataclass +class Constructor: + name: str + tags: list[str] + parameters: list[Parameter] + + +@dataclass +class Property: + name: str + type: str + tags: list[str] + + +@dataclass +class Function: + name: str + parameters: list[Parameter] + returns: list[str] + tags: list[str] + + +@dataclass +class MathOperation: + operation: str + type_a: str + type_b: str + return_type: str + tags: list[str] + + +@dataclass +class DataType: + name: str + tags: list[str] + constructors: list[Constructor] + properties: list[Property] + constants: list[Property] + methods: list[Function] + functions: list[Function] + math_operations: list[MathOperation] + + +@dataclass +class Event: + name: str + parameters: list[Parameter] + tags: list[str] + + +@dataclass +class EngineClass: + name: str + inherits: Optional[str] + tags: list[str] + properties: list[Property] + methods: list[Function] + events: list[Event] + callbacks: list[Function] + +@dataclass +class EnumItem: + name: str + tags: list[str] + +@dataclass +class Enum: + name: str + tags: list[str] + items: list[EnumItem] + + +ENUMS: list[Enum] = [] chosenSecurityLevel = sys.argv[1] if len(sys.argv) > 1 else DEFAULT_SECURITY_LEVEL assert ( @@ -892,141 +715,129 @@ def escapeName(name: str): return name -def resolveType(type: Union[ApiValueType, CorrectionsValueType]) -> str: - if "Generic" in type and type["Generic"] is not None: - name = type["Generic"] - if name.startswith("Enum."): - name = "Enum" + name[5:] - return "{ " + name + " }" - - if "Union" in type and type["Union"] is not None: - unions = type["Union"] - parts = [resolveType(part) for part in unions] - return " | ".join(parts) - - if "Tuple" in type and type["Tuple"] is not None: - subtype = resolveType(type["Tuple"]) - return f"...({subtype})" - if "Variadic" in type and type["Variadic"] is not None: - subtype = resolveType(type["Variadic"]) - return f"...{subtype}" - - name, category = ( - type["Name"], - type["Category"] if "Category" in type else "Primitive", - ) +def resolveType(type: str) -> str: + type = type.strip() - if name[-1] == "?": - return resolveType({"Name": name[:-1], "Category": category}) + "?" + if "|" in type: + return " | ".join([resolveType(ty) for ty in type.split("|")]) - if category == "Enum": - return "Enum" + name - else: - return TYPE_INDEX[name] if name in TYPE_INDEX else name + if any(enum.name == type for enum in ENUMS): + return "Enum" + type + + if type.startswith("Array<") and type.endswith(">"): + return "{ " + resolveType(type.removeprefix("Array<").removesuffix(">")) + " }" + + if type.startswith("Tuple<") and type.endswith(">"): + return "..." + resolveType(type.removeprefix("Tuple<").removesuffix(">")) + return TYPE_INDEX.get(type, type) + # if "Generic" in type and type["Generic"] is not None: + # name = type["Generic"] + # if name.startswith("Enum."): + # name = "Enum" + name[5:] + # return "{ " + name + " }" -def resolveParameter(param: ApiParameter): - paramType = resolveType(param["Type"]) - isOptional = paramType[-1] == "?" - isVariadic = paramType.startswith("...") - if isVariadic: - actualType = paramType[3:] - if "Variadic" in param["Type"] and param["Type"]["Variadic"] is not None: - return f"...{actualType}" + # if "Tuple" in type and type["Tuple"] is not None: + # subtype = resolveType(type["Tuple"]) + # return f"...({subtype})" + # if "Variadic" in type and type["Variadic"] is not None: + # subtype = resolveType(type["Variadic"]) + # return f"...{subtype}" - return f"...: {actualType}" - return f"{escapeName(param['Name'])}: {paramType}{'?' if 'Default' in param and not isOptional else ''}" + # name, category = ( + # type["Name"], + # type["Category"] if "Category" in type else "Primitive", + # ) -def resolveParameterList(params: List[ApiParameter]): - return ", ".join(map(resolveParameter, params)) +def resolveParameter(param: Parameter): + if param.name == "...": + return f"...: {resolveType(param.type.removeprefix("Tuple<").removesuffix(">"))}" + return f"{escapeName(param.name)}: {resolveType(param.type)}{'?' if param.default else ''}" -def resolveReturnType(member: Union[ApiFunction, ApiCallback]) -> str: - if "TupleReturns" in member and member["TupleReturns"] is not None: - types = [resolveType(ret) for ret in member["TupleReturns"]] - return "(" + ", ".join(types) + ")" - elif isinstance(member["ReturnType"], list): - types = [resolveType(ret) for ret in member["ReturnType"]] - return "(" + ", ".join(types) + ")" + +def resolveReturnType(returns: list[str]) -> str: + if len(returns) > 1: + return_details = ", ".join([resolveType(ret) for ret in returns]) + return f"({return_details})" + elif len(returns) == 0: + return "()" else: - return resolveType(member["ReturnType"]) + return resolveType(returns[0]) -def filterMember(klassName: str, member: ApiMember): - if not INCLUDE_DEPRECATED_METHODS and ( - ( - "Tags" in member - and member["Tags"] is not None - and "Deprecated" in member["Tags"] - ) - or ("Deprecated" in member and member["Deprecated"]) - ): +def filterMember(klassName: str, member: Function): + if not INCLUDE_DEPRECATED_METHODS and "Deprecated" in member.tags: return False - if klassName in IGNORED_MEMBERS and member["Name"] in IGNORED_MEMBERS[klassName]: + if klassName in IGNORED_MEMBERS and member.name in IGNORED_MEMBERS[klassName]: return False - if "Security" in member: - if isinstance(member["Security"], str): - if SECURITY_LEVELS.index(member["Security"]) > SECURITY_LEVELS.index( - chosenSecurityLevel - ): - return False - else: - if min( - SECURITY_LEVELS.index(member["Security"]["Read"]), - SECURITY_LEVELS.index(member["Security"]["Write"]), - ) > SECURITY_LEVELS.index(chosenSecurityLevel): - return False + # TODO: + # if "Security" in member: + # if isinstance(member["Security"], str): + # if SECURITY_LEVELS.index(member["Security"]) > SECURITY_LEVELS.index( + # chosenSecurityLevel + # ): + # return False + # else: + # if min( + # SECURITY_LEVELS.index(member["Security"]["Read"]), + # SECURITY_LEVELS.index(member["Security"]["Write"]), + # ) > SECURITY_LEVELS.index(chosenSecurityLevel): + # return False return True -def shouldExcludeAsDeprecated(klass: ApiClass): +def shouldExcludeAsDeprecated(klass: EngineClass): return ( not INCLUDE_DEPRECATED_METHODS - and "Tags" in klass - and klass["Tags"] is not None - and "Deprecated" in klass["Tags"] - and not klass["Name"] in OVERRIDE_DEPRECATED_REMOVAL + and "Deprecated" in klass.tags + and not klass.name in OVERRIDE_DEPRECATED_REMOVAL ) +def declareProperty(property: Property): + return ( + f"\t{escapeName(property.name)}: {resolveType(property.type)}\n" + ) + +def declareMethod(function: Function): + parameter_details = ["self"] + [resolveParameter(param) for param in function.parameters] + return f"\tfunction {escapeName(function.name)}({", ".join(parameter_details)}): {resolveReturnType(function.returns)}\n" + +def declareEvent(event: Event): + parameters = ", ".join([resolveType(parameter.type) for parameter in event.parameters]) + return f"\t{escapeName(event.name)}: RBXScriptSignal<{parameters}>\n" -def declareClass(klass: ApiClass) -> str: - if klass["Name"] in IGNORED_INSTANCES: +def declareCallback(callback: Function): + parameter_details = [resolveParameter(param) for param in callback.parameters] + return f"\t{escapeName(callback.name)}: ({", ".join(parameter_details)}) -> {resolveReturnType(callback.returns)}\n" + +def declareClass(engineClass: EngineClass) -> str: + if engineClass.name in IGNORED_INSTANCES: return "" - if shouldExcludeAsDeprecated(klass): + if shouldExcludeAsDeprecated(engineClass): return "" - out = "declare class " + klass["Name"] - if "Superclass" in klass and klass["Superclass"] != "<<>>": - out += " extends " + klass["Superclass"] + out = "declare class " + engineClass.name + if engineClass.inherits: + out += " extends " + engineClass.inherits out += "\n" - def declareMember(member: ApiMember): - if member["MemberType"] == "Property": - return ( - f"\t{escapeName(member['Name'])}: {resolveType(member['ValueType'])}\n" - ) - elif member["MemberType"] == "Function": - return f"\tfunction {escapeName(member['Name'])}(self{', ' if len(member['Parameters']) > 0 else ''}{resolveParameterList(member['Parameters'])}): {resolveReturnType(member)}\n" - elif member["MemberType"] == "Event": - parameters = ", ".join( - map(lambda x: resolveType(x["Type"]), member["Parameters"]) - ) - return f"\t{escapeName(member['Name'])}: RBXScriptSignal<{parameters}>\n" - elif member["MemberType"] == "Callback": - return f"\t{escapeName(member['Name'])}: ({resolveParameterList(member['Parameters'])}) -> {resolveReturnType(member)}\n" - else: - assert False, "Unhandled member type: " + member["MemberType"] - memberDefinitions = [ - declareMember(m) for m in klass["Members"] if filterMember(klass["Name"], m) + declareProperty(p) for p in engineClass.properties if filterMember(engineClass.name, p) + ] + [ + declareMethod(m) for m in engineClass.methods if filterMember(engineClass.name, m) + ] + [ + declareEvent(e) for e in engineClass.events if filterMember(engineClass.name, e) + ] + [ + declareCallback(c) for c in engineClass.callbacks if filterMember(engineClass.name, c) ] - if klass["Name"] in EXTRA_MEMBERS: + if engineClass.name in EXTRA_MEMBERS: memberDefinitions += [ - f"\t{member}\n" for member in EXTRA_MEMBERS[klass["Name"]] + f"\t{member}\n" for member in EXTRA_MEMBERS[engineClass.name] ] out += "".join(sorted(memberDefinitions)) @@ -1035,22 +846,16 @@ def declareMember(member: ApiMember): return out -def printEnums(dump: ApiDump): - enums: dict[str, List[str]] = {} - for enum in dump["Enums"]: - enums[enum["Name"]] = [] - for item in enum["Items"]: - enums[enum["Name"]].append(item["Name"]) - +def printEnums(enums: list[Enum]): # Declare each enum individually out = "" - for enum, items in enums.items(): + for enum in enums: # Declare an atom for the enum - out += f"declare class Enum{enum} extends EnumItem end\n" - out += f"declare class Enum{enum}_INTERNAL extends Enum\n" - items.sort() + out += f"declare class Enum{enum.name} extends EnumItem end\n" + out += f"declare class Enum{enum.name}_INTERNAL extends Enum\n" + items = sorted(enum.items, key=lambda x: x.name) for item in items: - out += f"\t{escapeName(item)}: Enum{enum}\n" + out += f"\t{escapeName(item.name)}: Enum{enum.name}\n" out += "end\n" print(out) print() @@ -1058,165 +863,109 @@ def printEnums(dump: ApiDump): # Declare enums as a whole out = "type ENUM_LIST = {\n" for enum in enums: - out += f"\t{enum}: Enum{enum}_INTERNAL,\n" + out += f"\t{enum.name}: Enum{enum.name}_INTERNAL,\n" out += "} & { GetEnums: (self: ENUM_LIST) -> { Enum } }\n" out += "declare Enum: ENUM_LIST" print(out) print() -def printClasses(klasses: list[ApiClass]): +def printClasses(klasses: list[EngineClass]): # Forward declare "deprecated" classes in case they are still used for klass in klasses: if shouldExcludeAsDeprecated(klass): - print(f"export type {klass['Name']} = any") + print(f"export type {klass.name} = any") for klass in klasses: - if klass["Name"] in IGNORED_INSTANCES: + if klass.name in IGNORED_INSTANCES: continue print(declareClass(klass)) print() +def metamethod(operator: str): + if operator == "+": + return "__add" + elif operator == "-": + return "__sub" + elif operator == "*": + return "__mul" + elif operator == "/": + return "__div" + elif operator == "//": + return "__idiv" + assert False, operator + def printDataTypes(types: List[DataType]): - for klass in types: - print(declareClass(klass)) + for dataType in types: + math_operations = [ + Function(metamethod(operation.operation) , [Parameter("other", operation.type_b, None)], [operation.return_type], []) + for operation in dataType.math_operations + ] + + print(declareClass(EngineClass(dataType.name, None, dataType.tags, dataType.properties, dataType.methods + math_operations, [], []))) print() -def printDataTypeConstructors(types: DataTypesDump): - for klass in types["Constructors"]: - if klass["Name"] in IGNORED_INSTANCES: +def printDataTypeConstructors(types: List[DataType]): + for klass in types: + if klass.name in IGNORED_INSTANCES: continue - name = klass["Name"] - members = klass["Members"] isBrickColorNew = False # Handle overloadable functions - functions: defaultdict[str, List[ApiFunction]] = defaultdict(list) - for member in members: - if member["MemberType"] == "Function": - if ( - name == "BrickColor" - and member["Name"] == "new" - and len(member["Parameters"]) == 1 - and member["Parameters"][0]["Type"]["Name"] == "string" - ): - isBrickColorNew = True - continue - functions[member["Name"]].append(member) - - out = "declare " + name + ": {\n" - for member in members: - if member["MemberType"] == "Property": - out += f"\t{escapeName(member['Name'])}: {resolveType(member['ValueType'])},\n" - elif member["MemberType"] == "Function": - pass - elif member["MemberType"] == "Event": - out += f"\t{escapeName(member['Name'])}: RBXScriptSignal,\n" # TODO: type this + functions: defaultdict[str, List[Function]] = defaultdict(list) + for member in klass.constructors: + if klass.name == "BrickColor" and member.name == "new" and len(member.parameters) == 1 and member.parameters[0].type == "string": + isBrickColorNew = True + continue + + functions[member.name].append(Function(member.name, member.parameters, [klass.name], member.tags)) + + for member in klass.functions: + functions[member.name].append(member) + + if len(klass.constants) + len(functions) == 0: + continue + + out = "declare " + klass.name + ": {\n" + + memberDefinitions = [ + f"\t{escapeName(constant.name)}: {resolveType(constant.type)},\n" + for constant in klass.constants + ] # Special case string BrickColor new if isBrickColorNew: colors = " | ".join(map(lambda c: f'"{c}"', sorted(BRICK_COLORS))) - functions["new"].append( - { - "Parameters": [{"Name": "name", "Type": {"Name": colors}}], - "ReturnType": {"Name": "BrickColor", "Category": "DataType"}, - "Name": "new", - } - ) + functions["new"].append(Function("new", [Parameter("name", colors, None)], ["BrickColor"], [])) for function, overloads in functions.items(): - overloads = map( - lambda member: f"(({resolveParameterList(member['Parameters'])}) -> {resolveReturnType(member)})", - overloads, - ) - out += f"\t{escapeName(function)}: {' & '.join(overloads)},\n" + overloads = [f"(({", ".join([resolveParameter(parameter) for parameter in member.parameters])}) -> {resolveReturnType(member.returns)})" for member in overloads] + memberDefinitions.append(f"\t{escapeName(function)}: {' & '.join(overloads)},\n") + out += "".join(sorted(memberDefinitions)) out += "}" print(out) print() -def applyCorrections(dump: ApiDump, corrections: CorrectionsDump): - for klass in corrections["Classes"]: - for otherClass in dump["Classes"]: - if otherClass["Name"] == klass["Name"]: - for member in klass["Members"]: - for otherMember in otherClass["Members"]: - if otherMember["Name"] == member["Name"]: - if "TupleReturns" in member: - del otherMember["ReturnType"] - otherMember["TupleReturns"] = member["TupleReturns"] - elif "ReturnType" in member: - otherMember["ReturnType"]["Name"] = ( - member["ReturnType"]["Name"] - if "Name" in member["ReturnType"] - else otherMember["ReturnType"]["Name"] - ) - if "Generic" in member["ReturnType"]: - otherMember["ReturnType"]["Generic"] = member[ - "ReturnType" - ]["Generic"] - elif "ValueType" in member: - otherMember["ValueType"]["Name"] = ( - member["ValueType"]["Name"] - if "Name" in member["ValueType"] - else otherMember["ValueType"]["Name"] - ) - if "Generic" in member["ValueType"]: - otherMember["ValueType"]["Generic"] = member[ - "ValueType" - ]["Generic"] - - if ( - "Parameters" in member - and member["Parameters"] is not None - ): - for param in member["Parameters"]: - for otherParam in otherMember["Parameters"]: - if otherParam["Name"] == param["Name"]: - if "Type" in param: - otherParam["Type"]["Name"] = ( - param["Type"]["Name"] - if "Name" in param["Type"] - else otherParam["Type"]["Name"] - ) - if "Generic" in param["Type"]: - otherParam["Type"]["Generic"] = ( - param["Type"]["Generic"] - ) - if "Default" in param: - otherParam["Default"] = param["Default"] - - break - break - - -def loadClassesIntoStructures(dump: ApiDump): - for klass in dump["Classes"]: - if klass["Name"] in IGNORED_INSTANCES: +def loadClassesIntoStructures(engineClasses: list[EngineClass]): + for klass in engineClasses: + if klass.name in IGNORED_INSTANCES: continue - isCreatable = True - if "Tags" in klass and klass["Tags"] is not None: - if ( - "Deprecated" in klass - and not INCLUDE_DEPRECATED_METHODS - and not klass["Name"] in OVERRIDE_DEPRECATED_REMOVAL - ): - continue - if "Service" in klass["Tags"]: - SERVICES.append(klass["Name"]) - if "NotCreatable" in klass["Tags"]: - isCreatable = False - if isCreatable: - CREATABLE.append(klass["Name"]) + if "Deprecated" in klass.tags and not INCLUDE_DEPRECATED_METHODS and not klass.name in OVERRIDE_DEPRECATED_REMOVAL: + continue + + if "Service" in klass.tags: + SERVICES.append(klass.name) - CLASSES[klass["Name"]] = klass + if "NotCreatable" not in klass.tags: + CREATABLE.append(klass.name) def processBrickColors(colors): @@ -1234,22 +983,177 @@ def printJsonPrologue(): brickColors = json.loads(requests.get(BRICK_COLORS_URL).text) processBrickColors(brickColors) -# Print global types -dataTypes: DataTypesDump = json.load(DATA_TYPES) -dump: ApiDump = json.loads(requests.get(API_DUMP_URL).text) +CLASSES_DIRECTORY = os.path.join(DOCUMENTATION_DIRECTORY, "classes") +DATATYPES_DIRECTORY = os.path.join(DOCUMENTATION_DIRECTORY, "datatypes") +ENUMS_DIRECTORY = os.path.join(DOCUMENTATION_DIRECTORY, "enums") + + +def parse_parameter(info) -> Parameter: + return Parameter(info["name"], info["type"], info["default"]) + + +def parse_constructor(info) -> Constructor: + _class_name, constructor_name = info["name"].split(".") + parameters = ( + [parse_parameter(param) for param in info["parameters"]] + if info["parameters"] + else [] + ) + return Constructor(constructor_name, info["tags"], parameters) + + +def parse_property(info, is_global = False) -> Property: + if is_global: + property_name = info["name"] + else: + _class_name, property_name = info["name"].split(".") + return Property(property_name, info["type"], info["tags"]) + + +def parse_method(info) -> Function: + _class_name, method_name = info["name"].split(":") + parameters = ( + [parse_parameter(param) for param in info["parameters"]] + if info["parameters"] + else [] + ) + returns = [ret["type"] for ret in info["returns"]] + return Function(method_name, parameters, returns, info["tags"]) -# Load services and creatable instances -loadClassesIntoStructures(dump) -# Apply any corrections on the dump -corrections: CorrectionsDump = json.load(CORRECTIONS) -applyCorrections(dump, corrections) +def parse_function(info, is_global = False) -> Function: + if is_global: + function_name = info["name"] + else: + _class_name, function_name = info["name"].split(".") + parameters = [parse_parameter(param) for param in info["parameters"]] if info["parameters"] else [] + returns = [ret["type"] for ret in info["returns"]] + return Function(function_name, parameters, returns, info["tags"]) + +def parse_event(info) -> Function: + _class_name, event_name = info["name"].split(".") + parameters = [parse_parameter(param) for param in info["parameters"]] if info["parameters"] else [] + return Event(event_name, parameters, info["tags"]) + + +def parse_math_operation(info) -> MathOperation: + return MathOperation( + info["operation"], + info["type_a"], + info["type_b"], + info["return_type"], + info["tags"], + ) + +def parse_enum_item(info) -> EnumItem: + return EnumItem( + info["name"], + info["tags"] + ) + + +DATATYPES: list[DataType] = [] +CLASSES: list[EngineClass] = [] +GLOBAL_VALUES: list[Property] = [] +GLOBAL_FUNCTIONS: list[Function] = [] + +for file in os.listdir(DATATYPES_DIRECTORY): + with open(os.path.join(DATATYPES_DIRECTORY, file)) as file: + decoded = yaml.safe_load(file) + assert decoded["type"] == "datatype" + + name = decoded["name"] + tags = decoded["tags"] + constructors = decoded["constructors"] or [] + properties = decoded["properties"] or [] + methods = decoded["methods"] or [] + functions = decoded["functions"] or [] + math_operations = decoded["math_operations"] or [] + constants = decoded["constants"] or [] + + DATATYPES.append( + DataType( + name, + tags, + [parse_constructor(constructor) for constructor in constructors], + [parse_property(property) for property in properties], + [parse_property(constant) for constant in constants], + [parse_method(method) for method in methods], + [parse_function(function) for function in functions], + [ + parse_math_operation(math_operation) + for math_operation in math_operations + ], + ) + ) + +for file in os.listdir(CLASSES_DIRECTORY): + with open(os.path.join(CLASSES_DIRECTORY, file)) as file: + decoded = yaml.safe_load(file) + assert decoded["type"] == "class" + + name = decoded["name"] + inherits = decoded["inherits"] + tags = decoded["tags"] + properties = decoded["properties"] or [] + methods = decoded["methods"] or [] + events = decoded["events"] or [] + callbacks = decoded["callbacks"] or [] + + if inherits: + assert len(inherits) == 1 + inherits = inherits[0] + + CLASSES.append( + EngineClass( + name, + inherits, + tags, + [parse_property(property) for property in properties], + [parse_method(method) for method in methods], + [parse_event(event) for event in events], + [parse_function(function) for function in callbacks], + ) + ) + + +for file in os.listdir(ENUMS_DIRECTORY): + with open(os.path.join(ENUMS_DIRECTORY, file)) as file: + decoded = yaml.safe_load(file) + assert decoded["type"] == "enum" + + name = decoded["name"] + tags = decoded["tags"] + items = decoded["items"] or [] + + ENUMS.append( + Enum( + name, + tags, + [parse_enum_item(enum_item) for enum_item in items] + ) + ) + +with open(os.path.join(DOCUMENTATION_DIRECTORY, "globals", "RobloxGlobals.yaml")) as file: + decoded = yaml.safe_load(file) + + GLOBAL_VALUES = [parse_property(property, is_global=True) for property in decoded.get("properties", [])] + GLOBAL_FUNCTIONS = [parse_function(function, is_global=True) for function in decoded.get("functions", [])] + +# Load services and creatable instances +loadClassesIntoStructures(CLASSES) printJsonPrologue() print(START_BASE) -printEnums(dump) -printDataTypes(sorted(dataTypes["DataTypes"], key=lambda klass: klass["Name"])) +printEnums(sorted(ENUMS, key=lambda x: x.name)) +printDataTypes(sorted(DATATYPES, key=lambda x: x.name)) print(POST_DATATYPES_BASE) -printClasses(sorted(dump["Classes"], key=lambda x: x["Name"])) -printDataTypeConstructors(dataTypes) +printClasses(sorted(CLASSES, key=lambda x: x.name)) +printDataTypeConstructors(sorted(DATATYPES, key=lambda x: x.name)) + +for value in sorted(GLOBAL_VALUES, key=lambda x: x.name): + print(f"declare {escapeName(value.name)}: {resolveType(value.type)}") +for value in sorted(GLOBAL_FUNCTIONS, key=lambda x: x.name): + print(f"declare function {escapeName(value.name)}({", ".join([resolveParameter(param) for param in value.parameters])}): {resolveReturnType(value.returns)}") + print(END_BASE) diff --git a/scripts/globalTypes.d.luau b/scripts/globalTypes.d.luau index fe3d8e18..45161dec 100644 --- a/scripts/globalTypes.d.luau +++ b/scripts/globalTypes.d.luau @@ -1,18 +1,5 @@ ---#METADATA#{"CREATABLE_INSTANCES": ["AccessoryDescription", "Accoutrement", "Accessory", "Hat", "AdPortal", "AdvancedDragger", "Animation", "CurveAnimation", "KeyframeSequence", "AnimationController", "AnimationRigData", "Animator", "Annotation", "WorkspaceAnnotation", "Atmosphere", "Attachment", "Bone", "AudioAnalyzer", "AudioChorus", "AudioCompressor", "AudioDeviceInput", "AudioDeviceOutput", "AudioDistortion", "AudioEcho", "AudioEmitter", "AudioEqualizer", "AudioFader", "AudioFilter", "AudioFlanger", "AudioListener", "AudioPitchShifter", "AudioPlayer", "AudioReverb", "AudioSearchParams", "Backpack", "RemoteEvent", "UnreliableRemoteEvent", "WrapDeformer", "WrapLayer", "WrapTarget", "Beam", "BindableEvent", "BindableFunction", "BodyAngularVelocity", "BodyForce", "BodyGyro", "BodyPosition", "BodyThrust", "BodyVelocity", "RocketPropulsion", "BodyPartDescription", "Breakpoint", "BubbleChatMessageProperties", "Camera", "BodyColors", "CharacterMesh", "Pants", "Shirt", "ShirtGraphic", "Skin", "ClickDetector", "DragDetector", "Clouds", "Configuration", "AlignOrientation", "AlignPosition", "AngularVelocity", "AnimationConstraint", "BallSocketConstraint", "HingeConstraint", "LineForce", "LinearVelocity", "PlaneConstraint", "Plane", "RigidConstraint", "RodConstraint", "RopeConstraint", "CylindricalConstraint", "PrismaticConstraint", "SpringConstraint", "Torque", "TorsionSpringConstraint", "UniversalConstraint", "VectorForce", "HumanoidController", "SkateboardController", "VehicleController", "AirController", "ClimbController", "GroundController", "SwimController", "ControllerManager", "CustomEvent", "CustomEventReceiver", "CylinderMesh", "EditableMesh", "RobloxEditableMesh", "FileMesh", "SpecialMesh", "DataStoreGetOptions", "DataStoreIncrementOptions", "DataStoreOptions", "DataStoreSetOptions", "DebuggerWatch", "Dialog", "DialogChoice", "Dragger", "EditableImage", "RobloxEditableImage", "EulerRotationCurve", "ExperienceInviteOptions", "Explosion", "FaceControls", "Decal", "Texture", "Hole", "MotorFeature", "Fire", "FloatCurve", "FlyweightService", "CSGDictionaryService", "NonReplicatedCSGDictionaryService", "Folder", "ForceField", "FunctionalTest", "GetTextBoundsParams", "CanvasGroup", "Frame", "ImageButton", "TextButton", "ImageLabel", "TextLabel", "ScrollingFrame", "TextBox", "VideoFrame", "ViewportFrame", "BillboardGui", "ScreenGui", "GuiMain", "AdGui", "SurfaceGui", "FloorWire", "SelectionBox", "BoxHandleAdornment", "ConeHandleAdornment", "CylinderHandleAdornment", "ImageHandleAdornment", "LineHandleAdornment", "SphereHandleAdornment", "WireframeHandleAdornment", "ParabolaAdornment", "SelectionSphere", "ArcHandles", "Handles", "SurfaceSelection", "SelectionPartLasso", "SelectionPointLasso", "Path2D", "HapticEffect", "HeightmapImporterService", "HiddenSurfaceRemovalAsset", "Highlight", "Humanoid", "HumanoidDescription", "IKControl", "RotateP", "RotateV", "Glue", "ManualGlue", "ManualWeld", "Motor", "Motor6D", "Rotate", "Snap", "VelocityMotor", "Weld", "Keyframe", "KeyframeMarker", "PointLight", "SpotLight", "SurfaceLight", "LocalizationTable", "Script", "LocalScript", "ModuleScript", "MarkerCurve", "MaterialVariant", "MemoryStoreService", "Message", "Hint", "NoCollisionConstraint", "Noise", "OperationGraph", "CornerWedgePart", "Part", "FlagStand", "Seat", "SkateboardPlatform", "SpawnLocation", "WedgePart", "MeshPart", "PartOperation", "IntersectOperation", "NegateOperation", "UnionOperation", "TrussPart", "VehicleSeat", "Model", "Actor", "HopperBin", "Tool", "Flag", "WorldModel", "PartOperationAsset", "ParticleEmitter", "PathfindingLink", "PathfindingModifier", "Player", "PluginAction", "PluginCapabilities", "NumberPose", "Pose", "BloomEffect", "BlurEffect", "ColorCorrectionEffect", "ColorGradingEffect", "DepthOfFieldEffect", "SunRaysEffect", "ProximityPrompt", "ProximityPromptService", "RTAnimationTracker", "ReflectionMetadata", "ReflectionMetadataCallbacks", "ReflectionMetadataClasses", "ReflectionMetadataEnums", "ReflectionMetadataEvents", "ReflectionMetadataFunctions", "ReflectionMetadataClass", "ReflectionMetadataEnum", "ReflectionMetadataEnumItem", "ReflectionMetadataMember", "ReflectionMetadataProperties", "ReflectionMetadataYieldFunctions", "RemoteFunction", "RenderingTest", "RotationCurve", "AtmosphereSensor", "BuoyancySensor", "ControllerPartSensor", "FluidForceSensor", "Sky", "Smoke", "Sound", "ChorusSoundEffect", "CompressorSoundEffect", "DistortionSoundEffect", "EchoSoundEffect", "EqualizerSoundEffect", "FlangeSoundEffect", "PitchShiftSoundEffect", "ReverbSoundEffect", "TremoloSoundEffect", "SoundGroup", "Sparkles", "StandalonePluginScripts", "StarterGear", "StudioAttachment", "StudioCallout", "StyleRule", "StyleSheet", "StyleDerive", "StyleLink", "SurfaceAppearance", "Team", "TeleportOptions", "TerrainDetail", "TerrainRegion", "TestService", "TextChannel", "TextChatCommand", "TextChatMessageProperties", "TrackerStreamAnimation", "Trail", "Tween", "UIAspectRatioConstraint", "UISizeConstraint", "UITextSizeConstraint", "UICorner", "UIDragDetector", "UIFlexItem", "UIGradient", "UIGridLayout", "UIListLayout", "UIPageLayout", "UITableLayout", "UIPadding", "UIScale", "UIStroke", "BinaryStringValue", "BoolValue", "BrickColorValue", "CFrameValue", "Color3Value", "DoubleConstrainedValue", "IntConstrainedValue", "IntValue", "NumberValue", "ObjectValue", "RayValue", "StringValue", "Vector3Value", "Vector3Curve", "VideoDeviceInput", "VirtualInputManager", "VisualizationMode", "VisualizationModeCategory", "WeldConstraint", "Wire"], "SERVICES": ["AccountService", "AchievementService", "AdService", "AnalyticsService", "AnimationClipProvider", "AnimationFromVideoCreatorService", "AnimationFromVideoCreatorStudioService", "AnnotationsService", "AppLifecycleObserverService", "AppUpdateService", "AssetCounterService", "AssetDeliveryProxy", "AssetImportService", "AssetManagerService", "AssetService", "AudioFocusService", "AvatarChatService", "AvatarCreationService", "AvatarEditorService", "AvatarImportService", "BadgeService", "CoreGui", "StarterGui", "BrowserService", "BulkImportService", "CacheableContentProvider", "HSRDataContentProvider", "MeshContentProvider", "SolidModelContentProvider", "CalloutService", "CaptureService", "ChangeHistoryService", "Chat", "ChatbotUIService", "CloudCRUDService", "ClusterPacketCache", "CollaboratorsService", "CollectionService", "CommandService", "CommerceService", "ConfigureServerService", "ConnectivityService", "ContentProvider", "ContextActionService", "ControllerService", "ConversationalAIAcceptanceService", "CookiesService", "CorePackages", "CoreScriptDebuggingManagerHelper", "CoreScriptSyncService", "CreationDBService", "CrossDMScriptChangeListener", "DataModelPatchService", "DataStoreService", "Debris", "DebuggablePluginWatcher", "DebuggerConnectionManager", "DebuggerManager", "DebuggerUIService", "DeviceIdService", "DraftsService", "DraggerService", "EditableService", "EventIngestService", "ExampleService", "ExperienceAuthService", "ExperienceNotificationService", "ExperienceService", "ExperienceStateCaptureService", "FaceAnimatorService", "FacialAnimationRecordingService", "FacialAnimationStreamingServiceV2", "FlagStandService", "FlyweightService", "CSGDictionaryService", "NonReplicatedCSGDictionaryService", "FriendService", "GamePassService", "GamepadService", "GenericChallengeService", "Geometry", "GeometryService", "GoogleAnalyticsConfiguration", "GroupService", "GuiService", "GuidRegistryService", "HapticService", "HeatmapService", "HeightmapImporterService", "Hopper", "HttpRbxApiService", "HttpService", "ILegacyStudioBridge", "LegacyStudioBridge", "IXPService", "IncrementalPatchBuilder", "InsertService", "JointsService", "KeyboardService", "KeyframeSequenceProvider", "LSPFileSyncService", "LanguageService", "Lighting", "LinkingService", "LiveScriptingService", "LocalStorageService", "AppStorageService", "UserStorageService", "LocalizationService", "LodDataService", "LogReporterService", "LogService", "LoginService", "LuaWebService", "LuauScriptAnalyzerService", "MarketplaceService", "MaterialGenerationService", "MaterialService", "MemStorageService", "MemoryStoreService", "MessageBusService", "MessagingService", "MetaBreakpointManager", "MouseService", "NetworkClient", "NetworkServer", "NetworkSettings", "NotificationService", "OmniRecommendationsService", "OpenCloudService", "Workspace", "PackageService", "PackageUIService", "PatchBundlerFileWatch", "PathfindingService", "PermissionsService", "PhysicsService", "PlaceStatsService", "PlacesService", "PlatformCloudStorageService", "PlatformFriendsService", "PlayerEmulatorService", "PlayerHydrationService", "PlayerViewService", "Players", "PluginDebugService", "PluginGuiService", "PluginManagementService", "PluginPolicyService", "PointsService", "PolicyService", "ProcessInstancePhysicsService", "ProximityPromptService", "PublishService", "RbxAnalyticsService", "ReflectionService", "RemoteCursorService", "RemoteDebuggerServer", "RenderSettings", "ReplicatedFirst", "ReplicatedStorage", "RibbonNotificationService", "RobloxPluginGuiService", "RobloxReplicatedStorage", "RobloxServerStorage", "RomarkService", "RtMessagingService", "RunService", "RuntimeScriptService", "SafetyService", "ScriptChangeService", "ScriptCloneWatcher", "ScriptCloneWatcherHelper", "ScriptCommitService", "ScriptContext", "ScriptEditorService", "ScriptProfilerService", "ScriptRegistrationService", "ScriptService", "Selection", "SelectionHighlightManager", "ServerScriptService", "ServerStorage", "ServiceVisibilityService", "SessionService", "SharedTableRegistry", "ShorelineUpgraderService", "SmoothVoxelsUpgraderService", "SnippetService", "SocialService", "SoundService", "SpawnerService", "StartPageService", "StarterPack", "StarterPlayer", "StartupMessageService", "Stats", "StopWatchReporter", "StreamingService", "Studio", "StudioAssetService", "StudioData", "StudioDeviceEmulatorService", "StudioPublishService", "StudioScriptDebugEventListener", "StudioSdkService", "StudioService", "StudioWidgetsService", "StylingService", "TaskScheduler", "TeamCreateData", "TeamCreatePublishService", "TeamCreateService", "Teams", "TeleportService", "TemporaryCageMeshProvider", "TemporaryScriptService", "TestService", "TextBoxService", "TextChatService", "TextService", "TextureGenerationService", "ThirdPartyUserService", "TimerService", "ToastNotificationService", "TouchInputService", "TracerService", "TutorialService", "TweenService", "UGCAvatarService", "UGCValidationService", "UIDragDetectorService", "UnvalidatedAssetService", "UserInputService", "UserService", "VRService", "VRStatusService", "VersionControlService", "VideoCaptureService", "VideoService", "VirtualInputManager", "VirtualUser", "VisibilityCheckDispatcher", "Visit", "VisualizationModeService", "VoiceChatInternal", "VoiceChatService"]} - - -type Content = string -type ProtectedString = string -type BinaryString = string -type QDir = string -type QFont = string -type FloatCurveKey = any -type RotationCurveKey = any -type Secret = any -type Path2DControlPoint = any -type UniqueId = any -type SecurityCapabilities = any -type TeleportData = "boolean | buffer | number | string | {[number]: TeleportData} | {[string]: TeleportData}" +--#METADATA#{"CREATABLE_INSTANCES": ["PartOperationAsset", "TestService", "ReflectionMetadataFunctions", "Script", "SphereHandleAdornment", "UIDragDetector", "Camera", "AudioDistortion", "UnreliableRemoteEvent", "UIPadding", "AudioFader", "ScreenGui", "CylinderHandleAdornment", "BodyColors", "WeldConstraint", "PluginAction", "BindableEvent", "TorsionSpringConstraint", "DistortionSoundEffect", "ParticleEmitter", "ScrollingFrame", "SkateboardController", "DragDetector", "PitchShiftSoundEffect", "Animator", "Fire", "ForceField", "ReflectionMetadataEnums", "TrussPart", "ImageButton", "Folder", "Model", "CFrameValue", "PluginCapabilities", "DepthOfFieldEffect", "VirtualInputManager", "SpecialMesh", "Humanoid", "UIScale", "EqualizerSoundEffect", "Annotation", "ClimbController", "SelectionBox", "TextChatCommand", "Dragger", "WrapLayer", "WorldModel", "AnimationRigData", "RopeConstraint", "ImageLabel", "AudioDeviceOutput", "PathfindingModifier", "NegateOperation", "WrapDeformer", "SurfaceSelection", "ReflectionMetadataCallbacks", "RemoteFunction", "ReflectionMetadataMember", "Vector3Value", "Accessory", "HumanoidDescription", "LocalScript", "UIGridLayout", "Decal", "Vector3Curve", "IntValue", "FlangeSoundEffect", "UICorner", "AirController", "TextLabel", "ControllerManager", "ReflectionMetadataYieldFunctions", "BodyVelocity", "Pose", "ReflectionMetadataEvents", "AudioCompressor", "AdvancedDragger", "StyleLink", "NumberValue", "RemoteEvent", "Tool", "StarterGear", "ColorCorrectionEffect", "Seat", "Trail", "DataStoreSetOptions", "TextButton", "EditableImage", "Animation", "FileMesh", "AudioListener", "ImageHandleAdornment", "RodConstraint", "ReflectionMetadataEnum", "HiddenSurfaceRemovalAsset", "PrismaticConstraint", "ShirtGraphic", "SoundGroup", "StyleDerive", "VectorForce", "VehicleController", "SurfaceGui", "SurfaceLight", "StringValue", "ProximityPrompt", "ClickDetector", "RotationCurve", "BodyGyro", "SwimController", "UIGradient", "AlignOrientation", "Color3Value", "ChorusSoundEffect", "Attachment", "VisualizationMode", "TerrainDetail", "Player", "StyleSheet", "BindableFunction", "ProximityPromptService", "HingeConstraint", "Actor", "LinearVelocity", "HumanoidController", "TextChannel", "Atmosphere", "AudioEcho", "ReflectionMetadataClass", "NumberPose", "AngularVelocity", "UIStroke", "KeyframeMarker", "TerrainRegion", "WireframeHandleAdornment", "MaterialVariant", "WrapTarget", "EchoSoundEffect", "Weld", "EulerRotationCurve", "BodyThrust", "ReverbSoundEffect", "SpringConstraint", "BuoyancySensor", "Configuration", "WorkspaceAnnotation", "TeleportOptions", "ArcHandles", "ReflectionMetadataProperties", "AudioFlanger", "UIAspectRatioConstraint", "ReflectionMetadata", "BoxHandleAdornment", "Frame", "LineForce", "AudioPitchShifter", "MeshPart", "AudioReverb", "Backpack", "UIFlexItem", "Beam", "StyleRule", "LocalizationTable", "BubbleChatMessageProperties", "AlignPosition", "BodyAngularVelocity", "AudioAnalyzer", "SelectionSphere", "DataStoreOptions", "CylindricalConstraint", "IntersectOperation", "EditableMesh", "AdGui", "DataStoreGetOptions", "Keyframe", "AdPortal", "UniversalConstraint", "TextChatMessageProperties", "AudioDeviceInput", "Dialog", "VelocityMotor", "ReflectionMetadataEnumItem", "KeyframeSequence", "AudioFilter", "Part", "BrickColorValue", "ObjectValue", "IKControl", "BodyForce", "GroundController", "StandalonePluginScripts", "Clouds", "CurveAnimation", "CompressorSoundEffect", "RigidConstraint", "SpawnLocation", "PointLight", "UISizeConstraint", "PartOperation", "AudioEqualizer", "UIListLayout", "Path2D", "VisualizationModeCategory", "ConeHandleAdornment", "Texture", "AnimationController", "MemoryStoreService", "CornerWedgePart", "BinaryStringValue", "TextBox", "Shirt", "SunRaysEffect", "Motor6D", "ViewportFrame", "VehicleSeat", "NoCollisionConstraint", "Team", "PathfindingLink", "AudioSearchParams", "BallSocketConstraint", "Handles", "BodyPosition", "Wire", "ExperienceInviteOptions", "ReflectionMetadataClasses", "BillboardGui", "PlaneConstraint", "SurfaceAppearance", "BloomEffect", "Accoutrement", "BlurEffect", "UITableLayout", "ControllerPartSensor", "CanvasGroup", "UITextSizeConstraint", "LineHandleAdornment", "Sound", "Sparkles", "AudioPlayer", "DataStoreIncrementOptions", "TremoloSoundEffect", "DialogChoice", "FaceControls", "Smoke", "AudioEmitter", "HeightmapImporterService", "AudioChorus", "Pants", "Motor", "HapticEffect", "CharacterMesh", "Torque", "ModuleScript", "Explosion", "AtmosphereSensor", "WedgePart", "UnionOperation", "RayValue", "MarkerCurve", "SpotLight", "Highlight", "Tween", "FloatCurve", "BodyPartDescription", "Bone", "Sky", "BoolValue", "VideoFrame", "UIPageLayout", "ColorGradingEffect", "RenderingTest", "GetTextBoundsParams", "AccessoryDescription"], "SERVICES": ["MaterialService", "TestService", "RemoteDebuggerServer", "StopWatchReporter", "StartPageService", "PublishService", "CacheableContentProvider", "NetworkClient", "ChangeHistoryService", "LogService", "PackageService", "ExperienceNotificationService", "ClusterPacketCache", "HSRDataContentProvider", "Visit", "ServerStorage", "VirtualInputManager", "Geometry", "BadgeService", "PluginGuiService", "IncrementalPatchBuilder", "LuaWebService", "CommerceService", "LoginService", "Chat", "Workspace", "BrowserService", "HapticService", "StarterGui", "GamepadService", "VirtualUser", "ScriptProfilerService", "VRStatusService", "InsertService", "NetworkSettings", "StarterPack", "CoreScriptDebuggingManagerHelper", "NotificationService", "PatchBundlerFileWatch", "AnimationFromVideoCreatorService", "KeyboardService", "Teams", "PlacesService", "ServiceVisibilityService", "GoogleAnalyticsConfiguration", "MouseService", "SelectionHighlightManager", "TextService", "EditableService", "Lighting", "Studio", "PhysicsService", "CollectionService", "GuidRegistryService", "UGCValidationService", "TeamCreateData", "ShorelineUpgraderService", "CookiesService", "HttpService", "DraggerService", "VisibilityCheckDispatcher", "AnimationClipProvider", "ReplicatedStorage", "VRService", "PluginDebugService", "HttpRbxApiService", "ProximityPromptService", "RenderSettings", "ScriptContext", "PermissionsService", "SharedTableRegistry", "RunService", "FriendService", "SolidModelContentProvider", "GeometryService", "SoundService", "TimerService", "ScriptService", "DraftsService", "KeyframeSequenceProvider", "GuiService", "MeshContentProvider", "MemStorageService", "VoiceChatService", "StarterPlayer", "AssetService", "GamePassService", "Selection", "SmoothVoxelsUpgraderService", "AssetDeliveryProxy", "GenericChallengeService", "ProcessInstancePhysicsService", "ScriptEditorService", "PlayerViewService", "StudioService", "LocalizationService", "StartupMessageService", "UserInputService", "CaptureService", "VideoCaptureService", "GroupService", "PolicyService", "TextBoxService", "PluginManagementService", "OpenCloudService", "AnalyticsService", "ServerScriptService", "MemoryStoreService", "NetworkServer", "MarketplaceService", "DataStoreService", "TouchInputService", "VideoService", "Debris", "LanguageService", "ContentProvider", "ILegacyStudioBridge", "TaskScheduler", "ControllerService", "ReplicatedFirst", "CoreGui", "MessagingService", "AvatarEditorService", "FlagStandService", "TweenService", "ContextActionService", "StylingService", "VisualizationModeService", "SpawnerService", "CommandService", "TeleportService", "AvatarCreationService", "HeightmapImporterService", "TeamCreateService", "TextChatService", "PathfindingService", "Stats", "AdService", "Players", "ConfigureServerService", "UserService", "SocialService"]} + declare class Enum function GetEnumItems(self): { any } @@ -57,19 +44,6 @@ declare utf8: { offset: (string, number, number?) -> number?, } -declare shared: any - -declare function collectgarbage(mode: "count"): number -declare function warn(...: T...) -declare function tick(): number -declare function time(): number -declare function elapsedTime(): number -declare function wait(seconds: number?): (number, number) -declare function delay(delayTime: number?, callback: (T...) -> ()) -declare function spawn(callback: (T...) -> ()) -declare function version(): string -declare function printidentity(prefix: string?) - declare class EnumAccessModifierType extends EnumItem end declare class EnumAccessModifierType_INTERNAL extends Enum Allow: EnumAccessModifierType @@ -98,12 +72,6 @@ declare class EnumAccessoryType_INTERNAL extends Enum Unknown: EnumAccessoryType Waist: EnumAccessoryType end -declare class EnumActionOnStopSync extends EnumItem end -declare class EnumActionOnStopSync_INTERNAL extends Enum - AlwaysAsk: EnumActionOnStopSync - DeleteLocalFiles: EnumActionOnStopSync - KeepLocalFiles: EnumActionOnStopSync -end declare class EnumActionType extends EnumItem end declare class EnumActionType_INTERNAL extends Enum Draw: EnumActionType @@ -504,16 +472,6 @@ declare class EnumAvatarContextMenuOption_INTERNAL extends Enum Friend: EnumAvatarContextMenuOption InspectMenu: EnumAvatarContextMenuOption end -declare class EnumAvatarGenerationError extends EnumItem end -declare class EnumAvatarGenerationError_INTERNAL extends Enum - Canceled: EnumAvatarGenerationError - DownloadFailed: EnumAvatarGenerationError - JobNotFound: EnumAvatarGenerationError - None: EnumAvatarGenerationError - Offensive: EnumAvatarGenerationError - Timeout: EnumAvatarGenerationError - Unknown: EnumAvatarGenerationError -end declare class EnumAvatarItemType extends EnumItem end declare class EnumAvatarItemType_INTERNAL extends Enum Asset: EnumAvatarItemType @@ -948,7 +906,6 @@ declare class EnumConnectionError_INTERNAL extends Enum PlayerRemoved: EnumConnectionError ReplacementReady: EnumConnectionError ReplicatorTimeout: EnumConnectionError - ServerEmpty: EnumConnectionError ServerShutdown: EnumConnectionError TeleportErrors: EnumConnectionError TeleportFailure: EnumConnectionError @@ -2956,12 +2913,9 @@ declare class EnumSecurityCapability_INTERNAL extends Enum Chat: EnumSecurityCapability CreateInstances: EnumSecurityCapability DataStore: EnumSecurityCapability - Environment: EnumSecurityCapability - Input: EnumSecurityCapability LoadString: EnumSecurityCapability Network: EnumSecurityCapability Physics: EnumSecurityCapability - RemoteEvent: EnumSecurityCapability RunClientScript: EnumSecurityCapability RunServerScript: EnumSecurityCapability ScriptGlobals: EnumSecurityCapability @@ -3974,7 +3928,6 @@ end type ENUM_LIST = { AccessModifierType: EnumAccessModifierType_INTERNAL, AccessoryType: EnumAccessoryType_INTERNAL, - ActionOnStopSync: EnumActionOnStopSync_INTERNAL, ActionType: EnumActionType_INTERNAL, ActuatorRelativeTo: EnumActuatorRelativeTo_INTERNAL, ActuatorType: EnumActuatorType_INTERNAL, @@ -4016,7 +3969,6 @@ type ENUM_LIST = { AvatarAssetType: EnumAvatarAssetType_INTERNAL, AvatarChatServiceFeature: EnumAvatarChatServiceFeature_INTERNAL, AvatarContextMenuOption: EnumAvatarContextMenuOption_INTERNAL, - AvatarGenerationError: EnumAvatarGenerationError_INTERNAL, AvatarItemType: EnumAvatarItemType_INTERNAL, AvatarJointUpgrade: EnumAvatarJointUpgrade_INTERNAL, AvatarPromptResult: EnumAvatarPromptResult_INTERNAL, @@ -4437,34 +4389,42 @@ declare class CFrame YVector: Vector3 Z: number ZVector: Vector3 - function GetComponents(self): (number, number, number, number, number, number, number, number, number, number, number, number) + function FuzzyEq(self, other: CFrame, epsilon: number?): boolean + function GetComponents(self): any function Inverse(self): CFrame function Lerp(self, goal: CFrame, alpha: number): CFrame function Orthonormalize(self): CFrame - function PointToObjectSpace(self, v3: Vector3): Vector3 - function PointToWorldSpace(self, v3: Vector3): Vector3 + function PointToObjectSpace(self, ...: Vector3): ...Vector3 + function PointToWorldSpace(self, ...: Vector3): ...Vector3 function ToAxisAngle(self): (Vector3, number) function ToEulerAngles(self, order: EnumRotationOrder?): (number, number, number) function ToEulerAnglesXYZ(self): (number, number, number) function ToEulerAnglesYXZ(self): (number, number, number) - function ToObjectSpace(self, cf: CFrame): CFrame + function ToObjectSpace(self, ...: CFrame): ...CFrame function ToOrientation(self): (number, number, number) - function ToWorldSpace(self, cf: CFrame): CFrame - function VectorToObjectSpace(self, v3: Vector3): Vector3 - function VectorToWorldSpace(self, v3: Vector3): Vector3 + function ToWorldSpace(self, ...: CFrame): ...CFrame + function VectorToObjectSpace(self, ...: Vector3): ...Vector3 + function VectorToWorldSpace(self, ...: Vector3): ...Vector3 function __add(self, other: Vector3): CFrame function __mul(self, other: CFrame): CFrame function __mul(self, other: Vector3): Vector3 function __sub(self, other: Vector3): CFrame + function components(self): any + identity: CFrame end declare class CatalogSearchParams - AssetTypes: { EnumAssetType } + AssetTypes: { EnumAvatarAssetType } BundleTypes: { EnumBundleType } CategoryFilter: EnumCatalogCategoryFilter + CreatorName: string + IncludeOffSale: boolean + Limit: number MaxPrice: number MinPrice: number + SalesTypeFilter: Enum.SalesTypeFilter SearchKeyword: string + SortAggregation: Enum.CatalogSortAggregation SortType: EnumCatalogSortType end @@ -4478,7 +4438,7 @@ declare class Color3 end declare class ColorSequence - Keypoints: { ColorSequenceKeypoint } + Keypoints: { any } end declare class ColorSequenceKeypoint @@ -4486,14 +4446,17 @@ declare class ColorSequenceKeypoint Value: Color3 end +declare class Content +end + declare class DateTime UnixTimestamp: number UnixTimestampMillis: number function FormatLocalTime(self, format: string, locale: string): string function FormatUniversalTime(self, format: string, locale: string): string function ToIsoDate(self): string - function ToLocalTime(self): { any } - function ToUniversalTime(self): { any } + function ToLocalTime(self): { [any]: any } + function ToUniversalTime(self): { [any]: any } end declare class DockWidgetPluginGuiInfo @@ -4510,7 +4473,7 @@ end declare class Enums - function GetEnums(self): { Enum } + function GetEnums(self): { any } end declare class Faces @@ -4532,18 +4495,37 @@ end declare class Font Bold: boolean - Family: string + Family: Content Style: EnumFontStyle Weight: EnumFontWeight end +declare class Instance + AncestryChanged: RBXScriptSignal + Parent: Instance? + function FindFirstAncestor(self, name: string): Instance? + function FindFirstAncestorOfClass(self, className: string): Instance? + function FindFirstAncestorWhichIsA(self, className: string): Instance? + function FindFirstChild(self, name: string, recursive: boolean?): Instance? + function FindFirstChildOfClass(self, className: string): Instance? + function FindFirstChildWhichIsA(self, className: string, recursive: boolean?): Instance? + function FindFirstDescendant(self, name: string): Instance? + function GetActor(self): Actor? + function GetAttribute(self, attribute: string): unknown? + function GetAttributeChangedSignal(self, attribute: string): RBXScriptSignal<> + function GetAttributes(self): { [string]: unknown } + function GetPropertyChangedSignal(self, property: string): RBXScriptSignal<> + function WaitForChild(self, name: string): Instance + function WaitForChild(self, name: string, timeout: number): Instance? +end + declare class NumberRange Max: number Min: number end declare class NumberSequence - Keypoints: { NumberSequenceKeypoint } + Keypoints: { any } end declare class NumberSequenceKeypoint @@ -4555,11 +4537,11 @@ end declare class OverlapParams BruteForceAllSlow: boolean CollisionGroup: string - FilterDescendantsInstances: { Instance } + FilterDescendantsInstances: { any } FilterType: EnumRaycastFilterType MaxParts: number RespectCanCollide: boolean - function AddToFilter(self, instances: Instance | { Instance }): nil + function AddToFilter(self, instances: Instance | { any }): nil end declare class Path2DControlPoint @@ -4595,7 +4577,7 @@ declare class Random function NextNumber(self): number function NextNumber(self, min: number, max: number): number function NextUnitVector(self): Vector3 - function Shuffle(self, table: { any }) + function Shuffle(self, tb: { any }): nil end declare class Ray @@ -4609,11 +4591,11 @@ end declare class RaycastParams BruteForceAllSlow: boolean CollisionGroup: string - FilterDescendantsInstances: { Instance } + FilterDescendantsInstances: { any } FilterType: EnumRaycastFilterType IgnoreWater: boolean RespectCanCollide: boolean - function AddToFilter(self, instances: Instance | { Instance }): nil + function AddToFilter(self, instances: Instance | { any }): nil end declare class RaycastResult @@ -4634,7 +4616,7 @@ end declare class Region3 CFrame: CFrame Size: Vector3 - function ExpandToGrid(self, Region: number): Region3 + function ExpandToGrid(self, resolution: number): Region3 end declare class Region3int16 @@ -4655,7 +4637,8 @@ declare class Secret function AddSuffix(self, suffix: string): Secret end - +declare class SharedTable +end declare class TweenInfo DelayTime: number @@ -4671,7 +4654,6 @@ declare class UDim Scale: number function __add(self, other: UDim): UDim function __sub(self, other: UDim): UDim - function __unm(self): UDim end declare class UDim2 @@ -4682,7 +4664,6 @@ declare class UDim2 function Lerp(self, goal: UDim2, alpha: number): UDim2 function __add(self, other: UDim2): UDim2 function __sub(self, other: UDim2): UDim2 - function __unm(self): UDim2 end declare class Vector2 @@ -4691,31 +4672,37 @@ declare class Vector2 X: number Y: number function Abs(self): Vector2 - function Angle(self, other: Vector2, isSigned: boolean): Vector2 + function Angle(self, other: Vector2, isSigned: boolean): number function Ceil(self): Vector2 function Cross(self, other: Vector2): number function Dot(self, v: Vector2): number function Floor(self): Vector2 + function FuzzyEq(self, other: Vector2, epsilon: number?): boolean function Lerp(self, v: Vector2, alpha: number): Vector2 - function Max(self, ...: (Vector2)): Vector2 - function Min(self, ...: (Vector2)): Vector2 + function Max(self, ["others..."]: any): Vector2 + function Min(self, ["others..."]: any): Vector2 function Sign(self): Vector2 function __add(self, other: Vector2): Vector2 - function __div(self, other: Vector2 | number): Vector2 - function __idiv(self, other: Vector2 | number): Vector2 - function __mul(self, other: Vector2 | number): Vector2 + function __div(self, other: Vector2): Vector2 + function __div(self, other: number): Vector2 + function __mul(self, other: Vector2): Vector2 + function __mul(self, other: number): Vector2 function __sub(self, other: Vector2): Vector2 - function __unm(self): Vector2 + one: Vector2 + xAxis: Vector2 + yAxis: Vector2 + zero: Vector2 end declare class Vector2int16 X: number Y: number function __add(self, other: Vector2int16): Vector2int16 - function __div(self, other: Vector2int16 | number): Vector2int16 - function __mul(self, other: Vector2int16 | number): Vector2int16 + function __div(self, other: Vector2int16): Vector2int16 + function __div(self, other: number): Vector2int16 + function __mul(self, other: Vector2int16): Vector2int16 + function __mul(self, other: number): Vector2int16 function __sub(self, other: Vector2int16): Vector2int16 - function __unm(self): Vector2int16 end declare class Vector3 @@ -4730,17 +4717,24 @@ declare class Vector3 function Cross(self, other: Vector3): Vector3 function Dot(self, other: Vector3): number function Floor(self): Vector3 - function FuzzyEq(self, other: Vector3, epsilon: number): boolean + function FuzzyEq(self, other: Vector3, epsilon: number?): boolean function Lerp(self, goal: Vector3, alpha: number): Vector3 - function Max(self, ...: (Vector3)): Vector3 - function Min(self, ...: (Vector3)): Vector3 + function Max(self, vector: Vector3): Vector3 + function Min(self, vector: Vector3): Vector3 function Sign(self): Vector3 function __add(self, other: Vector3): Vector3 - function __div(self, other: Vector3 | number): Vector3 - function __idiv(self, other: Vector3 | number): Vector3 - function __mul(self, other: Vector3 | number): Vector3 + function __div(self, other: Vector3): Vector3 + function __div(self, other: number): Vector3 + function __idiv(self, other: Vector3): Vector3 + function __idiv(self, other: number): Vector3 + function __mul(self, other: Vector3): Vector3 + function __mul(self, other: number): Vector3 function __sub(self, other: Vector3): Vector3 - function __unm(self): Vector3 + one: Vector3 + xAxis: Vector3 + yAxis: Vector3 + zAxis: Vector3 + zero: Vector3 end declare class Vector3int16 @@ -4748,10 +4742,11 @@ declare class Vector3int16 Y: number Z: number function __add(self, other: Vector3int16): Vector3int16 - function __div(self, other: Vector3int16 | number): Vector3int16 - function __mul(self, other: Vector3int16 | number): Vector3int16 + function __div(self, other: Vector3int16): Vector3int16 + function __div(self, other: number): Vector3int16 + function __mul(self, other: Vector3int16): Vector3int16 + function __mul(self, other: number): Vector3int16 function __sub(self, other: Vector3int16): Vector3int16 - function __unm(self): Vector3int16 end @@ -4845,15 +4840,6 @@ declare class AccessoryDescription extends Instance function GetAppliedInstance(self): Instance end -declare class AccountService extends Instance - function DeviceAccessTokenAvailable(self): boolean - function DeviceIntegrityAvailable(self): boolean - function GetCredentialsHeaders(self): string - function GetDeviceAccessToken(self): string - function GetDeviceIntegrityToken(self, data: string): string - function GetDeviceIntegrityTokenYield(self, data: string): string -end - declare class Accoutrement extends Instance AttachmentForward: Vector3 AttachmentPoint: CFrame @@ -4862,12 +4848,6 @@ declare class Accoutrement extends Instance AttachmentUp: Vector3 end -declare class AchievementService extends Instance - function GrantAchievement(self, achievementName: string): boolean - function HasAchieved(self, achievementName: string): boolean - function IsAvailable(self): boolean -end - declare class Actor extends Model function BindToMessage(self, topic: string, func: ((...any) -> ...any)): RBXScriptConnection function BindToMessageParallel(self, topic: string, func: ((...any) -> ...any)): RBXScriptConnection @@ -4880,32 +4860,15 @@ declare class AdGui extends SurfaceGuiBase FallbackImage: Content OnAdEvent: (eventInfo: { [any]: any }) -> boolean Status: EnumAdUnitStatus - adGuiStateChanged: RBXScriptSignal function GetSingleReportAdInfo(self): { [any]: any } - function HandleLuaUIEvent(self, eventType: EnumAdUIEventType): nil - function forwardStateToLuaUI(self): nil end declare class AdPortal extends Instance PortalInvalidReason: string - PortalVersion: number Status: EnumAdUnitStatus - function TeleportConfirmed(self, placeId: number, player: Player): nil - function TeleportRejected(self, shouldCooldown: boolean, rejectedByDistance: boolean): nil end declare class AdService extends Instance - AdTeleportEnded: RBXScriptSignal<> - AdTeleportInitiated: RBXScriptSignal<> - PortalPrompt: RBXScriptSignal - ShowDynamicEudsaDisclosure: RBXScriptSignal - ShowStaticEudsaDisclosure: RBXScriptSignal<> - adGuiRegisterUI: RBXScriptSignal - function GetAdTeleportInfo(self): any - function GetReportAdInfo(self): { any } - function HideEudsaDisclosure(self): nil - function ReturnToPublisherExperience(self, adTeleportMethod: EnumAdTeleportMethod): nil - function SetAdGuiInteractivityHandlerInitialized(self): nil end declare class AdvancedDragger extends Instance @@ -4951,18 +4914,15 @@ declare class AlignPosition extends Constraint RigidityEnabled: boolean end -declare class AnalysticsSettings extends GenericSettings -end - declare class AnalyticsService extends Instance function LogCustomEvent(self, player: Player, eventName: string, value: number?, customFields: { [any]: any }?): nil - function LogEconomyEvent(self, player: Player, flowType: EnumAnalyticsEconomyFlowType, currencyType: string, amount: number, endingBalance: number, transactionType: string, itemSku: string?, customFields: { [any]: any }?): nil - function LogFunnelStepEvent(self, player: Player, funnelName: string, funnelSessionId: string?, step: number?, stepName: string?, customFields: { [any]: any }?): nil - function LogOnboardingFunnelStepEvent(self, player: Player, step: number, stepName: string?, customFields: { [any]: any }?): nil - function LogProgressionCompleteEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil - function LogProgressionEvent(self, player: Player, progressionPathName: string, status: EnumAnalyticsProgressionType, level: number, levelName: string?, customFields: { [any]: any }?): nil - function LogProgressionFailEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil - function LogProgressionStartEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil + function LogEconomyEvent(self, player: Player, flowType: EnumAnalyticsEconomyFlowType, currencyType: string, amount: number, endingBalance: number, transactionType: string, itemSku: string, customFields: { [any]: any }?): nil + function LogFunnelStepEvent(self, player: Player, funnelName: string, funnelSessionId: string, step: number?, stepName: string, customFields: { [any]: any }?): nil + function LogOnboardingFunnelStepEvent(self, player: Player, step: number, stepName: string, customFields: { [any]: any }?): nil + function LogProgressionCompleteEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil + function LogProgressionEvent(self, player: Player, progressionPathName: string, status: EnumAnalyticsProgressionType, level: number, levelName: string, customFields: { [any]: any }?): nil + function LogProgressionFailEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil + function LogProgressionStartEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil end declare class AngularVelocity extends Constraint @@ -4977,7 +4937,6 @@ declare class Animation extends Instance end declare class AnimationClip extends Instance - Guid: string Loop: boolean Priority: EnumAnimationPriority end @@ -4986,55 +4945,17 @@ declare class AnimationClipProvider extends Instance function GetAnimationClipAsync(self, assetId: Content): AnimationClip function GetAnimations(self, userId: number): Instance function GetClipEvaluatorAsync(self, assetId: Content): ClipEvaluator - function GetMemStats(self): { [any]: any } function RegisterActiveAnimationClip(self, animationClip: AnimationClip): Content function RegisterAnimationClip(self, animationClip: AnimationClip): Content end -declare class AnimationConstraint extends Constraint - IsKinematic: boolean - MaxForce: number - MaxTorque: number - Transform: CFrame -end - declare class AnimationController extends Instance end declare class AnimationFromVideoCreatorService extends Instance - function CreateJob(self, filePath: string): string - function DownloadJobResult(self, jobId: string, outputFilePath: string): string - function FullProcess(self, videoFilePath: string, progressCallback: ((...any) -> ...any)): string - function GetJobStatus(self, jobId: string): string -end - -declare class AnimationFromVideoCreatorStudioService extends Instance - function CreateAnimationByUploadingVideo(self, progressCallback: ((...any) -> ...any)): string - function ImportVideoWithPrompt(self): string - function IsAgeRestricted(self): boolean -end - -declare class AnimationImportData extends BaseImportData end declare class AnimationRigData extends Instance - function LoadFromHumanoid(self, humanoid: Instance): boolean -end - -declare class AnimationStreamTrack extends Instance - Animation: TrackerStreamAnimation - FACSDataLod: EnumFACSDataLod - IsPlaying: boolean - Priority: EnumAnimationPriority - Stopped: RBXScriptSignal<> - WeightCurrent: number - WeightTarget: number - function AdjustWeight(self, weight: number?, fadeTime: number?): nil - function GetActive(self): boolean - function GetTrackerData(self): any - function Play(self, fadeTime: number?, weight: number?): nil - function Stop(self, fadeTime: number?): nil - function TogglePause(self, paused: boolean): nil end declare class AnimationTrack extends Instance @@ -5061,61 +4982,18 @@ end declare class Animator extends Instance AnimationPlayed: RBXScriptSignal - AnimationPlayedCoreScript: RBXScriptSignal - AnimationStreamTrackPlayed: RBXScriptSignal EvaluationThrottled: boolean PreferLodEnabled: boolean RootMotion: CFrame RootMotionWeight: number function ApplyJointVelocities(self, motors: any): nil - function GetPlayingAnimationTracks(self): { AnimationTrack } - function GetPlayingAnimationTracksCoreScript(self): { any } + function GetPlayingAnimationTracks(self): { any } function LoadAnimation(self, animation: Animation): AnimationTrack - function LoadAnimationCoreScript(self, animation: Animation): AnimationTrack - function LoadStreamAnimation(self, animation: TrackerStreamAnimation): AnimationStreamTrack - function LoadStreamAnimationForSelfieView_deprecated(self, animation: TrackerStreamAnimation, player: Player): AnimationStreamTrack - function LoadStreamAnimationV2(self, animation: TrackerStreamAnimation, player: Player?, shouldLookupPlayer: boolean?, shouldReplicate: boolean?): AnimationStreamTrack function RegisterEvaluationParallelCallback(self, callback: ((...any) -> ...any)): nil function StepAnimations(self, deltaTime: number): nil - function SynchronizeWith(self, otherAnimator: Animator): nil end declare class Annotation extends Instance - AuthorColor3: Color3 - AuthorId: number - Contents: string - CreationTimeUnix: number - LastModifiedTimeUnix: number - Resolved: boolean - TaggedUsers: string -end - -declare class AnnotationsService extends Instance - AnnotationAdded: RBXScriptSignal - Hovered: Annotation - Selected: Annotation - function createAnnotation(self, annotation: Annotation): nil - function createWorkspaceAnnotation(self, adornee: PVInstance, position: CFrame, contents: string): nil -end - -declare class AppLifecycleObserverService extends Instance - OnBecomeActive: RBXScriptSignal<> - OnDetach: RBXScriptSignal<> - OnHide: RBXScriptSignal<> - OnResignActive: RBXScriptSignal<> - OnStart: RBXScriptSignal<> - OnUnhide: RBXScriptSignal<> - function GetCurrentState(self): EnumAppLifecycleManagerState - function IsDidDetachSupported(self): boolean -end - -declare class AppStorageService extends LocalStorageService -end - -declare class AppUpdateService extends Instance - function CanPerformBinaryUpdate(self): boolean - function CheckForUpdate(self, handler: ((...any) -> ...any)?): nil - function PerformManagedUpdate(self): boolean end declare class ArcHandles extends HandlesBase @@ -5127,76 +5005,12 @@ declare class ArcHandles extends HandlesBase MouseLeave: RBXScriptSignal end -declare class AssetCounterService extends Instance -end - declare class AssetDeliveryProxy extends Instance Interface: string Port: number StartServer: boolean end -declare class AssetImportService extends Instance - function GetAllPresets(self): { [any]: any } - function GetPreset(self, name: string): { [any]: any } - function PickImageFileWithPrompt(self): string - function PickMeshFileWithPrompt(self): string - function PickMultipleFilesWithPrompt(self): { any } - function RemovePreset(self, name: string): nil - function SavePreset(self, name: string, preset: { [any]: any }): boolean - function StartSessionWithPath(self, filePath: string): AssetImportSession - function StartSessionWithPathAsync(self, filePath: string): AssetImportSession - function StartSessionWithPrompt(self): AssetImportSession -end - -declare class AssetImportSession extends Instance - UploadComplete: RBXScriptSignal<{ [any]: any }> - UploadProgress: RBXScriptSignal - function ApplyPreset(self, preset: { [any]: any }): nil - function Cancel(self): nil - function CreatePresetFromData(self, importData: Instance): { [any]: any } - function GetFilename(self): string - function GetImportTree(self): Instance - function GetRigVisualization(self, importDataInstance: Instance): Instance - function GetStatuses(self): { [any]: any } - function HasAnimation(self): boolean - function IsAvatar(self): boolean - function IsGltf(self): boolean - function IsR15(self): boolean - function Reset(self): nil - function Upload(self): nil - function usesCustomRestPoseLua(self): boolean -end - -declare class AssetManagerService extends Instance - AssetImportedSignal: RBXScriptSignal - ImportSessionFinished: RBXScriptSignal<> - ImportSessionStarted: RBXScriptSignal<> - function AddNewPlace(self): number - function CreateAlias(self, assetType: number, assetId: number, aliasName: string): nil - function DeleteAlias(self, aliasName: string): nil - function GetMeshIdFromAliasName(self, aliasName: string): number - function GetMeshIdFromAssetId(self, assetId: number): number - function GetTextureIdFromAliasName(self, aliasName: string): number - function GetTextureIdFromAssetId(self, assetId: number): number - function InsertAudio(self, assetId: number, assetName: string): nil - function InsertImage(self, assetId: number): nil - function InsertImages(self, assetIds: { any }): nil - function InsertMesh(self, aliasName: string, insertWithLocation: boolean, sourceAssetId: number): nil - function InsertMeshesWithLocation(self, aliasNames: { any }, meshIds: { any }): nil - function InsertModel(self, modelId: number): nil - function InsertPackage(self, packageId: number): nil - function InsertVideo(self, assetId: number, assetName: string): nil - function OpenPlace(self, placeId: number): nil - function RemovePlace(self, placeId: number): nil - function RenameAlias(self, assetType: number, assetId: number, oldAliasName: string, newAliasName: string): nil - function RenameModel(self, modelId: number, newName: string): nil - function RenamePlace(self, placeId: number, newName: string): nil - function ShowPackageDetails(self, packageId: number): nil - function UpdateAllPackages(self, packageId: number): nil - function ViewPackageOnWebsite(self, packageId: number): nil -end - declare class AssetPatchSettings extends Instance ContentId: string OutputPath: string @@ -5204,34 +5018,22 @@ declare class AssetPatchSettings extends Instance end declare class AssetService extends Instance - AudioMetadataFailedResponse: RBXScriptSignal - AudioMetadataRequest: RBXScriptSignal - AudioMetadataResponse: RBXScriptSignal - OpenCreateResultModal: RBXScriptSignal - OpenPublishResultModal: RBXScriptSignal function CreateEditableImageAsync(self, textureId: Content): EditableImage function CreateEditableMeshAsync(self, meshId: Content): EditableMesh function CreateEditableMeshFromPartAsync(self, meshPart: Instance): EditableMesh - function CreateEditableMeshStripSkinningAsync(self, meshId: Content): EditableMesh function CreateMeshPartAsync(self, meshId: Content, options: { [any]: any }?): MeshPart - function CreatePlaceAsync(self, placeName: string, templatePlaceID: number, description: string?): number - function CreatePlaceInPlayerInventoryAsync(self, player: Player, placeName: string, templatePlaceID: number, description: string?): number - function DeserializeInstance(self, serializedInstance: string): Instance + function CreatePlaceAsync(self, placeName: string, templatePlaceID: number, description: string): number + function CreatePlaceInPlayerInventoryAsync(self, player: Instance, placeName: string, templatePlaceID: number, description: string): number function GetAssetIdsForPackage(self, packageAssetId: number): { any } function GetAudioMetadataAsync(self, idList: { any }): { any } function GetBundleDetailsAsync(self, bundleId: number): { [any]: any } - function GetBundleDetailsSync(self, bundleId: number): { [any]: any } function GetGamePlacesAsync(self): Instance function PromptCreateAssetAsync(self, player: Player, instance: Instance, assetType: EnumAssetType): any function PromptImportAnimationClipFromVideoAsync(self, player: Player, progressCallback: ((...any) -> ...any)): any - function RegisterUGCValidationFunction(self, func: ((...any) -> ...any)): nil function SavePlaceAsync(self): nil function SearchAudio(self, searchParameters: AudioSearchParams): AudioPages end -declare class AssetSoundEffect extends CustomSoundEffect -end - declare class Atmosphere extends Instance Color: Color3 Decay: Color3 @@ -5321,7 +5123,7 @@ end declare class AudioEmitter extends Instance AudioInteractionGroup: string - function GetAudibilityFor(self, listener: AudioListener): number + DistanceAttenuation: BinaryString function GetConnectedWires(self, pin: string): { Instance } function GetDistanceAttenuation(self): { [any]: any } function GetInteractingListeners(self): { Instance } @@ -5363,17 +5165,9 @@ declare class AudioFlanger extends Instance function GetConnectedWires(self, pin: string): { Instance } end -declare class AudioFocusService extends Instance - OnDeafenVoiceAudio: RBXScriptSignal - OnUndeafenVoiceAudio: RBXScriptSignal - function AcquireFocus(self, contextId: number, priority: number): boolean - function RegisterContextIdFromLua(self, contextId: number): nil - function RequestFocus(self, contextId: number, priority: number): boolean -end - declare class AudioListener extends Instance AudioInteractionGroup: string - function GetAudibilityOf(self, emitter: AudioEmitter): number + DistanceAttenuation: BinaryString function GetConnectedWires(self, pin: string): { Instance } function GetDistanceAttenuation(self): { [any]: any } function GetInteractingEmitters(self): { Instance } @@ -5436,55 +5230,24 @@ declare class AudioSearchParams extends Instance Title: string end -declare class AvatarChatService extends Instance - ClientFeatures: number - ClientFeaturesInitialized: boolean - ServerFeatures: number - function EnableVoice(self): boolean - function GetClientFeaturesAsync(self): number - function GetServerFeaturesAsync(self): number - function IsEnabled(self, mask: number, feature: EnumAvatarChatServiceFeature): boolean - function IsPlaceEnabled(self): boolean - function IsUniverseEnabled(self): boolean - function PollClientFeatures(self): number - function PollServerFeatures(self): number - function deviceMeetsRequirementsForFeature(self, feature: EnumDeviceFeatureType): boolean -end - declare class AvatarCreationService extends Instance - UgcValidationFailure: RBXScriptSignal - UgcValidationSuccess: RBXScriptSignal function GenerateAvatarAsync(self, sessionId: string, previewId: string): string - function GenerateAvatarModelAsync(self, player: Player, previewJobId: string, options: { [any]: any }, progressCallback: ((...any) -> ...any)): string - function GenerateAvatarPreviewAsync(self, player: Player, textPrompt: string, options: { [any]: any }, progressCallback: ((...any) -> ...any)): string function GenerateAvatarPreviewAsync2(self, sessionId: string, fileId: string, textPrompt: string): string - function GetAvatarGenerationConfig(self): { [any]: any } function GetValidationRules(self): { [any]: any } function LoadAvatarHumanoidDescriptionAsync(self, id: string): HumanoidDescription - function LoadAvatarModelAsync(self, id: string): Instance - function LoadAvatarPreviewImageAsync(self, avatarPreview: string): EditableImage function PromptCreateAvatarAsync(self, player: Player, humanoidDescription: HumanoidDescription): any function RequestAvatarGenerationSessionAsync(self, player: Player, callback: ((...any) -> ...any)): any - function SendAnalyticsEvent(self, eventName: string, params: { [any]: any }): nil function ValidateUGCAccessoryAsync(self, player: Player, accessory: Instance, accessoryType: EnumAccessoryType): any function ValidateUGCBodyPartAsync(self, player: Player, instance: Instance, bodyPart: EnumBodyPart): any function ValidateUGCFullBodyAsync(self, player: Player, humanoidDescription: HumanoidDescription): any end declare class AvatarEditorService extends Instance - OpenAllowInventoryReadAccess: RBXScriptSignal<> - OpenPromptCreateOufit: RBXScriptSignal - OpenPromptDeleteOutfit: RBXScriptSignal - OpenPromptRenameOutfit: RBXScriptSignal - OpenPromptSaveAvatar: RBXScriptSignal - OpenPromptSetFavorite: RBXScriptSignal - OpenPromptUpdateOutfit: RBXScriptSignal PromptAllowInventoryReadAccessCompleted: RBXScriptSignal PromptCreateOutfitCompleted: RBXScriptSignal PromptDeleteOutfitCompleted: RBXScriptSignal PromptRenameOutfitCompleted: RBXScriptSignal PromptSaveAvatarCompleted: RBXScriptSignal - PromptSaveAvatarThumbnailCustomizationCompleted: RBXScriptSignal PromptSetFavoriteCompleted: RBXScriptSignal PromptUpdateOutfitCompleted: RBXScriptSignal function CheckApplyDefaultClothing(self, humanoidDescription: HumanoidDescription): HumanoidDescription @@ -5497,21 +5260,8 @@ declare class AvatarEditorService extends Instance function GetItemDetails(self, itemId: number, itemType: EnumAvatarItemType): { [any]: any } function GetOutfitDetails(self, outfitId: number): { [any]: any } function GetOutfits(self, outfitSource: EnumOutfitSource?, outfitType: EnumOutfitType?): OutfitPages - function GetRecommendedAssets(self, assetType: EnumAvatarAssetType, contextAssetId: number?): { any } + function GetRecommendedAssets(self, assetType: EnumAvatarAssetType, contextAssetId: number): { any } function GetRecommendedBundles(self, bundleId: number): { any } - function NoPromptCreateOutfit(self, humanoidDescription: HumanoidDescription, rigType: EnumHumanoidRigType, name: string, gearAssetId: number?): boolean - function NoPromptDeleteOutfit(self, outfitId: number): boolean - function NoPromptRenameOutfit(self, outfitId: number, name: string): boolean - function NoPromptSaveAvatar(self, humanoidDescription: HumanoidDescription, rigType: EnumHumanoidRigType, saveDict: { [any]: any }, gearAssetId: number?): boolean - function NoPromptSaveAvatarThumbnailCustomization(self, thumbnailType: EnumAvatarThumbnailCustomizationType, emoteAssetId: number, cameraDistanceScale: number, yRotDeg: number, fieldOfViewDeg: number?): boolean - function NoPromptSetFavorite(self, itemId: number, itemType: EnumAvatarItemType, shouldFavorite: boolean): boolean - function NoPromptUpdateOutfit(self, outfitId: number, humanoidDescription: HumanoidDescription, rigType: EnumHumanoidRigType, gearAssetId: number?): boolean - function PerformCreateOutfitWithDescription(self, humanoidDescription: HumanoidDescription, name: string): nil - function PerformDeleteOutfit(self): nil - function PerformRenameOutfit(self, name: string): nil - function PerformSaveAvatarWithDescription(self, humanoidDescription: HumanoidDescription, addedAssets: { any }, removedAssets: { any }): nil - function PerformSetFavorite(self): nil - function PerformUpdateOutfit(self, humanoidDescription: HumanoidDescription): nil function PromptAllowInventoryReadAccess(self): nil function PromptCreateOutfit(self, outfit: HumanoidDescription, rigType: EnumHumanoidRigType): nil function PromptDeleteOutfit(self, outfitId: number): nil @@ -5520,27 +5270,6 @@ declare class AvatarEditorService extends Instance function PromptSetFavorite(self, itemId: number, itemType: EnumAvatarItemType, shouldFavorite: boolean): nil function PromptUpdateOutfit(self, outfitId: number, updatedOutfit: HumanoidDescription, rigType: EnumHumanoidRigType): nil function SearchCatalog(self, searchParameters: CatalogSearchParams): CatalogPages - function SetAllowInventoryReadAccess(self, inventoryReadAccessGranted: boolean): nil - function SignalCreateOutfitFailed(self): nil - function SignalCreateOutfitPermissionDenied(self): nil - function SignalDeleteOutfitFailed(self): nil - function SignalDeleteOutfitPermissionDenied(self): nil - function SignalRenameOutfitFailed(self): nil - function SignalRenameOutfitPermissionDenied(self): nil - function SignalSaveAvatarFailed(self): nil - function SignalSaveAvatarPermissionDenied(self): nil - function SignalSetFavoriteFailed(self): nil - function SignalSetFavoritePermissionDenied(self): nil - function SignalUpdateOutfitFailed(self): nil - function SignalUpdateOutfitPermissionDenied(self): nil -end - -declare class AvatarImportService extends Instance - function ImportFBXAnimationFromFilePathUserMayChooseModel(self, fbxFilePath: string, selectedRig: Instance, userChooseModelThenImportCB: ((...any) -> ...any)): Instance - function ImportFBXAnimationUserMayChooseModel(self, selectedRig: Instance, userChooseModelThenImportCB: ((...any) -> ...any)): Instance - function ImportFbxRigWithoutSceneLoad(self, isR15: boolean?): Instance - function ImportLoadedFBXAnimation(self, useFBXModel: boolean): Instance - function LoadRigAndDetectType(self, promptR15Callback: ((...any) -> ...any)): Instance end declare class Backpack extends Instance @@ -5551,8 +5280,6 @@ declare class BackpackItem extends Model end declare class BadgeService extends Instance - BadgeAwarded: RBXScriptSignal - OnBadgeAwarded: RBXScriptSignal function AwardBadge(self, userId: number, badgeId: number): boolean function CheckUserBadgesAsync(self, userId: number, badgeIds: { any }): { any } function GetBadgeInfoAsync(self, badgeId: number): { [any]: any } @@ -5573,17 +5300,6 @@ end declare class BanHistoryPages extends Pages end -declare class BaseImportData extends Instance - Id: string - ImportName: string - ShouldImport: boolean - StatusRemoved: RBXScriptSignal<{ [any]: any }> - StatusReported: RBXScriptSignal<{ [any]: any }> - function CreatePresetFromData(self): { [any]: any } - function GetPreview(self): Instance - function GetStatuses(self): { [any]: any } -end - declare class BasePart extends PVInstance Anchored: boolean AssemblyAngularVelocity: Vector3 @@ -5635,7 +5351,7 @@ declare class BasePart extends PVInstance function ApplyImpulse(self, impulse: Vector3): nil function ApplyImpulseAtPosition(self, impulse: Vector3, position: Vector3): nil function CanCollideWith(self, part: BasePart): boolean - function CanSetNetworkOwnership(self): (boolean, string) + function CanSetNetworkOwnership(self): any function GetClosestPointOnSurface(self, position: Vector3): Vector3 function GetConnectedParts(self, recursive: boolean?): { BasePart } function GetJoints(self): { BasePart } @@ -5643,7 +5359,7 @@ declare class BasePart extends PVInstance function GetNetworkOwner(self): Player? function GetNetworkOwnershipAuto(self): boolean function GetNoCollisionConstraints(self): { Instance } - function GetRootPart(self): BasePart + function GetRootPart(self): Instance function GetTouchingParts(self): { BasePart } function GetVelocityAtPosition(self, position: Vector3): Vector3 function IntersectAsync(self, parts: { Instance }, collisionfidelity: EnumCollisionFidelity?, renderFidelity: EnumRenderFidelity?): Instance @@ -5674,15 +5390,9 @@ declare class BaseWrap extends Instance CageMeshId: Content CageOrigin: CFrame CageOriginWorld: CFrame + HSRAssetId: Content ImportOrigin: CFrame ImportOriginWorld: CFrame - VerticesModified: RBXScriptSignal<{ any }> - function GetCageOffset(self): Vector3 - function GetFaces(self, cageType: EnumCageType): { any } - function GetUVs(self, cageType: EnumCageType): { any } - function GetVertices(self, cageType: EnumCageType): { any } - function IsHSRReady(self): boolean - function ModifyVertices(self, cageType: EnumCageType, vertices: { any }): nil end declare class Beam extends Instance @@ -5706,7 +5416,7 @@ declare class Beam extends Instance Width0: number Width1: number ZOffset: number - function SetTextureOffset(self, offset: number?): nil + function SetTextureOffset(self, offset: number): nil end @@ -5730,7 +5440,6 @@ declare class BillboardGui extends LayerCollector SizeOffset: Vector2 StudsOffset: Vector3 StudsOffsetWorldSpace: Vector3 - function GetScreenSpaceBounds(self): any end declare class BinaryStringValue extends ValueBase @@ -5836,39 +5545,12 @@ declare class BoxHandleAdornment extends HandleAdornment Size: Vector3 end -declare class Breakpoint extends Instance - Condition: string - ContinueExecution: boolean - Enabled: boolean - Id: number - Line: number - LogMessage: string - MetaBreakpointId: number - RemoveOnHit: boolean - Script: string - Valid: boolean - Verified: boolean -end - declare class BrickColorValue extends ValueBase Changed: RBXScriptSignal Value: BrickColor end declare class BrowserService extends Instance - AuthCookieCopiedToEngine: RBXScriptSignal<> - BrowserWindowClosed: RBXScriptSignal<> - BrowserWindowWillNavigate: RBXScriptSignal - JavaScriptCallback: RBXScriptSignal - function CloseBrowserWindow(self): nil - function CopyAuthCookieFromBrowserToEngine(self): nil - function EmitHybridEvent(self, moduleName: string, eventName: string, params: string): nil - function ExecuteJavaScript(self, javascript: string): nil - function OpenBrowserWindow(self, url: string): nil - function OpenNativeOverlay(self, title: string, url: string): nil - function OpenWeChatAuthWindow(self): nil - function ReturnToJavaScript(self, callbackId: string, success: boolean, params: string): nil - function SendCommand(self, command: string): nil end declare class BubbleChatConfiguration extends TextChatConfigurations @@ -5879,7 +5561,7 @@ declare class BubbleChatConfiguration extends TextChatConfigurations BubblesSpacing: number Enabled: boolean Font: EnumFont - FontFace: Font + FontFace: EnumFont LocalPlayerStudsOffset: Vector3 MaxBubbles: number MaxDistance: number @@ -5893,20 +5575,12 @@ end declare class BubbleChatMessageProperties extends Instance BackgroundColor3: Color3 BackgroundTransparency: number - FontFace: Font + FontFace: EnumFont TailVisible: boolean TextColor3: Color3 TextSize: number end -declare class BulkImportService extends Instance - AssetImported: RBXScriptSignal - BulkImportFinished: RBXScriptSignal - BulkImportStarted: RBXScriptSignal<> - function LaunchBulkImport(self, assetTypeToImport: number): nil - function ShowBulkImportView(self): nil -end - declare class BuoyancySensor extends SensorBase FullySubmerged: boolean TouchingSurface: boolean @@ -5917,18 +5591,9 @@ declare class CFrameValue extends ValueBase Value: CFrame end -declare class CSGDictionaryService extends FlyweightService -end - declare class CacheableContentProvider extends Instance end -declare class CalloutService extends Instance - function AttachCallout(self, definitionId: string, locationId: string, target: Instance): nil - function DefineCallout(self, definitionId: string, title: string, description: string, learnMoreURL: string): nil - function DetachCalloutsByDefinitionId(self, definitionId: string): nil -end - declare class Camera extends Instance CFrame: CFrame CameraSubject: Humanoid | BasePart | nil @@ -5936,7 +5601,6 @@ declare class Camera extends Instance DiagonalFieldOfView: number FieldOfView: number FieldOfViewMode: EnumFieldOfViewMode - FirstPersonTransition: RBXScriptSignal Focus: CFrame HeadLocked: boolean HeadScale: number @@ -5948,13 +5612,11 @@ declare class Camera extends Instance function GetPartsObscuringTarget(self, castPoints: { Vector3 }, ignoreList: { Instance }): { BasePart } function GetRenderCFrame(self): CFrame function GetRoll(self): number - function ScreenPointToRay(self, x: number, y: number, depth: number?): Ray - function SetImageServerView(self, modelCoord: CFrame): nil + function ScreenPointToRay(self, x: number, y: number, depth: number): Ray function SetRoll(self, rollAngle: number): nil - function ViewportPointToRay(self, x: number, y: number, depth: number?): Ray - function WorldToScreenPoint(self, worldPoint: Vector3): (Vector3, boolean) - function WorldToViewportPoint(self, worldPoint: Vector3): (Vector3, boolean) - function Zoom(self, distance: number): boolean + function ViewportPointToRay(self, x: number, y: number, depth: number): Ray + function WorldToScreenPoint(self, worldPoint: Vector3): any + function WorldToViewportPoint(self, worldPoint: Vector3): any function ZoomToExtents(self, boundingBoxCFrame: CFrame, boundingBoxSize: Vector3): nil end @@ -5967,40 +5629,22 @@ end declare class CaptureService extends Instance CaptureBegan: RBXScriptSignal<> CaptureEnded: RBXScriptSignal<> - CaptureSavedInternal: RBXScriptSignal<{ [any]: any }, string> - OpenSaveCapturesPrompt: RBXScriptSignal - OpenShareCapturePrompt: RBXScriptSignal UserCaptureSaved: RBXScriptSignal function CaptureScreenshot(self, onCaptureReady: ((...any) -> ...any)): nil - function CreatePostAsync(self, pathArr: { any }, caption: string): { [any]: any } - function DeleteCapture(self, capturePath: string): nil - function DeleteCapturesAsync(self, pathArr: { any }): number - function GetCaptureFilePathAsync(self, captureContentId: Content): string - function GetCaptureSizeAsync(self, captureContentId: Content): Vector2 - function GetCaptureStorageSizeAsync(self, pathArr: { any }): number function GetCaptureUploadDataAsync(self, capturePath: string): { [any]: any } - function OnCaptureBegan(self): nil - function OnCaptureEnded(self): nil - function OnCaptureShared(self, capturePath: string): nil - function OnSavePromptFinished(self, promptId: number, results: { [any]: any }): nil - function OnSharePromptFinished(self, promptId: number, accepted: boolean): nil function PromptSaveCapturesToGallery(self, contentIds: { any }, resultCallback: ((...any) -> ...any)): nil function PromptShareCapture(self, contentId: Content, launchData: string, onAcceptedCallback: ((...any) -> ...any), onDeniedCallback: ((...any) -> ...any)): nil - function RetrieveCaptures(self): { any } - function SaveCaptureToExternalStorage(self, capturePath: string): nil - function SaveCapturesToExternalStorageAsync(self, pathArr: { any }): number - function SaveScreenshotCapture(self): nil end declare class CatalogPages extends Pages end declare class ChangeHistoryService extends Instance - OnRecordingFinished: RBXScriptSignal + OnRecordingFinished: RBXScriptSignal OnRecordingStarted: RBXScriptSignal OnRedo: RBXScriptSignal OnUndo: RBXScriptSignal - function FinishRecording(self, identifier: string, operation: EnumFinishRecordingOperation, finalOptions: { [any]: any }?): nil + function FinishRecording(self, identifier: string, operation: EnumFinishRecordingOperation, finalOptions: Dictionary?): nil function GetCanRedo(self): any function GetCanUndo(self): any function IsRecordingInProgress(self, identifier: string?): boolean @@ -6012,25 +5656,19 @@ declare class ChangeHistoryService extends Instance function Undo(self): nil end -declare class ChannelSelectorSoundEffect extends CustomSoundEffect - Channel: number -end - declare class ChannelTabsConfiguration extends TextChatConfigurations AbsolutePosition: Vector2 AbsoluteSize: Vector2 BackgroundColor3: Color3 BackgroundTransparency: number Enabled: boolean - FontFace: Font + FontFace: EnumFont HoverBackgroundColor3: Color3 SelectedTabTextColor3: Color3 TextColor3: Color3 TextSize: number TextStrokeColor3: Color3 TextStrokeTransparency: number - function SetAbsolutePosition(self, value: Vector2): nil - function SetAbsoluteSize(self, value: Vector2): nil end declare class CharacterAppearance extends Instance @@ -6045,16 +5683,13 @@ end declare class Chat extends Instance BubbleChatEnabled: boolean - BubbleChatSettingsChanged: RBXScriptSignal - Chatted: RBXScriptSignal + Chatted: RBXScriptSignal LoadDefaultChat: boolean function CanUserChatAsync(self, userId: number): boolean function CanUsersChatAsync(self, userIdFrom: number, userIdTo: number): boolean function Chat(self, partOrCharacter: Instance, message: string, color: EnumChatColor?): nil - function ChatLocal(self, partOrCharacter: Instance, message: string, color: EnumChatColor?): nil function FilterStringAsync(self, stringToFilter: string, playerFrom: Player, playerTo: Player): string function FilterStringForBroadcast(self, stringToFilter: string, playerFrom: Player): string - function GetShouldUseLuaChat(self): boolean function InvokeChatCallback(self, callbackType: EnumChatCallbackType, callbackArguments: any): any function RegisterChatCallback(self, callbackType: EnumChatCallbackType, callbackFunction: ((...any) -> ...any)): nil function SetBubbleChatSettings(self, settings: any): nil @@ -6062,16 +5697,13 @@ end declare class ChatInputBarConfiguration extends TextChatConfigurations AbsolutePosition: Vector2 - AbsolutePositionWrite: Vector2 AbsoluteSize: Vector2 - AbsoluteSizeWrite: Vector2 AutocompleteEnabled: boolean BackgroundColor3: Color3 BackgroundTransparency: number Enabled: boolean - FontFace: Font + FontFace: EnumFont IsFocused: boolean - IsFocusedWrite: boolean KeyboardKeyCode: EnumKeyCode PlaceholderColor3: Color3 TargetTextChannel: TextChannel @@ -6084,13 +5716,11 @@ end declare class ChatWindowConfiguration extends TextChatConfigurations AbsolutePosition: Vector2 - AbsolutePositionWrite: Vector2 AbsoluteSize: Vector2 - AbsoluteSizeWrite: Vector2 BackgroundColor3: Color3 BackgroundTransparency: number Enabled: boolean - FontFace: Font + FontFace: EnumFont HeightScale: number HorizontalAlignment: EnumHorizontalAlignment TextColor3: Color3 @@ -6101,17 +5731,6 @@ declare class ChatWindowConfiguration extends TextChatConfigurations WidthScale: number end -declare class ChatbotUIService extends Instance - ActionActivatedSignal: RBXScriptSignal - FindVariationsSignal: RBXScriptSignal - SetMaterialSettingsSignal: RBXScriptSignal - SettingChangedSignal: RBXScriptSignal - ShiftToAssetIdSignal: RBXScriptSignal - ShiftVariationSignal: RBXScriptSignal - function DisplayContent(self, contentType: string, data: { [any]: any }): nil - function GetSettings(self): { [any]: any } -end - declare class ChorusSoundEffect extends SoundEffect Depth: number Mix: number @@ -6128,13 +5747,6 @@ declare class ClickDetector extends Instance end declare class ClientReplicator extends NetworkReplicator - RCCProfilerDataComplete: RBXScriptSignal - StatsReceived: RBXScriptSignal<{ [any]: any }> - function RequestRCCProfilerData(self, frameRate: number, timeFrame: number): nil - function RequestServerLuauHeapData(self): nil - function RequestServerScriptProfiling(self, start: boolean, frequency: number?): nil - function RequestServerScriptProfilingData(self): nil - function RequestServerStats(self, request: boolean): nil end declare class ClimbController extends ControllerBase @@ -6148,12 +5760,6 @@ declare class Clothing extends CharacterAppearance Color3: Color3 end -declare class CloudCRUDService extends Instance -end - -declare class CloudLocalizationTable extends LocalizationTable -end - declare class Clouds extends Instance Color: Color3 Cover: number @@ -6164,29 +5770,6 @@ end declare class ClusterPacketCache extends Instance end -declare class Collaborator extends Instance - CFrame: CFrame - CollaboratorColor3: Color3 - CurDocGUID: string - CurScriptLineNumber: number - IsIdle: boolean - Status: EnumCollaboratorStatus - UserId: number - Username: string -end - -declare class CollaboratorsService extends Instance - CollaboratorIdleUpdate: RBXScriptSignal - CollaboratorInstanceCreatedSignal: RBXScriptSignal - CollaboratorInstanceDestroyedSignal: RBXScriptSignal - CollaboratorStatusUpdatedSignal: RBXScriptSignal - function GetCollaboratorsList(self): { Instance } - function GetSelectionHighlightsEnabled(self): boolean - function RequestFlyToCollaborator(self, collaboratorId: number): nil - function ToggleSelectionHighlights(self, showHighlights: boolean): nil - function ToggleTeamCreate(self, on: boolean): nil -end - declare class CollectionService extends Instance TagAdded: RBXScriptSignal TagRemoved: RBXScriptSignal @@ -6216,24 +5799,7 @@ declare class ColorGradingEffect extends PostEffect TonemapperPreset: EnumTonemapperPreset end -declare class CommandInstance extends Instance - AllowGUIAccessPoints: boolean - Checked: boolean - DefaultShortcut: string - DisplayName: string - Enabled: boolean - Icon: string - Name: string - Permission: EnumCommandPermission - StatusTip: string - function EnableGuiAccess(self, displayName: string, statusTip: string, defaultShortcut: string): nil - function RegisterExecutionCallback(self, callbackFunction: ((...any) -> ...any)): nil -end - declare class CommandService extends Instance - CommandExecuting: RBXScriptSignal - function Execute(self, name: string, params: any): any - function RegisterCommand(self, plugin: Plugin, name: string, context: string, permission: EnumCommandPermission?): CommandInstance end declare class CommerceService extends Instance @@ -6263,11 +5829,6 @@ end declare class ConfigureServerService extends Instance end -declare class ConnectivityService extends Instance - NetworkStatus: EnumNetworkStatus - function IsNetworkStateAvailable(self): boolean -end - declare class Constraint extends Instance Active: boolean Attachment0: Attachment? @@ -6284,39 +5845,25 @@ declare class ContentProvider extends Instance function GetAssetFetchStatus(self, contentId: Content): EnumAssetFetchStatus function GetAssetFetchStatusChangedSignal(self, contentId: Content): RBXScriptSignal function GetDependencyContentIds(self, root: Instance): { any } - function GetDetailedFailedRequests(self): { any } - function GetFailedRequests(self): { any } function ListEncryptedAssets(self): { any } function PreloadAsync(self, contentIdList: { any }, callbackFunction: ((...any) -> ...any)?): nil function RegisterDefaultEncryptionKey(self, encryptionKey: string): nil function RegisterDefaultSessionKey(self, sessionKey: string): nil function RegisterEncryptedAsset(self, assetId: Content, encryptionKey: string): nil function RegisterSessionEncryptedAsset(self, contentId: Content, sessionKey: string): nil - function SetBaseUrl(self, url: string): nil function UnregisterDefaultEncryptionKey(self): nil function UnregisterEncryptedAsset(self, assetId: Content): nil end declare class ContextActionService extends Instance - BoundActionAdded: RBXScriptSignal - BoundActionChanged: RBXScriptSignal - BoundActionRemoved: RBXScriptSignal - GetActionButtonEvent: RBXScriptSignal - LocalToolEquipped: RBXScriptSignal - LocalToolUnequipped: RBXScriptSignal + LocalToolEquipped: RBXScriptSignal + LocalToolUnequipped: RBXScriptSignal function BindAction(self, actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, ...: EnumUserInputType | EnumKeyCode): () function BindActionAtPriority(self, actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, priorityLevel: number, ...: EnumUserInputType | EnumKeyCode): () function BindActivate(self, userInputTypeForActivation: EnumUserInputType, keyCodesForActivation: any): nil - function BindCoreAction(self, actionName: string, functionToBind: ((...any) -> ...any), createTouchButton: boolean, inputTypes: any): nil - function BindCoreActionAtPriority(self, actionName: string, functionToBind: ((...any) -> ...any), createTouchButton: boolean, priorityLevel: number, inputTypes: any): nil - function BindCoreActivate(self, userInputTypeForActivation: EnumUserInputType, keyCodesForActivation: any): nil - function CallFunction(self, actionName: string, state: EnumUserInputState, inputObject: Instance): any - function FireActionButtonFoundSignal(self, actionName: string, actionButton: Instance): nil function GetAllBoundActionInfo(self): { [any]: any } - function GetAllBoundCoreActionInfo(self): { [any]: any } function GetBoundActionInfo(self, actionName: string): { [any]: any } - function GetBoundCoreActionInfo(self, actionName: string): { [any]: any } - function GetButton(self, actionName: string): ImageButton + function GetButton(self, actionName: string): Instance function GetCurrentLocalToolIcon(self): string function SetDescription(self, actionName: string, description: string): nil function SetImage(self, actionName: string, image: string): nil @@ -6325,8 +5872,6 @@ declare class ContextActionService extends Instance function UnbindAction(self, actionName: string): nil function UnbindActivate(self, userInputTypeForActivation: EnumUserInputType, keyCodeForActivation: EnumKeyCode?): nil function UnbindAllActions(self): nil - function UnbindCoreAction(self, actionName: string): nil - function UnbindCoreActivate(self, userInputTypeForActivation: EnumUserInputType, keyCodeForActivation: EnumKeyCode?): nil end declare class Controller extends Instance @@ -6368,57 +5913,20 @@ end declare class ControllerService extends Instance end -declare class ConversationalAIAcceptanceService extends Instance - function AlternativeAssetSelected(self, requestId: string, previousAssetId: number, assetId: number): nil - function AssetInserted(self, requestId: string, assetId: number): nil - function CodeRunnerActivated(self, requestId: string, code: string, serverAutorun: boolean, autorunEnabled: boolean, autoExpandDropdowns: boolean): nil - function CodeRunnerCompleted(self, requestId: string, success: boolean, errorMessage: string): nil - function CodeRunnerUndone(self, requestId: string): nil - function DataModelHierarchyLatency(self, requestId: string, latency: number): nil - function ErrorTelemetry(self, requestId: string, errorType: string): nil - function InstanceInserted(self, requestId: string): nil - function RecordingActionEnded(self, requestId: string, waypointName: string): nil - function ReportJSONEncodeFailure(self, instanceName: string, className: string): nil -end - declare class CookiesService extends Instance end declare class CoreGui extends BasePlayerGui SelectionImageObject: GuiObject - UserGuiRenderingChanged: RBXScriptSignal Version: number - function SetUserGuiRendering(self, enabled: boolean, guiAdornee: Instance, faceId: EnumNormalId, horizontalCurvature: number?): nil - function TakeScreenshot(self): nil - function ToggleRecording(self): nil -end - -declare class CorePackages extends Instance -end - -declare class CoreScript extends BaseScript end declare class CoreScriptDebuggingManagerHelper extends Instance end -declare class CoreScriptSyncService extends Instance - function GetScriptFilePath(self, script: Instance): any -end - declare class CornerWedgePart extends BasePart end -declare class CreationDBService extends Instance -end - -declare class CrossDMScriptChangeListener extends Instance - GuidLineContentsChanged: RBXScriptSignal - GuidNameChanged: RBXScriptSignal - function IsWatchingScriptLine(self, scriptRef: string, lineNumber: number): boolean - function StartWatchingScriptLine(self, scriptRef: string, debuggerConnectionId: number, lineNumber: number): nil -end - declare class CurveAnimation extends AnimationClip end @@ -6426,9 +5934,6 @@ end -declare class CustomSoundEffect extends SoundEffect -end - declare class CylinderHandleAdornment extends HandleAdornment Angle: number Height: number @@ -6463,49 +5968,19 @@ declare class DataModel extends ServiceProvider GameId: number Genre: EnumGenre GraphicsQualityChangeRequest: RBXScriptSignal - IsSFFlagsLoaded: boolean JobId: string Loaded: RBXScriptSignal<> PlaceId: number PlaceVersion: number PrivateServerId: string PrivateServerOwnerId: number - ScreenshotReady: RBXScriptSignal - ScreenshotSavedToAlbum: RBXScriptSignal - UniverseMetadataLoaded: RBXScriptSignal<> Workspace: Workspace function BindToClose(self, func: ((...any) -> ...any)): nil - function DefineFastFlag(self, name: string, defaultValue: boolean): boolean - function DefineFastInt(self, name: string, defaultValue: number): number - function DefineFastString(self, name: string, defaultValue: string): string - function GetEngineFeature(self, name: string): boolean - function GetFastFlag(self, name: string): boolean - function GetFastInt(self, name: string): number - function GetFastString(self, name: string): string function GetJobsInfo(self): { any } function GetObjects(self, url: Content): { Instance } - function GetObjectsAllOrNone(self, url: Content, binaryFormatOnly: boolean?): { Instance } - function GetObjectsAsync(self, url: Content): { Instance } - function GetObjectsList(self, urls: { any }): { any } - function GetPlaySessionId(self): string - function HttpGetAsync(self, url: string, httpRequestType: EnumHttpRequestType?): string - function HttpPostAsync(self, url: string, data: string, contentType: string?, httpRequestType: EnumHttpRequestType?): string - function InsertObjectsAndJoinIfLegacyAsync(self, url: Content): { Instance } - function IsContentLoaded(self): boolean function IsLoaded(self): boolean - function IsUniverseMetadataLoaded(self): boolean - function Load(self, url: Content): nil - function OpenScreenshotsFolder(self): nil - function OpenVideosFolder(self): nil - function ReportInGoogleAnalytics(self, category: string, action: string?, label: string?, value: number?): nil - function SetFastFlagForTesting(self, name: string, newValue: boolean): boolean - function SetFastIntForTesting(self, name: string, newValue: number): number - function SetFastStringForTesting(self, name: string, newValue: string): string - function SetFlagVersion(self, name: string, version: number): nil - function SetIsLoaded(self, value: boolean, placeSizeInBytes: number?): nil function SetPlaceId(self, placeId: number): nil function SetUniverseId(self, universeId: number): nil - function Shutdown(self): nil end declare class DataModelMesh extends Instance @@ -6514,24 +5989,13 @@ declare class DataModelMesh extends Instance VertexColor: Vector3 end -declare class DataModelPatchService extends Instance - function GetLuaVersion(self, patchName: string): string - function GetPatch(self, patchName: string): Instance - function RegisterPatch(self, patchName: string, behaviorName: string, localConfigPath: string, userId: number): nil - function UpdatePatch(self, userId: number, patchName: string, callbackFunction: ((...any) -> ...any)): nil -end - declare class DataModelSession extends Instance - CurrentDataModelType: EnumStudioDataModelType - CurrentDataModelTypeAboutToChange: RBXScriptSignal - CurrentDataModelTypeChanged: RBXScriptSignal<> - SessionId: string end declare class DataStore extends GlobalDataStore function GetVersionAsync(self, key: string, version: string): any - function ListKeysAsync(self, prefix: string?, pageSize: number?, cursor: string?, excludeDeleted: boolean?): DataStoreKeyPages - function ListVersionsAsync(self, key: string, sortDirection: EnumSortDirection?, minDate: number?, maxDate: number?, pageSize: number?): DataStoreVersionPages + function ListKeysAsync(self, prefix: string, pageSize: number, cursor: string, excludeDeleted: boolean): DataStoreKeyPages + function ListVersionsAsync(self, key: string, sortDirection: EnumSortDirection?, minDate: number, maxDate: number, pageSize: number): DataStoreVersionPages function RemoveVersionAsync(self, key: string, version: string): nil end @@ -6559,7 +6023,7 @@ declare class DataStoreKeyInfo extends Instance UpdatedTime: number Version: string function GetMetadata(self): { [any]: any } - function GetUserIds(self): { number } + function GetUserIds(self): { any } end declare class DataStoreKeyPages extends Pages @@ -6590,7 +6054,7 @@ declare class DataStoreService extends Instance function GetGlobalDataStore(self): DataStore function GetOrderedDataStore(self, name: string, scope: string?): OrderedDataStore function GetRequestBudgetForRequestType(self, requestType: EnumDataStoreRequestType): number - function ListDataStoresAsync(self, prefix: string?, pageSize: number?, cursor: string?): DataStoreListingPages + function ListDataStoresAsync(self, prefix: string, pageSize: number, cursor: string): DataStoreListingPages end declare class DataStoreSetOptions extends Instance @@ -6603,7 +6067,6 @@ end declare class Debris extends Instance function AddItem(self, item: Instance, lifetime: number?): nil - function SetLegacyMaxItems(self, enabled: boolean): nil end declare class DebugSettings extends Instance @@ -6617,110 +6080,6 @@ declare class DebugSettings extends Instance TickCountPreciseOverride: EnumTickCountSampleMethod end -declare class DebuggablePluginWatcher extends Instance -end - -declare class DebuggerBreakpoint extends Instance - Condition: string - ContinueExecution: boolean - IsEnabled: boolean - Line: number - LogExpression: string - isContextDependentBreakpoint: boolean -end - -declare class DebuggerConnection extends Instance - BreakpointAdded: RBXScriptSignal - BreakpointChanged: RBXScriptSignal - BreakpointRemoved: RBXScriptSignal - ErrorMessage: string - HasError: boolean - Id: number - IsPaused: boolean - Paused: RBXScriptSignal - Resumed: RBXScriptSignal - function AddBreakpoint(self, script: string, line: number, breakpoint: Breakpoint): nil - function Close(self): nil - function EvaluateWatch(self, expression: string, frame: StackFrame, callback: ((...any) -> ...any)): number - function GetFrameById(self, id: number): StackFrame - function GetSource(self, scriptRef: string, status: ((...any) -> ...any)): number - function GetThreadById(self, id: number): ThreadState - function GetThreads(self, callback: ((...any) -> ...any)): number - function GetVariableById(self, id: number): DebuggerVariable - function Pause(self, thread: ThreadState, status: ((...any) -> ...any)): number - function Populate(self, instance: Instance, callback: ((...any) -> ...any)): number - function RemoveBreakpoint(self, breakpoint: Breakpoint): nil - function Resume(self, thread: ThreadState, status: ((...any) -> ...any)): number - function SetExceptionBreakMode(self, breakMode: EnumDebuggerExceptionBreakMode, callback: ((...any) -> ...any)): number - function SetVariable(self, variable: DebuggerVariable, value: string, callback: ((...any) -> ...any)): number - function Step(self, thread: ThreadState, callback: ((...any) -> ...any)): number - function StepIn(self, thread: ThreadState, callback: ((...any) -> ...any)): number - function StepOut(self, thread: ThreadState, callback: ((...any) -> ...any)): number - function UpdateSelectedFrame(self, threadId: number, frameNumber: number): nil -end - -declare class DebuggerConnectionManager extends Instance - ConnectionEnded: RBXScriptSignal - ConnectionStarted: RBXScriptSignal - FocusChanged: RBXScriptSignal - Timeout: number - function ConnectLocal(self, dataModel: DataModel): number - function ConnectRemote(self, host: string, port: number): number - function FocusConnection(self, connection: DebuggerConnection): nil - function GetAvailableConnection(self): DebuggerConnection - function GetConnectionById(self, id: number): DebuggerConnection -end - -declare class DebuggerLuaResponse extends Instance - IsError: boolean - IsSuccess: boolean - Message: string - RequestId: number - Status: EnumDebuggerStatus - function GetArg(self): any -end - -declare class DebuggerManager extends Instance - DebuggerAdded: RBXScriptSignal - DebuggerRemoved: RBXScriptSignal - DebuggingEnabled: boolean - function AddDebugger(self, script: Instance): Instance - function EnableDebugging(self): nil - function GetDebuggers(self): { Instance } - function Resume(self): nil -end - -declare class DebuggerUIService extends Instance - ExpressionAdded: RBXScriptSignal - ExpressionsCleared: RBXScriptSignal<> - function EditBreakpoint(self, metaBreakpointId: number): nil - function EditWatch(self, expression: string): nil - function IsConnectionForPlayDataModel(self, debuggerConnectionId: number): boolean - function OpenExceptionMessagePopup(self, exceptionMessage: string, pausedLine: number): nil - function OpenScriptAtLine(self, guid: string, debuggerConnectionId: number, line: number, showErrorOnFail: boolean): nil - function Pause(self): nil - function RemoveScriptLineMarkers(self, debuggerConnectionId: number, allMarkers: boolean): nil - function Resume(self): nil - function SetCurrentThreadId(self, debuggerThreadId: number): nil - function SetScriptLineMarker(self, guid: string, debuggerConnectionId: number, line: number, lineMarkerType: boolean): nil - function SetWatchExpressions(self, expressions: { any }): nil -end - -declare class DebuggerVariable extends Instance - Name: string - Populated: boolean - Type: string - Value: string - VariableId: number - VariablesCount: number - function GetVariableByIndex(self, index: number): DebuggerVariable - function GetVariableByName(self, name: string): DebuggerVariable -end - -declare class DebuggerWatch extends Instance - Expression: string -end - declare class Decal extends FaceInstance Color3: Color3 LocalTransparencyModifier: number @@ -6736,14 +6095,10 @@ declare class DepthOfFieldEffect extends PostEffect NearIntensity: number end -declare class DeviceIdService extends Instance - function GetDeviceId(self): string -end - declare class Dialog extends Instance BehaviorType: EnumDialogBehaviorType ConversationDistance: number - DialogChoiceSelected: RBXScriptSignal + DialogChoiceSelected: RBXScriptSignal GoodbyeChoiceActive: boolean GoodbyeDialog: string InUse: boolean @@ -6752,9 +6107,7 @@ declare class Dialog extends Instance Tone: EnumDialogTone TriggerDistance: number TriggerOffset: Vector3 - function GetCurrentPlayers(self): { Player } - function SetPlayerIsUsing(self, player: Instance, isUsing: boolean): nil - function SignalDialogChoiceSelected(self, player: Instance, dialogChoice: Instance): nil + function GetCurrentPlayers(self): { Instance } end declare class DialogChoice extends Instance @@ -6770,28 +6123,11 @@ end declare class DockWidgetPluginGui extends PluginGui HostWidgetWasRestored: boolean - function RequestRaise(self): nil end declare class DraftsService extends Instance - CommitStatusChanged: RBXScriptSignal - DraftAdded: RBXScriptSignal - DraftRemoved: RBXScriptSignal - DraftStatusChanged: RBXScriptSignal - EditorsListChanged: RBXScriptSignal - UpdateStatusChanged: RBXScriptSignal - function CommitEdits(self, scripts: { Instance }): nil - function DiscardEdits(self, scripts: { Instance }): nil - function GetDraftStatus(self, script: Instance): EnumDraftStatusCode - function GetDrafts(self): { Instance } - function GetEditors(self, script: Instance): { Instance } - function RestoreScripts(self, scripts: { Instance }): nil - function ShowDiffsAgainstBase(self, scripts: { Instance }): nil - function ShowDiffsAgainstServer(self, scripts: { Instance }): nil - function ShowSourceDiffsAgainstCurrent(self, sources: { any }, scripts: { Instance }): nil - function UpdateToLatestVersion(self, scripts: { Instance }): nil end declare class DragDetector extends ClickDetector @@ -6848,7 +6184,6 @@ declare class DraggerService extends Instance DraggerMovementMode: EnumDraggerMovementMode GeometrySnapColor: Color3 HoverAnimateFrequency: number - HoverLineThickness: number HoverThickness: number JointsEnabled: boolean LinearSnapEnabled: boolean @@ -6894,14 +6229,13 @@ declare class EditableMesh extends DataModelMesh function AddTriangle(self, vertexId0: number, vertexId1: number, vertexId2: number): number function AddUV(self, uv: Vector2): number function AddVertex(self, p: Vector3): number - function CreateMeshPartAsync(self, options: { [any]: any }?): MeshPart function FindClosestPointOnSurface(self, point: Vector3): any function FindClosestVertex(self, toThisPoint: Vector3): number function FindVerticesWithinSphere(self, center: Vector3, radius: number): { any } function GetAdjacentFaces(self, faceId: number): { any } function GetAdjacentVertices(self, vertexId: number): { any } function GetColor(self, colorId: number): Color3? - function GetColorAlpha(self, colorId: number): number? + function GetColorAlpha(self, colorId: number): float? function GetColors(self): { any } function GetFaceColors(self, faceId: number): { any } function GetFaceNormals(self, faceId: number): { any } @@ -6955,23 +6289,6 @@ declare class EulerRotationCurve extends Instance function Z(self): FloatCurve end -declare class EventIngestService extends Instance - function SendEventDeferred(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SendEventImmediately(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SetRBXEvent(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SetRBXEventStream(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil -end - -declare class ExampleService extends Instance - OnPolo: RBXScriptSignal - function PrintHello(self): nil -end - -declare class ExperienceAuthService extends Instance - OpenAuthPrompt: RBXScriptSignal - function ScopeCheckUIComplete(self, guid: string, scopes: { any }, result: EnumScopeCheckResult, metadata: { [any]: any }): nil -end - declare class ExperienceInviteOptions extends Instance InviteMessageId: string InviteUser: number @@ -6981,37 +6298,10 @@ end declare class ExperienceNotificationService extends Instance OptInPromptClosed: RBXScriptSignal<> - PromptOptInRequested: RBXScriptSignal<> function CanPromptOptInAsync(self): boolean - function InvokeOptInPromptClosed(self): nil function PromptOptIn(self): nil end -declare class ExperienceService extends Instance - OnCrossExperienceStarted: RBXScriptSignal - OnCrossExperienceStopped: RBXScriptSignal - OnNewJoinAttempt: RBXScriptSignal<{ [any]: any }> - function ExecuteCrossExperienceCall(self, callId: string, params: { [any]: any }, successCallback: ((...any) -> ...any), errorCallback: ((...any) -> ...any)): nil - function GetPendingJoinAttempt(self): { [any]: any } - function LaunchExperience(self, params: { [any]: any }): string - function LaunchExperienceFromSource(self, params: { [any]: any }, source: string): string - function LaunchExperienceFromSourceWithCallback(self, params: { [any]: any }, source: string, callback: ((...any) -> ...any)): nil - function RegisterForExperienceJoin(self, callback: ((...any) -> ...any)): RBXScriptConnection - function RegisterForExperienceLeave(self, callback: ((...any) -> ...any)): RBXScriptConnection - function StartCrossExperience(self, type: string, params: { [any]: any }): nil - function StopCrossExperience(self, type: string, params: { [any]: any }): nil -end - -declare class ExperienceStateCaptureService extends Instance - HiddenSelectionEnabled: boolean - IsInBackground: boolean - IsInCaptureMode: boolean - ItemSelectedInCaptureMode: RBXScriptSignal - function CanEnterCaptureMode(self): boolean - function ResetHighlight(self): nil - function ToggleCaptureMode(self): nil -end - declare class Explosion extends Instance BlastPressure: number BlastRadius: number @@ -7024,21 +6314,6 @@ declare class Explosion extends Instance Visible: boolean end -declare class FaceAnimatorService extends Instance - AudioAnimationEnabled: boolean - FaceTrackingStatusEnum: EnumTrackerFaceTrackingStatus - FlipHeadOrientation: boolean - TrackerError: RBXScriptSignal - TrackerPrompt: RBXScriptSignal - VideoAnimationEnabled: boolean - function GetTrackerLodController(self): TrackerLodController - function Init(self, videoEnabled: boolean, audioEnabled: boolean): nil - function IsStarted(self): boolean - function Start(self): nil - function Step(self): nil - function Stop(self): nil -end - declare class FaceControls extends Instance ChinRaiser: number ChinRaiserUpperLip: number @@ -7096,33 +6371,6 @@ declare class FaceInstance extends Instance Face: EnumNormalId end -declare class FacialAnimationRecordingService extends Instance - BiometricDataConsent: boolean - function CheckOrRequestCameraPermission(self): string - function IsAgeRestricted(self): boolean -end - -declare class FacialAnimationStreamingServiceStats extends Instance - function Get(self, label: string): number - function GetWithPlayerId(self, label: string, playerId: number): number -end - -declare class FacialAnimationStreamingServiceV2 extends Instance - ServiceState: number - function GetStats(self): FacialAnimationStreamingServiceStats - function IsAudioEnabled(self, mask: number): boolean - function IsPlaceEnabled(self, mask: number): boolean - function IsServerEnabled(self, mask: number): boolean - function IsVideoEnabled(self, mask: number): boolean - function ResolveStateForUser(self, userId: number): number -end - -declare class FacialAnimationStreamingSubsessionStats extends Instance -end - -declare class FacsImportData extends BaseImportData -end - declare class Feature extends Instance FaceId: EnumNormalId InOut: EnumInOut @@ -7149,7 +6397,6 @@ declare class Fire extends Instance SecondaryColor: Color3 Size: number TimeScale: number - function FastForward(self, numFrames: number): nil end @@ -7170,7 +6417,7 @@ declare class FloatCurve extends Instance function GetKeyAtIndex(self, index: number): FloatCurveKey function GetKeyIndicesAtTime(self, time: number): { any } function GetKeys(self): { any } - function GetValueAtTime(self, time: number): number? + function GetValueAtTime(self, time: number): float? function InsertKey(self, key: FloatCurveKey): { any } function RemoveKeyAtIndex(self, startingIndex: number, count: number?): number function SetKeys(self, keys: { any }): number @@ -7178,16 +6425,6 @@ end -declare class FluidForceSensor extends SensorBase - CenterOfPressure: Vector3 - Force: Vector3 - Torque: Vector3 - function EvaluateAsync(self, linearVelocity: Vector3, angularVelocity: Vector3, cframe: CFrame): any -end - -declare class FlyweightService extends Instance -end - declare class Folder extends Instance end @@ -7206,8 +6443,6 @@ declare class FriendPages extends Pages end declare class FriendService extends Instance - FriendsUpdated: RBXScriptSignal<{ any }> - function GetPlatformFriends(self): { any } end @@ -7218,29 +6453,15 @@ end declare class GameSettings extends Instance VideoCaptureEnabled: boolean VideoRecording: boolean - VideoRecordingChangeRequest: RBXScriptSignal end declare class GamepadService extends Instance GamepadCursorEnabled: boolean - GamepadThumbstick1Changed: RBXScriptSignal function DisableGamepadCursor(self): nil function EnableGamepadCursor(self, guiObject: Instance): nil - function GetGamepadCursorPosition(self): Vector2 - function SetGamepadCursorPosition(self, position: Vector2): nil end declare class GenericChallengeService extends Instance - ChallengeAbandonedEvent: RBXScriptSignal - ChallengeCompletedEvent: RBXScriptSignal - ChallengeInvalidatedEvent: RBXScriptSignal - ChallengeLoadedEvent: RBXScriptSignal - ChallengeRequiredEvent: RBXScriptSignal - function SignalChallengeAbandoned(self, challengeID: string): nil - function SignalChallengeCompleted(self, challengeID: string, challengeType: string, challengeMetadata: string): nil - function SignalChallengeInvalidated(self, challengeID: string): nil - function SignalChallengeLoaded(self, challengeID: string, success: boolean): nil - function SignalChallengeRequired(self, challengeID: string, challengeType: string, challengeMetadata: string): nil end declare class GenericSettings extends ServiceProvider @@ -7251,15 +6472,13 @@ end declare class GeometryService extends Instance function CalculateConstraintsToPreserve(self, source: Instance, destination: { any }, options: { [any]: any }?): { any } - function HashMeshAsync(self, meshId: Content): string function IntersectAsync(self, part: Instance, parts: { any }, options: { [any]: any }?): { any } - function StitchMeshesAsync(self, meshParts: { any }): Content function SubtractAsync(self, part: Instance, parts: { any }, options: { [any]: any }?): { any } function UnionAsync(self, part: Instance, parts: { any }, options: { [any]: any }?): { any } end declare class GetTextBoundsParams extends Instance - Font: Font + Font: EnumFont RichText: boolean Size: number Text: string @@ -7293,12 +6512,6 @@ declare class GroundController extends ControllerBase TurnSpeedFactor: number end -declare class GroupImportData extends BaseImportData - Anchored: boolean - ImportAsModelAsset: boolean - InsertInWorkspace: boolean -end - declare class GroupService extends Instance function GetAlliesAsync(self, groupId: number): StandardPages function GetEnemiesAsync(self, groupId: number): StandardPages @@ -7314,9 +6527,6 @@ declare class GuiBase2d extends GuiBase AbsoluteRotation: number AbsoluteSize: Vector2 AutoLocalize: boolean - ClippedRect: Rect - IsNotOccluded: boolean - RawRect2D: Rect RootLocalizationTable: LocalizationTable SelectionBehaviorDown: EnumSelectionBehavior SelectionBehaviorLeft: EnumSelectionBehavior @@ -7324,7 +6534,6 @@ declare class GuiBase2d extends GuiBase SelectionBehaviorUp: EnumSelectionBehavior SelectionChanged: RBXScriptSignal SelectionGroup: boolean - TotalGroupScale: number end declare class GuiBase3d extends GuiBase @@ -7386,105 +6595,49 @@ declare class GuiObject extends GuiBase2d SelectionOrder: number Size: UDim2 SizeConstraint: EnumSizeConstraint - TouchLongPress: RBXScriptSignal<{ Vector2 }, EnumUserInputState> - TouchPan: RBXScriptSignal<{ Vector2 }, Vector2, Vector2, EnumUserInputState> - TouchPinch: RBXScriptSignal<{ Vector2 }, number, number, EnumUserInputState> - TouchRotate: RBXScriptSignal<{ Vector2 }, number, number, EnumUserInputState> + TouchLongPress: RBXScriptSignal<{ any }, EnumUserInputState> + TouchPan: RBXScriptSignal<{ any }, Vector2, Vector2, EnumUserInputState> + TouchPinch: RBXScriptSignal<{ any }, number, number, EnumUserInputState> + TouchRotate: RBXScriptSignal<{ any }, number, number, EnumUserInputState> TouchSwipe: RBXScriptSignal - TouchTap: RBXScriptSignal<{ Vector2 }> + TouchTap: RBXScriptSignal<{ any }> Transparency: number Visible: boolean ZIndex: number - function TweenPosition(self, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean - function TweenSize(self, endSize: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean - function TweenSizeAndPosition(self, endSize: UDim2, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean + function TweenPosition(self, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean + function TweenSize(self, endSize: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean + function TweenSizeAndPosition(self, endSize: UDim2, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean end declare class GuiService extends Instance AutoSelectGuiEnabled: boolean - CloseInspectMenuRequest: RBXScriptSignal<> - CoreEffectFolder: Folder - CoreGuiFolder: Folder CoreGuiNavigationEnabled: boolean - CoreGuiRenderOverflowed: RBXScriptSignal<> - EmotesMenuOpenChanged: RBXScriptSignal GuiNavigationEnabled: boolean - GuiVisibilityChangedSignal: RBXScriptSignal - InspectMenuEnabledChangedSignal: RBXScriptSignal - InspectPlayerFromHumanoidDescriptionRequest: RBXScriptSignal - InspectPlayerFromUserIdWithCtxRequest: RBXScriptSignal - KeyPressed: RBXScriptSignal MenuClosed: RBXScriptSignal<> MenuIsOpen: boolean MenuOpened: RBXScriptSignal<> - NativeClose: RBXScriptSignal<> - NetworkPausedEnabledChanged: RBXScriptSignal - Open9SliceEditor: RBXScriptSignal - OpenStyleEditor: RBXScriptSignal PreferredTextSize: EnumPreferredTextSize PreferredTransparency: number - PurchasePromptShown: RBXScriptSignal<> ReducedMotionEnabled: boolean - SafeZoneOffsetsChanged: RBXScriptSignal<> - SelectedCoreObject: GuiObject SelectedObject: GuiObject? - SendCoreUiNotification: (title: string, text: string) -> nil - ShowLeaveConfirmation: RBXScriptSignal<> - SpecialKeyPressed: RBXScriptSignal TopbarInset: Rect TouchControlsEnabled: boolean - UiMessageChanged: RBXScriptSignal - function AddCenterDialog(self, dialog: Instance, centerDialogType: EnumCenterDialogType, showFunction: ((...any) -> ...any), hideFunction: ((...any) -> ...any)): nil - function AddKey(self, key: string): nil - function AddSpecialKey(self, key: EnumSpecialKey): nil - function BroadcastNotification(self, data: string, notificationType: number): nil - function ClearError(self): nil function CloseInspectMenu(self): nil - function CloseStatsBasedOnInputString(self, input: string): boolean function DismissNotification(self, notificationId: string): boolean - function ForceTenFootInterface(self, isForced: boolean): nil - function GetBrickCount(self): number - function GetClosestDialogToPosition(self, position: Vector3): Instance function GetEmotesMenuOpen(self): boolean - function GetErrorCode(self): EnumConnectionError - function GetErrorType(self): EnumConnectionError function GetGameplayPausedNotificationEnabled(self): boolean - function GetGuiInset(self): (Vector2, Vector2) - function GetGuiIsVisible(self, guiType: EnumGuiType): boolean - function GetHardwareSafeViewport(self): Vector2 + function GetGuiInset(self): any function GetInspectMenuEnabled(self): boolean - function GetNotificationTypeList(self): { [any]: any } - function GetResolutionScale(self): number - function GetSafeZoneOffsets(self): { [any]: any } - function GetScreenResolution(self): Vector2 - function GetUiMessage(self): string - function InspectPlayerFromHumanoidDescription(self, humanoidDescription: HumanoidDescription, name: string): nil + function InspectPlayerFromHumanoidDescription(self, humanoidDescription: Instance, name: string): nil function InspectPlayerFromUserId(self, userId: number): nil - function InspectPlayerFromUserIdWithCtx(self, userId: number, ctx: string): nil - function IsMemoryTrackerEnabled(self): boolean function IsTenFootInterface(self): boolean function NotificationDismissed(self, notificationId: string): nil function NotificationDisplayed(self, notificationId: string): nil - function RemoveCenterDialog(self, dialog: Instance): nil - function RemoveKey(self, key: string): nil - function RemoveSpecialKey(self, key: EnumSpecialKey): nil function Select(self, selectionParent: Instance): nil function SendNotification(self, notificationInfo: { [any]: any }): string - function SendUIOcclusionMetricsForQueryRegion(self, position: UDim2, size: UDim2, regionName: string): nil function SetEmotesMenuOpen(self, isOpen: boolean): nil function SetGameplayPausedNotificationEnabled(self, enabled: boolean): nil - function SetGlobalGuiInset(self, x1: number, y1: number, x2: number, y2: number): nil - function SetHardwareSafeAreaInsets(self, left: number, top: number, right: number, bottom: number): nil function SetInspectMenuEnabled(self, enabled: boolean): nil - function SetMenuIsOpen(self, open: boolean, menuName: string?): nil - function SetPurchasePromptIsShown(self, isShown: boolean): nil - function SetSafeZoneOffsets(self, top: number, bottom: number, left: number, right: number): nil - function SetTopbarInset(self, topbarInset: Rect): nil - function SetUiMessage(self, msgType: EnumUiMessageType, uiMessage: string?): nil - function ShowStatsBasedOnInputString(self, input: string): boolean - function ToggleFullscreen(self): nil - function ToggleGuiIsVisibleForCaptures(self, guiType: EnumGuiType): nil - function ToggleGuiIsVisibleIfAllowed(self, guiType: EnumGuiType): nil function UserInteractedWithNotification(self, notificationId: string, buttonIndex: number): nil end @@ -7538,18 +6691,7 @@ end -declare class HeatmapService extends Instance -end - declare class HeightmapImporterService extends Instance - ColormapHasUnknownPixels: RBXScriptSignal<> - ProgressUpdate: RBXScriptSignal - function CancelImportHeightmap(self): nil - function GetHeightmapPreviewAsync(self, heightmapAssetId: Content): any - function ImportHeightmap(self, region: Region3, heightmapAssetId: Content, colormapAssetId: Content, defaultMaterial: EnumMaterial): nil - function IsValidColormap(self, colormapAssetId: Content): any - function IsValidHeightmap(self, heightmapAssetId: Content): any - function SetImportHeightmapPaused(self, paused: boolean): nil end declare class HiddenSurfaceRemovalAsset extends Instance @@ -7561,10 +6703,8 @@ declare class Highlight extends Instance Enabled: boolean FillColor: Color3 FillTransparency: number - LineThickness: number OutlineColor: Color3 OutlineTransparency: number - ReservedId: EnumReservedHighlightId end declare class HingeConstraint extends Constraint @@ -7593,33 +6733,18 @@ end declare class HttpRbxApiService extends Instance - function GetAsync(self, apiUrlPath: string, priority: EnumThrottlingPriority?, httpRequestType: EnumHttpRequestType?): string - function GetAsyncFullUrl(self, apiUrl: string, priority: EnumThrottlingPriority?, httpRequestType: EnumHttpRequestType?): string - function GetDocumentationUrl(self, partialUrl: string): string - function PostAsync(self, apiUrlPath: string, data: string, priority: EnumThrottlingPriority?, content_type: EnumHttpContentType?, httpRequestType: EnumHttpRequestType?): string - function PostAsyncFullUrl(self, apiUrl: string, data: string, priority: EnumThrottlingPriority?, content_type: EnumHttpContentType?, httpRequestType: EnumHttpRequestType?): string - function RequestAsync(self, requestOptions: { [any]: any }, priority: EnumThrottlingPriority?, content_type: EnumHttpContentType?, httpRequestType: EnumHttpRequestType?): string function RequestLimitedAsync(self, requestOptions: { [any]: any }, priority: EnumThrottlingPriority?, content_type: EnumHttpContentType?, httpRequestType: EnumHttpRequestType?): string end -declare class HttpRequest extends Instance - function Cancel(self): nil - function Start(self, callback: ((...any) -> ...any)): nil -end - declare class HttpService extends Instance HttpEnabled: boolean function GenerateGUID(self, wrapInCurlyBraces: boolean?): string - function GetAsync(self, url: any, nocache: boolean?, headers: any): string - function GetHttpEnabled(self): boolean + function GetAsync(self, url: any, nocache: boolean, headers: any): string function GetSecret(self, key: string): Secret - function GetUserAgent(self): string function JSONDecode(self, input: string): any function JSONEncode(self, input: any): string - function PostAsync(self, url: any, data: string, content_type: EnumHttpContentType?, compress: boolean?, headers: any): string + function PostAsync(self, url: any, data: string, content_type: EnumHttpContentType?, compress: boolean, headers: any): string function RequestAsync(self, options: HttpRequestOptions): HttpResponseData - function RequestInternal(self, options: { [any]: any }): Instance - function SetHttpEnabled(self, enabled: boolean): nil function UrlEncode(self, input: string): string end @@ -7631,11 +6756,9 @@ declare class Humanoid extends Instance BreakJointsOnDeath: boolean CameraOffset: Vector3 Climbing: RBXScriptSignal - ClusterCompositionFinished: RBXScriptSignal<> Died: RBXScriptSignal<> DisplayDistanceType: EnumHumanoidDisplayDistanceType DisplayName: string - EmoteTriggered: RBXScriptSignal EvaluateStateMachine: boolean FallingDown: RBXScriptSignal FloorMaterial: EnumMaterial @@ -7646,7 +6769,6 @@ declare class Humanoid extends Instance HealthDisplayDistance: number HealthDisplayType: EnumHumanoidHealthDisplayType HipHeight: number - InternalDisplayName: string Jump: boolean JumpHeight: number JumpPower: number @@ -7665,7 +6787,7 @@ declare class Humanoid extends Instance RootPart: BasePart? Running: RBXScriptSignal SeatPart: Seat | VehicleSeat | nil - Seated: RBXScriptSignal + Seated: RBXScriptSignal Sit: boolean StateChanged: RBXScriptSignal StateEnabledChanged: RBXScriptSignal @@ -7677,29 +6799,24 @@ declare class Humanoid extends Instance WalkSpeed: number WalkToPart: BasePart? WalkToPoint: Vector3 - function AddAccessory(self, accessory: Accessory): nil + function AddAccessory(self, accessory: Instance): nil function ApplyDescription(self, humanoidDescription: HumanoidDescription, assetTypeVerification: EnumAssetTypeVerification?): nil - function ApplyDescriptionClientServer(self, humanoidDescription: HumanoidDescription): nil function ApplyDescriptionReset(self, humanoidDescription: HumanoidDescription, assetTypeVerification: EnumAssetTypeVerification?): nil function BuildRigFromAttachments(self): nil - function CacheDefaults(self): nil function ChangeState(self, state: EnumHumanoidStateType?): nil - function EquipTool(self, tool: Tool): nil + function EquipTool(self, tool: Instance): nil function GetAccessories(self): { Accessory } - function GetAccessoryHandleScale(self, instance: Instance, partType: EnumBodyPartR15): Vector3 function GetAppliedDescription(self): HumanoidDescription - function GetBodyPartR15(self, part: BasePart): EnumBodyPartR15 - function GetLimb(self, part: BasePart): EnumLimb + function GetBodyPartR15(self, part: Instance): EnumBodyPartR15 + function GetLimb(self, part: Instance): EnumLimb function GetMoveVelocity(self): Vector3 function GetState(self): EnumHumanoidStateType function GetStateEnabled(self, state: EnumHumanoidStateType): boolean - function Move(self, moveDirection: Vector3, relativeToCamera: boolean?): nil - function MoveTo(self, location: Vector3, part: BasePart?): nil + function Move(self, moveDirection: Vector3, relativeToCamera: boolean): nil + function MoveTo(self, location: Vector3, part: Instance?): nil function PlayEmote(self, emoteName: string): boolean - function PlayEmoteAndGetAnimTrackById(self, emoteId: number): any function RemoveAccessories(self): nil function ReplaceBodyPartR15(self, bodyPart: EnumBodyPartR15, part: BasePart): boolean - function SetClickToWalkEnabled(self, enabled: boolean): nil function SetStateEnabled(self, state: EnumHumanoidStateType, enabled: boolean): nil function TakeDamage(self, amount: number): nil function UnequipTools(self): nil @@ -7735,10 +6852,8 @@ declare class HumanoidDescription extends Instance LeftLegColor: Color3 MoodAnimation: number NeckAccessory: string - NumberEmotesLoaded: number Pants: number ProportionScale: number - ResetIncludesBodyParts: boolean RightArm: number RightArmColor: Color3 RightLeg: number @@ -7785,25 +6900,7 @@ end declare class ILegacyStudioBridge extends Instance end -declare class IXPService extends Instance - OnBrowserTrackerLayerLoadingStatusChanged: RBXScriptSignal - OnUserLayerLoadingStatusChanged: RBXScriptSignal - function ClearUserLayers(self): nil - function GetBrowserTrackerLayerLoadingStatus(self): EnumIXPLoadingStatus - function GetBrowserTrackerLayerVariables(self, layerName: string): { [any]: any } - function GetBrowserTrackerStatusForLayer(self, layerName: string): EnumIXPLoadingStatus? - function GetRegisteredUserLayersToStatus(self): { [any]: any } - function GetUserLayerLoadingStatus(self): EnumIXPLoadingStatus - function GetUserLayerVariables(self, layerName: string): { [any]: any } - function GetUserStatusForLayer(self, layerName: string): EnumIXPLoadingStatus? - function InitializeUserLayers(self, userId: number): nil - function LogBrowserTrackerLayerExposure(self, layerName: string): nil - function LogUserLayerExposure(self, layerName: string): nil - function RegisterUserLayers(self, userLayers: any): nil -end - declare class ImageButton extends GuiButton - ContentImageSize: Vector2 HoverImage: Content Image: Content ImageColor3: Color3 @@ -7817,7 +6914,6 @@ declare class ImageButton extends GuiButton SliceCenter: Rect SliceScale: number TileSize: UDim2 - function SetEnableContentImageSizeChangedEvents(self, enabled: boolean): nil end declare class ImageHandleAdornment extends HandleAdornment @@ -7826,7 +6922,6 @@ declare class ImageHandleAdornment extends HandleAdornment end declare class ImageLabel extends GuiLabel - ContentImageSize: Vector2 Image: Content ImageColor3: Color3 ImageRectOffset: Vector2 @@ -7838,7 +6933,6 @@ declare class ImageLabel extends GuiLabel SliceCenter: Rect SliceScale: number TileSize: UDim2 - function SetEnableContentImageSizeChangedEvents(self, enabled: boolean): nil end declare class IncrementalPatchBuilder extends Instance @@ -7864,13 +6958,8 @@ declare class InsertService extends Instance function GetFreeDecals(self, searchText: string, pageNum: number): { any } function GetFreeModels(self, searchText: string, pageNum: number): { any } function GetLatestAssetVersionAsync(self, assetId: number): number - function GetLocalFileContents(self, contentId: string): string function LoadAsset(self, assetId: number): Instance function LoadAssetVersion(self, assetVersionId: number): Instance - function LoadAssetWithFormat(self, assetId: number, format: string): { Instance } - function LoadLocalAsset(self, assetPath: string): Instance - function LoadPackageAsset(self, url: Content): { Instance } - function LoadPackageAssetAsync(self, url: Content): { Instance } end declare class Instance @@ -7889,7 +6978,7 @@ declare class Instance Parent: Instance? RobloxLocked: boolean Sandboxed: boolean - SourceAssetId: number + UniqueId: UniqueId function AddTag(self, tag: string): nil function ClearAllChildren(self): nil function Clone(self): Instance @@ -7907,7 +6996,7 @@ declare class Instance function GetAttributes(self): { [string]: unknown } function GetChildren(self): { Instance } function GetDebugId(self, scopeLength: number?): string - function GetDescendants(self): { Instance } + function GetDescendants(self): { any } function GetFullName(self): string function GetPropertyChangedSignal(self, property: string): RBXScriptSignal<> function GetStyled(self, name: string): any @@ -7916,9 +7005,7 @@ declare class Instance function IsA(self, className: string): boolean function IsAncestorOf(self, descendant: Instance): boolean function IsDescendantOf(self, ancestor: Instance): boolean - function IsPropertyModified(self, name: string): boolean function RemoveTag(self, tag: string): nil - function ResetPropertyToDefault(self, name: string): nil function SetAttribute(self, attribute: string, value: any): nil function WaitForChild(self, name: string): Instance function WaitForChild(self, name: string, timeout: number): Instance? @@ -7941,9 +7028,6 @@ end declare class InventoryPages extends Pages end -declare class JointImportData extends BaseImportData -end - declare class JointInstance extends Instance Active: boolean C0: CFrame @@ -7960,12 +7044,12 @@ end declare class Keyframe extends Instance Time: number - function AddMarker(self, marker: KeyframeMarker): nil - function AddPose(self, pose: Pose): nil + function AddMarker(self, marker: Instance): nil + function AddPose(self, pose: Instance): nil function GetMarkers(self): { Instance } function GetPoses(self): { Instance } function RemoveMarker(self, marker: Instance): nil - function RemovePose(self, pose: Pose): nil + function RemovePose(self, pose: Instance): nil end declare class KeyframeMarker extends Instance @@ -7974,22 +7058,18 @@ end declare class KeyframeSequence extends AnimationClip AuthoredHipHeight: number - function AddKeyframe(self, keyframe: Keyframe): nil + function AddKeyframe(self, keyframe: Instance): nil function GetKeyframes(self): { Instance } - function RemoveKeyframe(self, keyframe: Keyframe): nil + function RemoveKeyframe(self, keyframe: Instance): nil end declare class KeyframeSequenceProvider extends Instance function GetAnimations(self, userId: number): Instance function GetKeyframeSequenceAsync(self, assetId: Content): Instance - function GetMemStats(self): { [any]: any } function RegisterActiveKeyframeSequence(self, keyframeSequence: Instance): Content function RegisterKeyframeSequence(self, keyframeSequence: Instance): Content end -declare class LSPFileSyncService extends Instance -end - declare class LanguageService extends Instance end @@ -7997,10 +7077,6 @@ declare class LayerCollector extends GuiBase2d Enabled: boolean ResetOnSpawn: boolean ZIndexBehavior: EnumZIndexBehavior - function GetGuiObjectsAtPosition(self, x: number, y: number): { Instance } -end - -declare class LegacyStudioBridge extends ILegacyStudioBridge end declare class Light extends Instance @@ -8030,7 +7106,6 @@ declare class Lighting extends Instance Quality: EnumQuality ShadowSoftness: number Technology: EnumTechnology - TempUseNewSkyRemovalBehaviour: boolean TimeOfDay: string function GetMinutesAfterMidnight(self): number function GetMoonDirection(self): Vector3 @@ -8068,66 +7143,24 @@ declare class LinearVelocity extends Constraint VelocityConstraintMode: EnumVelocityConstraintMode end -declare class LinkingService extends Instance - OnLuaUrl: RBXScriptSignal - function DetectUrl(self, url: string): nil - function GetAndClearLastPendingUrl(self): { [any]: any } - function GetLastLuaUrl(self): string? - function IsUrlRegistered(self, url: string): boolean - function OpenUrl(self, url: string): boolean - function RegisterLuaUrl(self, url: string): nil - function StartLuaUrlDelivery(self): { [any]: any }? - function StopLuaUrlDelivery(self): nil - function SupportsSwitchToSettingsApp(self): boolean - function SwitchToSettingsApp(self, route: string?): nil -end - -declare class LiveScriptingService extends Instance -end - -declare class LocalDebuggerConnection extends DebuggerConnection -end - declare class LocalScript extends Script end -declare class LocalStorageService extends Instance - ItemWasSet: RBXScriptSignal - StoreWasCleared: RBXScriptSignal<> - function Flush(self): nil - function GetItem(self, key: string): string - function SetItem(self, key: string, value: string): nil - function WhenLoaded(self, callback: ((...any) -> ...any)): nil -end - declare class LocalizationService extends Instance - AutoTranslateWillRun: RBXScriptSignal<> - ForcePlayModeGameLocaleId: string - ForcePlayModeRobloxLocaleId: string - IsTextScraperRunning: boolean - RobloxForcePlayModeGameLocaleId: string - RobloxForcePlayModeRobloxLocaleId: string RobloxLocaleId: string SystemLocaleId: string function GetCorescriptLocalizations(self): { Instance } - function GetCountryRegionForPlayerAsync(self, player: Player): string + function GetCountryRegionForPlayerAsync(self, player: Instance): string function GetTableEntries(self, instance: Instance?): { any } - function GetTranslatorForLocaleAsync(self, locale: string): Translator - function GetTranslatorForPlayer(self, player: Player): Translator - function GetTranslatorForPlayerAsync(self, player: Player): Translator - function PromptDownloadGameTableToCSV(self, table: Instance): nil - function PromptExportToCSVs(self): nil - function PromptImportFromCSVs(self): nil - function PromptUploadCSVToGameTable(self): Instance - function SetRobloxLocaleId(self, locale: string): nil - function StartTextScraper(self): nil - function StopTextScraper(self): nil + function GetTranslatorForLocaleAsync(self, locale: string): Instance + function GetTranslatorForPlayer(self, player: Instance): Instance + function GetTranslatorForPlayerAsync(self, player: Instance): Instance end declare class LocalizationTable extends Instance SourceLocaleId: string function GetEntries(self): { any } - function GetTranslator(self, localeId: string): Translator + function GetTranslator(self, localeId: string): Instance function RemoveEntry(self, key: string, source: string, context: string): nil function RemoveEntryValue(self, key: string, source: string, context: string, localeId: string): nil function RemoveTargetLocale(self, localeId: string): nil @@ -8137,34 +7170,12 @@ declare class LocalizationTable extends Instance function SetEntryKey(self, key: string, source: string, context: string, newKey: string): nil function SetEntrySource(self, key: string, source: string, context: string, newSource: string): nil function SetEntryValue(self, key: string, source: string, context: string, localeId: string, text: string): nil - function SetIsExemptFromUGCAnalytics(self, value: boolean): nil -end - -declare class LodDataEntity extends Instance - EntityLodEnabled: boolean -end - -declare class LodDataService extends Instance -end - -declare class LogReporterService extends Instance - function ReportLog(self, fingerprint: string, uuid: string, desc: string, attributes: { [any]: any }, annotations: { [any]: any }): boolean - function ReportMultipleLogs(self, fingerprint: string, uuid: string, desc: string, attributes: { [any]: any }, annotations: { [any]: any }, numLogs: number): boolean end declare class LogService extends Instance - HttpResultOut: RBXScriptSignal<{ [any]: any }> MessageOut: RBXScriptSignal - OnHttpResultApproved: RBXScriptSignal - ServerHttpResultOut: RBXScriptSignal<{ [any]: any }> - ServerMessageOut: RBXScriptSignal function ClearOutput(self): nil - function ExecuteScript(self, source: string): nil - function GetHttpResultHistory(self): { any } function GetLogHistory(self): { any } - function RequestHttpResultApproved(self): nil - function RequestServerHttpResult(self): nil - function RequestServerOutput(self): nil end declare class LoginService extends Instance @@ -8179,9 +7190,6 @@ end declare class LuaWebService extends Instance end -declare class LuauScriptAnalyzerService extends Instance -end - @@ -8197,117 +7205,82 @@ declare class MarkerCurve extends Instance end declare class MarketplaceService extends Instance - ClientLuaDialogRequested: RBXScriptSignal - ClientPurchaseSuccess: RBXScriptSignal - NativePurchaseFinished: RBXScriptSignal - NativePurchaseFinishedWithLocalPlayer: RBXScriptSignal - PrepareCollectiblesPurchaseRequested: RBXScriptSignal ProcessReceipt: (receiptInfo: { [any]: any }) -> EnumProductPurchaseDecision PromptBulkPurchaseFinished: RBXScriptSignal - PromptBulkPurchaseRequested: RBXScriptSignal PromptBundlePurchaseFinished: RBXScriptSignal - PromptBundlePurchaseRequested: RBXScriptSignal - PromptCancelSubscriptionRequested: RBXScriptSignal - PromptCollectibleBundlePurchaseRequested: RBXScriptSignal - PromptCollectiblesPurchaseRequested: RBXScriptSignal - PromptGamePassPurchaseFinished: RBXScriptSignal - PromptGamePassPurchaseRequested: RBXScriptSignal + PromptGamePassPurchaseFinished: RBXScriptSignal PromptPremiumPurchaseFinished: RBXScriptSignal<> - PromptPremiumPurchaseRequested: RBXScriptSignal PromptProductPurchaseFinished: RBXScriptSignal - PromptProductPurchaseRequested: RBXScriptSignal - PromptPurchaseFinished: RBXScriptSignal - PromptPurchaseRequested: RBXScriptSignal - PromptPurchaseRequestedV2: RBXScriptSignal - PromptRobloxPurchaseRequested: RBXScriptSignal + PromptPurchaseFinished: RBXScriptSignal PromptSubscriptionPurchaseFinished: RBXScriptSignal - PromptSubscriptionPurchaseRequested: RBXScriptSignal - ServerPurchaseVerification: RBXScriptSignal<{ [any]: any }> - ThirdPartyPurchaseFinished: RBXScriptSignal UserSubscriptionStatusChanged: RBXScriptSignal - function GetDeveloperProductsAsync(self): Pages + function GetDeveloperProductsAsync(self): Instance function GetDeveloperProductsForExperienceDetailsPageAsync(self): Instance function GetProductInfo(self, assetId: number, infoType: EnumInfoType?): { [any]: any } - function GetRobuxBalance(self): number function GetSubscriptionProductInfoAsync(self, subscriptionId: string): { [any]: any } - function GetSubscriptionPurchaseInfoAsync(self, subscriptionId: string): { [any]: any } function GetUserSubscriptionDetailsAsync(self, user: Player, subscriptionId: string): { [any]: any } - function GetUserSubscriptionDetailsInternalAsync(self, subscriptionId: string): { [any]: any } function GetUserSubscriptionPaymentHistoryAsync(self, user: Player, subscriptionId: string): { any } function GetUserSubscriptionStatusAsync(self, user: Player, subscriptionId: string): { [any]: any } - function PerformBulkPurchase(self, orderRequest: { [any]: any }, options: { [any]: any }): { [any]: any } function PerformCancelSubscription(self, subscriptionId: string): nil - function PerformPurchase(self, infoType: EnumInfoType, productId: number, expectedPrice: number, requestId: string, isRobloxPurchase: boolean, collectibleItemId: string?, collectibleProductId: string?, idempotencyKey: string?, purchaseAuthToken: string?): { [any]: any } - function PerformPurchaseV2(self, infoType: EnumInfoType, productId: number, expectedPrice: number, requestId: string, isRobloxPurchase: boolean, collectiblesProductDetails: { [any]: any }): { [any]: any } - function PerformSubscriptionPurchase(self, subscriptionId: string): string - function PerformSubscriptionPurchaseV2(self, subscriptionId: string, paymentProvider: string): nil - function PlayerCanMakePurchases(self, player: Instance): boolean - function PlayerOwnsAsset(self, player: Player, assetId: number): boolean + function PlayerOwnsAsset(self, player: Instance, assetId: number): boolean function PlayerOwnsBundle(self, player: Player, bundleId: number): boolean - function PrepareCollectiblesPurchase(self, player: Instance, assetId: number, collectibleItemId: string, collectibleItemInstanceId: string, collectibleProductId: string, expectedPrice: number): nil function PromptBulkPurchase(self, player: Player, lineItems: { any }, options: { [any]: any }): nil - function PromptBundlePurchase(self, player: Player, bundleId: number): nil + function PromptBundlePurchase(self, player: Instance, bundleId: number): nil function PromptCancelSubscription(self, user: Player, subscriptionId: string): nil - function PromptCollectiblesPurchase(self, player: Instance, assetId: number, collectibleItemId: string, collectibleItemInstanceId: string, collectibleProductId: string, expectedPrice: number): nil - function PromptGamePassPurchase(self, player: Player, gamePassId: number): nil - function PromptNativePurchase(self, player: Instance, productId: string): nil - function PromptNativePurchaseWithLocalPlayer(self, productId: string): nil - function PromptPremiumPurchase(self, player: Player): nil - function PromptProductPurchase(self, player: Player, productId: number, equipIfPurchased: boolean?, currencyType: EnumCurrencyType?): nil - function PromptPurchase(self, player: Player, assetId: number, equipIfPurchased: boolean?, currencyType: EnumCurrencyType?): nil - function PromptRobloxPurchase(self, assetId: number, equipIfPurchased: boolean): nil + function PromptGamePassPurchase(self, player: Instance, gamePassId: number): nil + function PromptPremiumPurchase(self, player: Instance): nil + function PromptProductPurchase(self, player: Instance, productId: number, equipIfPurchased: boolean?, currencyType: EnumCurrencyType?): nil + function PromptPurchase(self, player: Instance, assetId: number, equipIfPurchased: boolean?, currencyType: EnumCurrencyType?): nil function PromptSubscriptionPurchase(self, user: Player, subscriptionId: string): nil - function PromptThirdPartyPurchase(self, player: Instance, productId: string): nil - function ReportAssetSale(self, assetId: string, robuxAmount: number): nil - function ReportRobuxUpsellStarted(self): nil - function SignalAssetTypePurchased(self, player: Instance, assetType: EnumAssetType): nil - function SignalClientPurchaseSuccess(self, ticket: string, playerId: number, productId: number): nil - function SignalMockPurchasePremium(self): nil - function SignalPromptBulkPurchaseFinished(self, status: EnumMarketplaceBulkPurchasePromptStatus, results: { [any]: any }): nil - function SignalPromptBundlePurchaseFinished(self, player: Instance, bundleId: number, success: boolean): nil - function SignalPromptGamePassPurchaseFinished(self, player: Instance, gamePassId: number, success: boolean): nil - function SignalPromptPremiumPurchaseFinished(self, didTryPurchasing: boolean): nil - function SignalPromptProductPurchaseFinished(self, userId: number, productId: number, success: boolean): nil - function SignalPromptPurchaseFinished(self, player: Instance, assetId: number, success: boolean): nil - function SignalPromptSubscriptionPurchaseFinished(self, subscriptionId: string, didTryPurchasing: boolean): nil - function SignalServerLuaDialogClosed(self, value: boolean): nil function SignalUserSubscriptionStatusChanged(self, subscriptionId: string): nil function UserOwnsGamePassAsync(self, userId: number, gamePassId: number): boolean end -declare class MaterialGenerationService extends Instance - function DEPRECATED_GenerateMaterialVariantsAync(self, prompt: string, samples: number): { Instance } - function DEPRECATED_UploadMaterialVariantsAsync(self, materialVaraints: { Instance }): nil - function GenerateMaterialVariantsAsync(self, prompt: string, samples: number): { [any]: any } - function StartSession(self): MaterialGenerationSession -end - -declare class MaterialGenerationSession extends Instance - function GenerateImagesAsync(self, prompt: string, options: { [any]: any }): any - function GenerateMaterialMapsAsync(self, imageId: string): { [any]: any } - function UploadMaterialAsync(self, imageId: string): { [any]: any } -end - -declare class MaterialImportData extends BaseImportData - DiffuseFilePath: string - IsPbr: boolean - MetalnessFilePath: string - NormalFilePath: string - RoughnessFilePath: string -end - declare class MaterialService extends Instance - MaterialFillToolEnabledChanged: RBXScriptSignal - OverrideStatusChanged: RBXScriptSignal + AsphaltName: string + BasaltName: string + BrickName: string + CardboardName: string + CarpetName: string + CeramicTilesName: string + ClayRoofTilesName: string + CobblestoneName: string + ConcreteName: string + CorrodedMetalName: string + CrackedLavaName: string + DiamondPlateName: string + FabricName: string + FoilName: string + GlacierName: string + GraniteName: string + GrassName: string + GroundName: string + IceName: string + LeafyGrassName: string + LeatherName: string + LimestoneName: string + MarbleName: string + MetalName: string + MudName: string + PavementName: string + PebbleName: string + PlasterName: string + PlasticName: string + RockName: string + RoofShinglesName: string + RubberName: string + SaltName: string + SandName: string + SandstoneName: string + SlateName: string + SmoothPlasticName: string + SnowName: string Use2022Materials: boolean + WoodName: string + WoodPlanksName: string function GetBaseMaterialOverride(self, material: EnumMaterial): string - function GetIsMaterialActionAsToolEnabled(self): boolean - function GetMaterialOverrideChanged(self, material: EnumMaterial): RBXScriptSignal function GetMaterialVariant(self, material: EnumMaterial, name: string): MaterialVariant - function GetOverrideStatus(self, material: EnumMaterial): EnumPropertyStatus function SetBaseMaterialOverride(self, material: EnumMaterial, name: string): nil - function SetCurrentMaterial(self, baseMaterial: EnumMaterial, materialVariant: string): nil - function ToggleMaterialFillToolEnabled(self): nil end declare class MaterialVariant extends Instance @@ -8326,14 +7299,6 @@ declare class MemStorageConnection extends Instance end declare class MemStorageService extends Instance - function Bind(self, key: string, callback: ((...any) -> ...any)): MemStorageConnection - function BindAndFire(self, key: string, callback: ((...any) -> ...any)): MemStorageConnection - function Call(self, key: string, input: any): any - function Fire(self, key: string, value: string?): nil - function GetItem(self, key: string, defaultValue: string?): string - function HasItem(self, key: string): boolean - function RemoveItem(self, key: string): boolean - function SetItem(self, key: string, value: string?): nil end declare class MemoryStoreHashMap extends Instance @@ -8348,8 +7313,8 @@ declare class MemoryStoreHashMapPages extends Pages end declare class MemoryStoreQueue extends Instance - function AddAsync(self, value: any, expiration: number, priority: number?): nil - function ReadAsync(self, count: number, allOrNothing: boolean?, waitTimeout: number?): any + function AddAsync(self, value: any, expiration: number, priority: number): nil + function ReadAsync(self, count: number, allOrNothing: boolean, waitTimeout: number?): any function RemoveAsync(self, id: string): nil end @@ -8368,30 +7333,6 @@ declare class MemoryStoreSortedMap extends Instance end declare class MeshContentProvider extends CacheableContentProvider - function GetContentMemoryData(self): { [any]: any } -end - -declare class MeshImportData extends BaseImportData - Anchored: boolean - CageManifold: boolean - CageMeshIntersectedPreview: boolean - CageMeshNotIntersected: boolean - CageNoOverlappingVertices: boolean - CageNonManifoldPreview: boolean - CageOverlappingVerticesPreview: boolean - CageUVMatched: boolean - CageUVMisMatchedPreview: boolean - Dimensions: Vector3 - DoubleSided: boolean - IgnoreVertexColors: boolean - IrrelevantCageModifiedPreview: boolean - MeshHoleDetectedPreview: boolean - MeshNoHoleDetected: boolean - NoIrrelevantCageModified: boolean - NoOuterCageFarExtendedFromMesh: boolean - OuterCageFarExtendedFromMeshPreview: boolean - PolygonCount: number - UseImportedPivot: boolean end declare class MeshPart extends TriangleMeshPart @@ -8402,70 +7343,16 @@ declare class MeshPart extends TriangleMeshPart MeshId: Content RenderFidelity: EnumRenderFidelity TextureID: Content - function ApplyMesh(self, meshPart: MeshPart): nil + function ApplyMesh(self, meshPart: Instance): nil end -declare class MessageBusConnection extends Instance - function Disconnect(self): nil -end - -declare class MessageBusService extends Instance - function Call(self, key: string, input: any): any - function GetLast(self, mid: string): any - function GetMessageId(self, domainName: string, messageName: string): string - function GetProtocolMethodRequestMessageId(self, protocolName: string, methodName: string): string - function GetProtocolMethodResponseMessageId(self, protocolName: string, methodName: string): string - function MakeRequest(self, protocolName: string, methodName: string, message: any, callback: ((...any) -> ...any), customTelemetryData: any): nil - function Publish(self, mid: string, params: any): nil - function PublishProtocolMethodRequest(self, protocolName: string, methodName: string, message: any, customTelemetryData: any): nil - function PublishProtocolMethodResponse(self, protocolName: string, methodName: string, message: any, responseCode: number, customTelemetryData: any): nil - function SetRequestHandler(self, protocolName: string, methodName: string, callback: ((...any) -> ...any)): nil - function Subscribe(self, mid: string, callback: ((...any) -> ...any), once: boolean, sticky: boolean): Instance - function SubscribeToProtocolMethodRequest(self, protocolName: string, methodName: string, callback: ((...any) -> ...any), once: boolean, sticky: boolean): Instance - function SubscribeToProtocolMethodResponse(self, protocolName: string, methodName: string, callback: ((...any) -> ...any), once: boolean, sticky: boolean): Instance -end - declare class MessagingService extends Instance function PublishAsync(self, topic: string, message: any): nil function SubscribeAsync(self, topic: string, callback: ((...any) -> ...any)): RBXScriptConnection end -declare class MetaBreakpoint extends Instance - Condition: string - ContinueExecution: boolean - Enabled: boolean - Id: number - IsLogpoint: boolean - Line: number - LogMessage: string - RemoveOnHit: boolean - Script: string - Valid: boolean - function GetContextBreakpoints(self): { [any]: any } - function Remove(self, status: ((...any) -> ...any)): number - function SetChildBreakpointEnabledByScriptAndContext(self, script: string, contextGST: number, enabled: boolean): nil - function SetContextEnabled(self, context: number, enabled: boolean): nil - function SetContinueExecution(self, enabled: boolean): nil - function SetEnabled(self, enabled: boolean): nil - function SetLine(self, line: number, status: ((...any) -> ...any)): number - function SetRemoveOnHit(self, enabled: boolean): nil -end - -declare class MetaBreakpointContext extends Instance -end - -declare class MetaBreakpointManager extends Instance - MetaBreakpointAdded: RBXScriptSignal - MetaBreakpointChanged: RBXScriptSignal - MetaBreakpointRemoved: RBXScriptSignal - MetaBreakpointSetChanged: RBXScriptSignal - function AddBreakpoint(self, script: Instance, line: number, condition: Instance): Instance - function GetBreakpointById(self, metaBreakpointId: number): MetaBreakpoint - function RemoveBreakpointById(self, metaBreakpointId: number): nil -end - declare class Model extends PVInstance LevelOfDetail: EnumModelLevelOfDetail ModelStreamingMode: EnumModelStreamingMode @@ -8473,7 +7360,7 @@ declare class Model extends PVInstance Scale: number WorldPivot: CFrame function AddPersistentPlayer(self, playerInstance: Player?): nil - function GetBoundingBox(self): (CFrame, Vector3) + function GetBoundingBox(self): any function GetExtentsSize(self): Vector3 function GetPersistentPlayers(self): { Instance } function GetScale(self): number @@ -8525,14 +7412,9 @@ declare class Mouse extends Instance end declare class MouseService extends Instance - MouseEnterStudioViewport: RBXScriptSignal<> - MouseLeaveStudioViewport: RBXScriptSignal<> end declare class MultipleDocumentInterfaceInstance extends Instance - DataModelSessionEnded: RBXScriptSignal - DataModelSessionStarted: RBXScriptSignal - FocusedDataModelSession: DataModelSession end declare class NegateOperation extends PartOperation @@ -8579,32 +7461,11 @@ declare class NoCollisionConstraint extends Instance Part1: BasePart end -declare class Noise extends Instance - NoiseType: EnumNoiseType - Seed: number - function SampleDirectional(self, position: Vector3, direction: Vector3): number - function SampleUniform(self, position: Vector3): number -end - -declare class NonReplicatedCSGDictionaryService extends FlyweightService -end - declare class NotificationService extends Instance - IsConnected: boolean - IsLuaChatEnabled: boolean IsLuaGameDetailsEnabled: boolean Roblox17sConnectionChanged: RBXScriptSignal Roblox17sEventReceived: RBXScriptSignal<{ [any]: any }> - RobloxConnectionChanged: RBXScriptSignal - RobloxEventReceived: RBXScriptSignal<{ [any]: any }> SelectedTheme: string - function ActionEnabled(self, actionType: EnumAppShellActionType): nil - function ActionTaken(self, actionType: EnumAppShellActionType): nil - function CancelAllNotification(self, userId: number): nil - function CancelNotification(self, userId: number, alertId: number): nil - function GetScheduledNotifications(self, userId: number): { any } - function ScheduleNotification(self, userId: number, alertId: number, alertMsg: string, minutesToFire: number): nil - function SwitchedToAppShellFeature(self, appShellFeature: EnumAppShellFeature): nil end declare class NumberPose extends PoseBase @@ -8621,12 +7482,6 @@ declare class ObjectValue extends ValueBase Value: Instance? end -declare class OmniRecommendationsService extends Instance - function ClearSessionId(self): nil - function GetSessionId(self): string - function MakeRequest(self, nextPageToken: string): HttpRequest -end - declare class OpenCloudApiV1 extends Instance function CreateModel(self, name: string): OpenCloudModel function CreateUserNotificationAsync(self, user: string, userNotification: OpenCloudModel): OpenCloudModel @@ -8634,13 +7489,7 @@ end declare class OpenCloudService extends Instance function GetApiV1(self): OpenCloudApiV1 - function HttpRequestAsync(self, options: { [any]: any }): { [any]: any } function InvokeAsync(self, version: string, methodName: string, arguments: { [any]: any }): { [any]: any } - function RegisterOpenCloud(self, version: string, methodName: string, method: ((...any) -> ...any)): nil - function RegistrationComplete(self): nil -end - -declare class OperationGraph extends Instance end declare class OrderedDataStore extends GlobalDataStore @@ -8680,15 +7529,6 @@ end declare class PackageService extends Instance end -declare class PackageUIService extends Instance - OnConvertToPackageResult: RBXScriptSignal - OnOpenConvertToPackagePlugin: RBXScriptSignal<{ Instance }, string, { Instance }> - function ConvertToPackageUpload(self, uploadUrl: string, cloneInstances: { Instance }, originalInstances: { Instance }): nil - function GetPackageInfo(self, packageAssetId: number): { [any]: any } - function PublishPackage(self, packageInstance: Instance, addUndoWayPoint: boolean): nil - function SetPackageVersion(self, packageInstance: Instance, versionNumber: number): Instance -end - declare class Pages extends Instance IsFinished: boolean function AdvanceToNextPageAsync(self): nil @@ -8699,15 +7539,6 @@ declare class Pants extends Clothing PantsTemplate: Content end -declare class ParabolaAdornment extends PVAdornment - A: number - B: number - C: number - Range: number - Thickness: number - function FindPartOnParabola(self, ignoreDescendentsTable: { Instance }): any -end - declare class Part extends FormFactorPart Shape: EnumPartType end @@ -8764,7 +7595,6 @@ declare class ParticleEmitter extends Instance ZOffset: number function Clear(self): nil function Emit(self, particleCount: number?): nil - function FastForward(self, numFrames: number): nil end declare class PatchBundlerFileWatch extends Instance @@ -8792,7 +7622,6 @@ declare class Path2D extends GuiBase SelectedControlPoint: number SelectedControlPointData: Path2DControlPoint Thickness: number - Transparency: number Visible: boolean ZIndex: number function GetBoundingRect(self): Rect @@ -8802,7 +7631,6 @@ declare class Path2D extends GuiBase function GetMaxControlPoints(self): number function GetPositionOnCurve(self, t: number): UDim2 function GetPositionOnCurveArcLength(self, t: number): UDim2 - function GetSegmentCount(self): number function GetTangentOnCurve(self, t: number): Vector2 function GetTangentOnCurveArcLength(self, t: number): Vector2 function InsertControlPoint(self, index: number, point: Path2DControlPoint): nil @@ -8828,26 +7656,7 @@ declare class PathfindingService extends Instance function FindPathAsync(self, start: Vector3, finish: Vector3): Path end -declare class PausedState extends Instance - AllThreadsPaused: boolean - Reason: EnumDebuggerPauseReason - ThreadId: number -end - -declare class PausedStateBreakpoint extends PausedState - Breakpoint: Breakpoint -end - -declare class PausedStateException extends PausedState - ExceptionText: string -end - declare class PermissionsService extends Instance - function GetIsThirdPartyAssetAllowed(self): boolean - function GetIsThirdPartyPurchaseAllowed(self): boolean - function GetIsThirdPartyTeleportAllowed(self): boolean - function GetPermissions(self, assetId: string): { any } - function SetPermissions(self, assetId: string, permissions: { any }): nil end declare class PhysicsService extends Instance @@ -8855,9 +7664,7 @@ declare class PhysicsService extends Instance function CollisionGroupsAreCollidable(self, name1: string, name2: string): boolean function GetMaxCollisionGroups(self): number function GetRegisteredCollisionGroups(self): { any } - function IkSolve(self, part: BasePart, target: CFrame, translateStiffness: number, rotateStiffness: number): nil function IsCollisionGroupRegistered(self, name: string): boolean - function LocalIkSolve(self, part: BasePart, target: CFrame, translateStiffness: number, rotateStiffness: number): nil function RegisterCollisionGroup(self, name: string): nil function RenameCollisionGroup(self, from: string, to: string): nil function UnregisterCollisionGroup(self, name: string): nil @@ -8918,12 +7725,7 @@ declare class PitchShiftSoundEffect extends SoundEffect Octave: number end -declare class PlaceStatsService extends Instance -end - -declare class PlacesService extends Instance - function StartPlaySolo(self): nil - function StopPlaySolo(self): nil +declare class PlacesService extends Instance end @@ -8934,20 +7736,6 @@ end declare class Platform extends Part end -declare class PlatformCloudStorageService extends Instance - function GetUserDataAsync(self, key: string): { [any]: any } - function IsUserDataAvailable(self): boolean - function SetUserDataAsync(self, key: string, data: { [any]: any }): nil -end - -declare class PlatformFriendsService extends Instance - function GetPartyMembers(self): { any } - function IsInviteFriendsEnabled(self): boolean - function IsProfileEnabled(self): boolean - function ShowInviteFriendsUI(self): nil - function ShowProfile(self, platformUserId: string): nil -end - declare class Player extends Instance AccountAge: number AutoJumpEnabled: boolean @@ -8960,7 +7748,6 @@ declare class Player extends Instance CharacterAppearanceId: number CharacterAppearanceLoaded: RBXScriptSignal CharacterRemoving: RBXScriptSignal - ChatMode: EnumChatMode Chatted: RBXScriptSignal DevCameraOcclusionMode: EnumDevCameraOcclusionMode DevComputerCameraMode: EnumDevComputerCameraMovementMode @@ -8970,76 +7757,39 @@ declare class Player extends Instance DevTouchMovementMode: EnumDevTouchMovementMode DisplayName: string FollowUserId: number - FriendStatusChanged: RBXScriptSignal GameplayPaused: boolean - Guest: boolean HasVerifiedBadge: boolean HealthDisplayDistance: number Idled: RBXScriptSignal LocaleId: string - MaximumSimulationRadius: number MembershipType: EnumMembershipType NameDisplayDistance: number Neutral: boolean OnTeleport: RBXScriptSignal - OsPlatform: string - PlatformName: string ReplicationFocus: Instance RespawnLocation: SpawnLocation - SimulationRadius: number - SimulationRadiusChanged: RBXScriptSignal Team: Team TeamColor: BrickColor - Teleported: boolean - TeleportedIn: boolean - UnfilteredChat: boolean UserId: number - VRDevice: string - VREnabled: boolean - function AddToBlockList(self, userIds: { any }): nil function ClearCharacterAppearance(self): nil function DistanceFromCharacter(self, point: Vector3): number - function GetFriendStatus(self, player: Player): EnumFriendStatus function GetFriendsOnline(self, maxFriends: number?): { any } function GetJoinData(self): { LaunchData: string?, Members: {number}?, SourceGameId: number?, SourcePlaceId: number?, TeleportData: TeleportData? } function GetMouse(self): Mouse function GetNetworkPing(self): number function GetRankInGroup(self, groupId: number): number function GetRoleInGroup(self, groupId: number): string - function GetUnder13(self): boolean function HasAppearanceLoaded(self): boolean function IsFriendsWith(self, userId: number): boolean function IsInGroup(self, groupId: number): boolean function IsVerified(self): boolean - function Kick(self, message: string?): nil + function Kick(self, message: string): nil function LoadCharacter(self): nil - function LoadCharacterBlocking(self): nil function LoadCharacterWithHumanoidDescription(self, humanoidDescription: HumanoidDescription): nil - function Move(self, walkDirection: Vector3, relativeToCamera: boolean?): nil - function RemoveCharacter(self): nil - function RequestFriendship(self, player: Player): nil - function RequestStreamAroundAsync(self, position: Vector3, timeOut: number?): nil - function RevokeFriendship(self, player: Player): nil + function Move(self, walkDirection: Vector3, relativeToCamera: boolean): nil + function RequestStreamAroundAsync(self, position: Vector3, timeOut: number): nil function SetAccountAge(self, accountAge: number): nil - function SetBlockListInitialized(self): nil - function SetCharacterAppearanceJson(self, jsonBlob: string): nil - function SetChatTranslationSettingsLocaleId(self, locale: string): nil - function SetExperienceSettingsLocaleId(self, locale: string): nil - function SetMembershipType(self, membershipType: EnumMembershipType): nil - function SetModerationAccessKey(self, moderationAccessKey: string): nil function SetSuperSafeChat(self, value: boolean): nil - function UpdatePlayerBlocked(self, userId: number, blocked: boolean): nil -end - -declare class PlayerEmulatorService extends Instance - CustomPoliciesEnabled: boolean - EmulatedCountryCode: string - EmulatedGameLocale: string - PlayerEmulationEnabled: boolean - PseudolocalizationEnabled: boolean - function GetEmulatedPolicyInfo(self): { [any]: any } - function RegionCodeWillHaveAutomaticNonCustomPolicies(self, regionCode: string): boolean - function SetEmulatedPolicyInfo(self, emulatedPolicyInfo: { [any]: any }): nil end declare class PlayerGui extends BasePlayerGui @@ -9048,25 +7798,14 @@ declare class PlayerGui extends BasePlayerGui SelectionImageObject: GuiObject end -declare class PlayerHydrationService extends Instance -end - declare class PlayerMouse extends Mouse end declare class PlayerScripts extends Instance - ComputerCameraMovementModeRegistered: RBXScriptSignal<> - ComputerMovementModeRegistered: RBXScriptSignal<> - TouchCameraMovementModeRegistered: RBXScriptSignal<> - TouchMovementModeRegistered: RBXScriptSignal<> function ClearComputerCameraMovementModes(self): nil function ClearComputerMovementModes(self): nil function ClearTouchCameraMovementModes(self): nil function ClearTouchMovementModes(self): nil - function GetRegisteredComputerCameraMovementModes(self): { any } - function GetRegisteredComputerMovementModes(self): { any } - function GetRegisteredTouchCameraMovementModes(self): { any } - function GetRegisteredTouchMovementModes(self): { any } function RegisterComputerCameraMovementMode(self, cameraMovementMode: EnumComputerCameraMovementMode): nil function RegisterComputerMovementMode(self, movementMode: EnumComputerMovementMode): nil function RegisterTouchCameraMovementMode(self, cameraMovementMode: EnumTouchCameraMovementMode): nil @@ -9075,29 +7814,19 @@ end declare class PlayerViewService extends Instance function GetDeviceCameraCFrame(self, player: Player?): CFrame - function GetDeviceCameraCFrameForSelfView(self): CFrame - function OnCameraCFrameReplicationRequest(self): nil - function UpdateDeviceCFrame(self, player: Player?, cframe: CFrame?, timestamp: number?): nil end declare class Players extends Instance BubbleChat: boolean CharacterAutoLoads: boolean ClassicChat: boolean - FriendRequestEvent: RBXScriptSignal - GameAnnounce: RBXScriptSignal LocalPlayer: Player MaxPlayers: number - MaxPlayersInternal: number PlayerAdded: RBXScriptSignal PlayerChatted: RBXScriptSignal - PlayerConnecting: RBXScriptSignal - PlayerDisconnecting: RBXScriptSignal PlayerMembershipChanged: RBXScriptSignal - PlayerRejoining: RBXScriptSignal PlayerRemoving: RBXScriptSignal PreferredPlayers: number - PreferredPlayersInternal: number RespawnTime: number UseStrafingAnimations: boolean UserSubscriptionStatusChanged: RBXScriptSignal @@ -9105,7 +7834,6 @@ declare class Players extends Instance function Chat(self, message: string): nil function CreateHumanoidModelFromDescription(self, description: HumanoidDescription, rigType: EnumHumanoidRigType, assetTypeVerification: EnumAssetTypeVerification?): Model function CreateHumanoidModelFromUserId(self, userId: number): Model - function CreateLocalPlayer(self): Player function GetBanHistoryAsync(self, userId: number): BanHistoryPages function GetCharacterAppearanceInfoAsync(self, userId: number): { [any]: any } function GetFriendsAsync(self, userId: number): FriendPages @@ -9114,80 +7842,50 @@ declare class Players extends Instance function GetNameFromUserIdAsync(self, userId: number): string function GetPlayerByUserId(self, userId: number): Player? function GetPlayerFromCharacter(self, character: Model): Player? - function GetPlayers(self): { Player } + function GetPlayers(self): { Instance } function GetUserIdFromNameAsync(self, userName: string): number - function GetUserThumbnailAsync(self, userId: number, thumbnailType: EnumThumbnailType, thumbnailSize: EnumThumbnailSize): (string, boolean) - function ReportAbuse(self, player: Player, reason: string, optionalMessage: string): nil - function ReportAbuseV3(self, player: Player, jsonTags: string): nil - function ReportChatAbuse(self, eligibleChatLines: { any }, targetChatLines: { any }, tags: { [any]: any }): nil - function ResetLocalPlayer(self): nil + function GetUserThumbnailAsync(self, userId: number, thumbnailType: EnumThumbnailType, thumbnailSize: EnumThumbnailSize): any function SetChatStyle(self, style: EnumChatStyle?): nil - function SetLocalPlayerInfo(self, userId: number, userName: string, displayName: string, membershipType: EnumMembershipType, isUnder13: boolean): nil function TeamChat(self, message: string): nil function UnbanAsync(self, config: { [any]: any }): nil - function WhisperChat(self, message: string, player: Instance): nil end declare class Plugin extends Instance CollisionEnabled: boolean Deactivation: RBXScriptSignal<> GridSize: number - HostDataModelType: EnumStudioDataModelType - HostDataModelTypeIsCurrent: boolean - MultipleDocumentInterfaceInstance: MultipleDocumentInterfaceInstance - ProcessAssetInsertionDrag: (assetId: string, assetTypeId: number, instances: { Instance }) -> { Instance } - ProcessAssetInsertionDrop: () -> nil - Ready: RBXScriptSignal<> Unloading: RBXScriptSignal<> - UsesAssetInsertionDrag: boolean function Activate(self, exclusiveMouse: boolean): nil function CreateDockWidgetPluginGui(self, pluginGuiId: string, dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo): DockWidgetPluginGui - function CreatePluginAction(self, actionId: string, text: string, statusTip: string, iconName: string?, allowBinding: boolean?): PluginAction - function CreatePluginMenu(self, id: string, title: string?, icon: string?): PluginMenu - function CreateQWidgetPluginGui(self, pluginGuiId: string, pluginGuiOptions: { [any]: any }): QWidgetPluginGui + function CreatePluginAction(self, actionId: string, text: string, statusTip: string, iconName: string, allowBinding: boolean?): PluginAction + function CreatePluginMenu(self, id: string, title: string, icon: string): PluginMenu function CreateToolbar(self, name: string): PluginToolbar function Deactivate(self): nil - function GetItem(self, key: string, defaultValue: any): any function GetJoinMode(self): EnumJointCreationMode function GetMouse(self): PluginMouse - function GetPluginComponent(self, name: string): { [any]: any } function GetSelectedRibbonTool(self): EnumRibbonTool function GetSetting(self, key: string): any - function GetUri(self): { [any]: any } function ImportFbxAnimation(self, rigModel: Instance, isR15: boolean?): Instance function ImportFbxRig(self, isR15: boolean?): Instance function Intersect(self, objects: { Instance }): Instance - function Invoke(self, key: string, arguments: any): nil function IsActivated(self): boolean function IsActivatedWithExclusiveMouse(self): boolean - function Negate(self, objects: { Instance }): { NegateOperation } - function OnInvoke(self, key: string, callback: ((...any) -> ...any)): Instance - function OnSetItem(self, key: string, callback: ((...any) -> ...any)): Instance + function Negate(self, objects: { Instance }): { Instance } function OpenScript(self, script: LuaSourceContainer, lineNumber: number?): nil function OpenWikiPage(self, url: string): nil - function PauseSound(self, sound: Instance): nil - function PlaySound(self, sound: Instance, normalizedTimePosition: number?): nil function PromptForExistingAssetId(self, assetType: string): number - function PromptSaveSelection(self, suggestedFileName: string?): boolean - function ResumeSound(self, sound: Instance): nil + function PromptSaveSelection(self, suggestedFileName: string): boolean function SaveSelectedToRoblox(self): nil function SelectRibbonTool(self, tool: EnumRibbonTool, position: UDim2): nil - function Separate(self, objects: { Instance }): { UnionOperation } - function SetItem(self, key: string, value: any): nil - function SetReady(self): nil + function Separate(self, objects: { Instance }): { Instance } function SetSetting(self, key: string, value: any): nil - function StartDecalDrag(self, decal: Instance): nil function StartDrag(self, dragData: { [any]: any }): nil - function StopAllSounds(self): nil - function Union(self, objects: { Instance }): UnionOperation + function Union(self, objects: { Instance }): Instance end declare class PluginAction extends Instance ActionId: string AllowBinding: boolean - Checked: boolean - DefaultShortcut: string - Enabled: boolean StatusTip: string Text: string Triggered: RBXScriptSignal<> @@ -9223,52 +7921,43 @@ declare class PluginGuiService extends Instance end declare class PluginManagementService extends Instance - function GetOTAPluginVersion(self, pluginName: string?): number - function SetAutoUpdate(self, pluginId: number, state: boolean): nil end declare class PluginManager extends Instance - function ExportPlace(self, filePath: string?): nil - function ExportSelection(self, filePath: string?): nil + function ExportPlace(self, filePath: string): nil + function ExportSelection(self, filePath: string): nil end declare class PluginManagerInterface extends Instance - function ExportPlace(self, filePath: string?): nil - function ExportSelection(self, filePath: string?): nil + function ExportPlace(self, filePath: string): nil + function ExportSelection(self, filePath: string): nil end declare class PluginMenu extends Instance Icon: string Title: string - function AddAction(self, action: PluginAction): nil - function AddMenu(self, menu: PluginMenu): nil - function AddNewAction(self, actionId: string, text: string, icon: string?): PluginAction + function AddAction(self, action: Instance): nil + function AddMenu(self, menu: Instance): nil + function AddNewAction(self, actionId: string, text: string, icon: string): Instance function AddSeparator(self): nil function Clear(self): nil - function ShowAsync(self): PluginAction + function ShowAsync(self): Instance end declare class PluginMouse extends Mouse DragEnter: RBXScriptSignal<{ Instance }> end -declare class PluginPolicyService extends Instance - function GetPluginPolicy(self, pluginName: string): { [any]: any } -end - declare class PluginToolbar extends Instance function CreateButton(self, id: string, toolTip: string, iconAsset: string, text: string?): PluginToolbarButton - function CreatePopupButton(self, buttonId: string, tooltip: string, iconname: string, text: string?): PluginToolbarButton end declare class PluginToolbarButton extends Instance Click: RBXScriptSignal<> ClickableWhenViewportHidden: boolean - DropdownClick: RBXScriptSignal<> Enabled: boolean Icon: Content function SetActive(self, active: boolean): nil - function SetDropdownActive(self, active: boolean): nil end declare class PointLight extends Light @@ -9278,17 +7967,14 @@ end declare class PolicyService extends Instance - IsLuobuServer: EnumTriStateBoolean - LuobuWhitelisted: EnumTriStateBoolean - function GetPolicyInfoForPlayerAsync(self, player: Player): { [any]: any } - function GetPolicyInfoForServerRobloxOnlyAsync(self): { [any]: any } + function GetPolicyInfoForPlayerAsync(self, player: Instance): { [any]: any } end declare class Pose extends PoseBase CFrame: CFrame - function AddSubPose(self, pose: Pose): nil + function AddSubPose(self, pose: Instance): nil function GetSubPoses(self): { Instance } - function RemoveSubPose(self, pose: Pose): nil + function RemoveSubPose(self, pose: Instance): nil end declare class PoseBase extends Instance @@ -9344,56 +8030,16 @@ declare class ProximityPromptService extends Instance end declare class PublishService extends Instance - function CreateAssetAndWaitForAssetId(self, instances: { Instance }, operationId: string, creatorType: EnumAssetCreatorType, creatorId: number, assetType: string, name: string, description: string, expectedPrice: number?): number - function CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsync(self, serializedInstance: string, creatorType: EnumAssetCreatorType, creatorId: number, assetType: string, assetId: number, name: string, description: string, token: string, contentType: string, expectedPrice: number?): { [any]: any } - function CreateAssetOrAssetVersionAndPollAssetWithTelemetryAsyncWithAddParam(self, serializedInstance: string, publishInfo: { [any]: any }): { [any]: any } - function PublishCageMeshAsync(self, wrap: Instance, cageType: EnumCageType): Content - function PublishDescendantAssets(self, instance: Instance): boolean end declare class QWidgetPluginGui extends PluginGui end -declare class RTAnimationTracker extends Instance - Active: boolean - EnableFallbackAudioInput: boolean - SessionName: string - TrackerError: RBXScriptSignal - TrackerMode: EnumTrackerMode - TrackerPrompt: RBXScriptSignal - TrackerType: EnumTrackerType - function Step(self): nil -end - declare class RayValue extends ValueBase Changed: RBXScriptSignal Value: Ray end -declare class RbxAnalyticsService extends Instance - function AddGlobalPointsField(self, key: string, value: number): nil - function AddGlobalPointsTag(self, key: string, value: string): nil - function DEPRECATED_TrackEvent(self, category: string, action: string, label: string, value: number?): nil - function DEPRECATED_TrackEventWithArgs(self, category: string, action: string, label: string, args: { [any]: any }, value: number?): nil - function GetClientId(self): string - function GetPlaySessionId(self): string - function GetSessionId(self): string - function ReleaseRBXEventStream(self, target: string): nil - function RemoveGlobalPointsField(self, key: string): nil - function RemoveGlobalPointsTag(self, key: string): nil - function ReportCounter(self, counterName: string, amount: number?): nil - function ReportInfluxSeries(self, seriesName: string, points: { [any]: any }, throttlingPercentage: number): nil - function ReportStats(self, category: string, value: number): nil - function ReportToDiagByCountryCode(self, featureName: string, measureName: string, seconds: number): nil - function SendEventDeferred(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SendEventImmediately(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SetRBXEvent(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function SetRBXEventStream(self, target: string, eventContext: string, eventName: string, additionalArgs: { [any]: any }): nil - function TrackEvent(self, category: string, action: string, label: string, value: number?): nil - function TrackEventWithArgs(self, category: string, action: string, label: string, args: { [any]: any }, value: number?): nil - function UpdateHeartbeatObject(self, args: { [any]: any }): nil -end - declare class ReflectionMetadata extends Instance end @@ -9453,13 +8099,6 @@ end declare class ReflectionMetadataYieldFunctions extends Instance end -declare class ReflectionService extends Instance - function GetPropertyNames(self, name: string): { any } -end - -declare class RemoteCursorService extends Instance -end - declare class RemoteDebuggerServer extends Instance end @@ -9517,13 +8156,7 @@ declare class RenderingTest extends Instance end declare class ReplicatedFirst extends Instance - DefaultLoadingGuiRemoved: RBXScriptSignal<> - FinishedReplicating: RBXScriptSignal<> - RemoveDefaultLoadingGuiSignal: RBXScriptSignal<> - function IsDefaultLoadingGuiRemoved(self): boolean - function IsFinishedReplicating(self): boolean function RemoveDefaultLoadingScreen(self): nil - function SetDefaultLoadingGuiRemoved(self): nil end declare class ReplicatedStorage extends Instance @@ -9537,32 +8170,9 @@ declare class ReverbSoundEffect extends SoundEffect WetLevel: number end -declare class RibbonNotificationService extends Instance - AllNotificationsReadFromRibbon: RBXScriptSignal<> - NewNotificationFromRibbon: RBXScriptSignal - NotificationReadFromRibbon: RBXScriptSignal - ToggleNotificationTray: RBXScriptSignal - function OnNotificationUpdateFromPlugin(self, newNotificationId: string, seenNotificationId: string): nil -end - declare class RigidConstraint extends Constraint end -declare class RobloxEditableImage extends EditableImage -end - -declare class RobloxEditableMesh extends EditableMesh -end - -declare class RobloxPluginGuiService extends Instance -end - -declare class RobloxReplicatedStorage extends Instance -end - -declare class RobloxServerStorage extends Instance -end - declare class RodConstraint extends Constraint @@ -9574,38 +8184,6 @@ declare class RodConstraint extends Constraint Thickness: number end -declare class RomarkService extends Instance - function EndRemoteRomarkTest(self): nil -end - -declare class RootImportData extends BaseImportData - AddModelToInventory: boolean - Anchored: boolean - AnimationIdForRestPose: number - ExistingPackageId: string - FileDimensions: Vector3 - ImportAsModelAsset: boolean - ImportAsPackage: boolean - InsertInWorkspace: boolean - InsertWithScenePosition: boolean - InvertNegativeFaces: boolean - KeepZeroInfluenceBones: boolean - MergeMeshes: boolean - PolygonCount: number - PreferredUploadId: number - RestPose: EnumRestPose - RigScale: EnumRigScale - RigType: EnumRigType - RigVisualization: boolean - ScaleUnit: EnumMeshScaleUnit - UseSceneOriginAsCFrame: boolean - UseSceneOriginAsPivot: boolean - UsesCages: boolean - ValidateUgcBody: boolean - WorldForward: EnumNormalId - WorldUp: EnumNormalId -end - declare class RopeConstraint extends Constraint CurrentDistance: number Length: number @@ -9629,15 +8207,12 @@ declare class RotationCurve extends Instance function GetKeyAtIndex(self, index: number): RotationCurveKey function GetKeyIndicesAtTime(self, time: number): { any } function GetKeys(self): { any } - function GetValueAtTime(self, time: number): CFrame? + function GetValueAtTime(self, time: number): CoordinateFrame? function InsertKey(self, key: RotationCurveKey): { any } function RemoveKeyAtIndex(self, startingIndex: number, count: number?): number function SetKeys(self, keys: { any }): number end -declare class RtMessagingService extends Instance -end - declare class RunService extends Instance ClientGitHash: string Heartbeat: RBXScriptSignal @@ -9646,14 +8221,9 @@ declare class RunService extends Instance PreRender: RBXScriptSignal PreSimulation: RBXScriptSignal RenderStepped: RBXScriptSignal - RobloxGuiFocusedChanged: RBXScriptSignal RunState: EnumRunState Stepped: RBXScriptSignal function BindToRenderStep(self, name: string, priority: number, func: ((delta: number) -> ())): () - function GetCoreScriptVersion(self): string - function GetRobloxClientChannel(self): string - function GetRobloxGuiFocused(self): boolean - function GetRobloxVersion(self): string function IsClient(self): boolean function IsEdit(self): boolean function IsRunMode(self): boolean @@ -9662,11 +8232,8 @@ declare class RunService extends Instance function IsStudio(self): boolean function Pause(self): nil function Run(self): nil - function Set3dRenderingEnabled(self, enable: boolean): nil - function SetRobloxGuiFocused(self, focus: boolean): nil function Stop(self): nil function UnbindFromRenderStep(self, name: string): nil - function setThrottleFramerateEnabled(self, enable: boolean): nil end declare class RunningAverageItemDouble extends StatsItem @@ -9678,21 +8245,10 @@ end declare class RunningAverageTimeIntervalItem extends StatsItem end -declare class RuntimeScriptService extends Instance -end - -declare class SafetyService extends Instance - IsCaptureModeForReport: boolean - ScreenshotContentReady: RBXScriptSignal - ScreenshotUploaded: RBXScriptSignal - function TakeScreenshot(self, screenshotOptions: { [any]: any }): number -end - declare class ScreenGui extends LayerCollector ClipToDeviceSafeArea: boolean DisplayOrder: number IgnoreGuiInset: boolean - OnTopOfCoreBlur: boolean SafeAreaCompatibility: EnumSafeAreaCompatibility ScreenInsets: EnumScreenInsets end @@ -9709,70 +8265,15 @@ end declare class Script extends BaseScript Source: ProtectedString - function GetHash(self): string end declare class ScriptBuilder extends Instance end -declare class ScriptChangeService extends Instance - ScriptAdded: RBXScriptSignal - ScriptBeingRemoved: RBXScriptSignal - ScriptChanged: RBXScriptSignal - ScriptFullNameChanged: RBXScriptSignal - ScriptSourceChanged: RBXScriptSignal -end - -declare class ScriptCloneWatcher extends Instance -end - -declare class ScriptCloneWatcherHelper extends Instance -end - -declare class ScriptCommitService extends Instance -end - declare class ScriptContext extends Instance Error: RBXScriptSignal - ErrorDetailed: RBXScriptSignal - ScriptsDisabled: boolean - function AddCoreScriptLocal(self, name: string, parent: Instance): nil - function ClearScriptProfilingData(self): nil - function DeserializeScriptProfilerString(self, jsonString: string?): { [any]: any } - function GetCoverageStats(self): { any } - function GetLuauHeapInstanceReferenceReport(self, target: string): { [any]: any } - function GetLuauHeapMemoryReport(self, target: string): { [any]: any } - function GetScriptProfilingData(self): string function ReportLuaRequireCount(self): nil - function SaveScriptProfilingData(self, jsonString: string, filename: string): string function SetTimeout(self, seconds: number): nil - function StartScriptProfiling(self, frequency: number?): nil - function StopScriptProfiling(self): string -end - -declare class ScriptDebugger extends Instance - BreakpointAdded: RBXScriptSignal - BreakpointRemoved: RBXScriptSignal - CurrentLine: number - EncounteredBreak: RBXScriptSignal - IsDebugging: boolean - IsPaused: boolean - Resuming: RBXScriptSignal<> - Script: Instance - WatchAdded: RBXScriptSignal - WatchRemoved: RBXScriptSignal - function AddWatch(self, expression: string): Instance - function GetBreakpoints(self): { Instance } - function GetGlobals(self, stackFrame: number?): { [any]: any } - function GetLocals(self, stackFrame: number?): { [any]: any } - function GetStack(self): { any } - function GetUpvalues(self, stackFrame: number?): { [any]: any } - function GetWatchValue(self, watch: Instance): any - function GetWatches(self): { Instance } - function SetBreakpoint(self, line: number, isContextDependentBreakpoint: boolean): Instance - function SetGlobal(self, name: string, value: any, stackFrame: number): nil - function SetLocal(self, name: string, value: any, stackFrame: number?): nil - function SetUpvalue(self, name: string, value: any, stackFrame: number?): nil end declare class ScriptDocument extends Instance @@ -9780,20 +8281,19 @@ declare class ScriptDocument extends Instance ViewportChanged: RBXScriptSignal function CloseAsync(self): any function EditTextAsync(self, newText: string, startLine: number, startCharacter: number, endLine: number, endCharacter: number): any - function ForceSetSelectionAsync(self, cursorLine: number, cursorCharacter: number, anchorLine: number?, anchorCharacter: number?): any - function GetInternalUri(self): string - function GetLine(self, lineIndex: number?): string + function ForceSetSelectionAsync(self, cursorLine: number, cursorCharacter: number, anchorLine: int??, anchorCharacter: int??): any + function GetLine(self, lineIndex: int??): string function GetLineCount(self): number function GetScript(self): LuaSourceContainer function GetSelectedText(self): string function GetSelection(self): any function GetSelectionEnd(self): any function GetSelectionStart(self): any - function GetText(self, startLine: number?, startCharacter: number?, endLine: number?, endCharacter: number?): string + function GetText(self, startLine: int??, startCharacter: int??, endLine: int??, endCharacter: int??): string function GetViewport(self): any function HasSelectedText(self): boolean function IsCommandBar(self): boolean - function RequestSetSelectionAsync(self, cursorLine: number, cursorCharacter: number, anchorLine: number?, anchorCharacter: number?): any + function RequestSetSelectionAsync(self, cursorLine: number, cursorCharacter: number, anchorLine: int??, anchorCharacter: int??): any end declare class ScriptEditorService extends Instance @@ -9802,39 +8302,26 @@ declare class ScriptEditorService extends Instance TextDocumentDidOpen: RBXScriptSignal function DeregisterAutocompleteCallback(self, name: string): nil function DeregisterScriptAnalysisCallback(self, name: string): nil - function EditSourceAsyncWithRanges(self, script: LuaSourceContainer, newText: string, startLine: number, startCharacter: number, endLine: number, endCharacter: number): any function FindScriptDocument(self, script: LuaSourceContainer): ScriptDocument - function ForceReloadSource(self, uri: string, newsrc: string): nil function GetEditorSource(self, script: LuaSourceContainer): string function GetScriptDocuments(self): { Instance } - function IsAutocompleteCallbackRegistered(self, name: string): boolean - function IsScriptAnalysisCallbackRegistered(self, name: string): boolean function OpenScriptDocumentAsync(self, script: LuaSourceContainer): any function RegisterAutocompleteCallback(self, name: string, priority: number, callbackFunction: ((...any) -> ...any)): nil function RegisterScriptAnalysisCallback(self, name: string, priority: number, callbackFunction: ((...any) -> ...any)): nil - function StripComments(self, code: string): string function UpdateSourceAsync(self, script: LuaSourceContainer, callback: ((...any) -> ...any)): nil end declare class ScriptProfilerService extends Instance OnNewData: RBXScriptSignal function ClientRequestData(self, player: Player): nil - function ClientStart(self, player: Player, frequency: number?): nil + function ClientStart(self, player: Player, frequency: int?): nil function ClientStop(self, player: Player): nil function DeserializeJSON(self, jsonString: string?): { [any]: any } - function SaveScriptProfilingData(self, jsonString: string, filename: string): string function ServerRequestData(self): nil - function ServerStart(self, frequency: number?): nil + function ServerStart(self, frequency: int?): nil function ServerStop(self): nil end -declare class ScriptRegistrationService extends Instance - function GetSourceContainerByScriptGuid(self, guid: string): LuaSourceContainer -end - -declare class ScriptRuntime extends Instance -end - declare class ScriptService extends Instance end @@ -9846,51 +8333,35 @@ declare class ScrollingFrame extends GuiObject CanvasPosition: Vector2 CanvasSize: UDim2 ElasticBehavior: EnumElasticBehavior - HorizontalBarRect: Rect HorizontalScrollBarInset: EnumScrollBarInset - MaxCanvasPosition: Vector2 MidImage: Content ScrollBarImageColor3: Color3 ScrollBarImageTransparency: number ScrollBarThickness: number - ScrollVelocity: Vector2 ScrollingDirection: EnumScrollingDirection ScrollingEnabled: boolean TopImage: Content - VerticalBarRect: Rect VerticalScrollBarInset: EnumScrollBarInset VerticalScrollBarPosition: EnumVerticalScrollBarPosition - function ClearInertialScrolling(self): nil - function GetSampledInertialVelocity(self): Vector2 - function ScrollToTop(self): nil end declare class Seat extends Part Disabled: boolean Occupant: Humanoid? - function Sit(self, humanoid: Humanoid): nil + function Sit(self, humanoid: Instance): nil end declare class Selection extends Instance - ActiveInstance: Instance - RenderMode: EnumSelectionRenderMode - SelectionBoxThickness: number SelectionChanged: RBXScriptSignal<> - SelectionLineThickness: number SelectionThickness: number - ShowActiveInstanceHighlight: boolean function Add(self, instancesToAdd: { Instance }): nil - function AddFocusCallback(self, priority: number, func: ((...any) -> ...any)): RBXScriptConnection - function ClearTerrainSelectionHack(self): nil function Get(self): { Instance } function Remove(self, instancesToRemove: { Instance }): nil function Set(self, selection: { Instance }): nil - function SetTerrainSelectionHack(self, center: Vector3, size: Vector3): nil end declare class SelectionBox extends InstanceAdornment LineThickness: number - StudioSelectionBox: boolean SurfaceColor3: Color3 SurfaceTransparency: number end @@ -9928,7 +8399,6 @@ end declare class ServiceProvider extends Instance Close: RBXScriptSignal<> - CloseLate: RBXScriptSignal<> ServiceAdded: RBXScriptSignal ServiceRemoving: RBXScriptSignal function FindService(self, className: string): Instance @@ -9936,25 +8406,8 @@ declare class ServiceProvider extends Instance end declare class ServiceVisibilityService extends Instance -end - -declare class SessionService extends Instance - function AcquireContextFocus(self, context: string): nil - function GenerateSessionInfoString(self, includeArbitrarySessions: boolean, includeTag: boolean, includeTimestamps: boolean, includeMetadata: boolean): string - function GetCreatedTimestampUtcMs(self, sid: string): number - function GetMetadata(self, sid: string, key: string): any - function GetRootSID(self): string - function GetSessionID(self, structuralId: string): string - function GetSessionTag(self, sid: string): string - function IsContextFocused(self, context: string): boolean - function ReleaseContextFocus(self, context: string): nil - function RemoveMetadata(self, sid: string, key: string, context: string?): nil - function RemoveSession(self, sid: string, context: string?): nil - function RemoveSessionsWithMetadataKey(self, key: string): nil - function ReplaceSession(self, sid: string, tag: string): nil - function SessionExists(self, sid: string): boolean - function SetMetadata(self, sid: string, key: string, value: any, context: string?): nil - function SetSession(self, parentSid: string, childSid: string, tag: string, context: string?): nil + HiddenServices: BinaryString + VisibleServices: BinaryString end declare class SharedTableRegistry extends Instance @@ -9972,9 +8425,6 @@ declare class ShirtGraphic extends CharacterAppearance end declare class ShorelineUpgraderService extends Instance - Status: RBXScriptSignal - function Cancel(self): nil - function Start(self): nil end declare class SkateboardController extends Controller @@ -10027,36 +8477,22 @@ declare class Smoke extends Instance RiseVelocity: number Size: number TimeScale: number - function FastForward(self, numFrames: number): nil end declare class SmoothVoxelsUpgraderService extends Instance - Status: RBXScriptSignal - function Cancel(self): nil - function Start(self): nil end -declare class SnippetService extends Instance -end - declare class SocialService extends Instance CallInviteStateChanged: RBXScriptSignal GameInvitePromptClosed: RBXScriptSignal OnCallInviteInvoked: (tag: string, callParticipantIds: { any }) -> Instance PhoneBookPromptClosed: RBXScriptSignal - PromptInviteRequested: RBXScriptSignal - PromptIrisInviteRequested: RBXScriptSignal - SelfViewHidden: RBXScriptSignal<> - SelfViewVisible: RBXScriptSignal function CanSendCallInviteAsync(self, player: Instance): boolean - function CanSendGameInviteAsync(self, player: Player, recipientId: number?): boolean + function CanSendGameInviteAsync(self, player: Instance, recipientId: number): boolean function HideSelfView(self): nil - function InvokeGameInvitePromptClosed(self, player: Instance, recipientIds: { any }): nil - function InvokeIrisInvite(self, player: Instance, tag: string, irisParticipants: { any }): nil - function InvokeIrisInvitePromptClosed(self, player: Instance): nil - function PromptGameInvite(self, player: Player, experienceInviteOptions: Instance?): nil + function PromptGameInvite(self, player: Instance, experienceInviteOptions: Instance?): nil function PromptPhoneBook(self, player: Instance, tag: string): nil function ShowSelfView(self, selfViewPosition: EnumSelfViewPosition?): nil end @@ -10071,7 +8507,6 @@ declare class Sound extends Instance IsLoaded: boolean IsPaused: boolean IsPlaying: boolean - IsSpatial: boolean Loaded: RBXScriptSignal LoopRegion: NumberRange Looped: boolean @@ -10084,7 +8519,6 @@ declare class Sound extends Instance Played: RBXScriptSignal Playing: boolean Resumed: RBXScriptSignal - RollOffGain: number RollOffMaxDistance: number RollOffMinDistance: number RollOffMode: EnumRollOffMode @@ -10093,7 +8527,6 @@ declare class Sound extends Instance Stopped: RBXScriptSignal TimeLength: number TimePosition: number - UsageContextPermission: EnumUsageContext Volume: number function Pause(self): nil function Play(self): nil @@ -10112,30 +8545,15 @@ end declare class SoundService extends Instance AmbientReverb: EnumReverbType - AudioInstanceAdded: RBXScriptSignal - DeviceListChanged: RBXScriptSignal DistanceFactor: number DopplerScale: number - OpenAttenuationCurveEditorSignal: RBXScriptSignal<{ Instance }> - OpenAudioEqualizerEditorSignal: RBXScriptSignal<{ Instance }> RespectFilteringEnabled: boolean RolloffScale: number VolumetricAudio: EnumVolumetricAudio - function BeginRecording(self): boolean - function EndRecording(self): { [any]: any } - function GetInputDevice(self): any - function GetInputDevices(self): any - function GetListener(self): (EnumListenerType, any) - function GetOutputDevice(self): any - function GetOutputDevices(self): any - function GetRecordingDevices(self): { [any]: any } - function GetSoundMemoryData(self): { [any]: any } + function GetListener(self): any function OpenAttenuationCurveEditor(self, selectedCurveObjects: { Instance }): nil - function PlayLocalSound(self, sound: Sound): nil - function SetInputDevice(self, name: string, guid: string): nil + function PlayLocalSound(self, sound: Instance): nil function SetListener(self, listenerType: EnumListenerType, listener: any): nil - function SetOutputDevice(self, name: string, guid: string): nil - function SetRecordingDevice(self, deviceIndex: number): boolean end declare class Sparkles extends Instance @@ -10144,7 +8562,6 @@ declare class Sparkles extends Instance LocalTransparencyModifier: number SparkleColor: Color3 TimeScale: number - function FastForward(self, numFrames: number): nil end declare class SpawnLocation extends Part @@ -10186,18 +8603,6 @@ declare class SpringConstraint extends Constraint Thickness: number end -declare class StackFrame extends Instance - FrameId: number - FrameName: string - FrameType: EnumDebuggerFrameType - Globals: DebuggerVariable - Line: number - Locals: DebuggerVariable - Populated: boolean - Script: string - Upvalues: DebuggerVariable -end - declare class StandalonePluginScripts extends Instance end @@ -10232,7 +8637,6 @@ declare class StarterGear extends Instance end declare class StarterGui extends BasePlayerGui - CoreGuiChangedSignal: RBXScriptSignal ProcessUserInput: boolean RtlTextSupport: EnumRtlTextSupport ScreenOrientation: EnumScreenOrientation @@ -10240,8 +8644,6 @@ declare class StarterGui extends BasePlayerGui VirtualCursorMode: EnumVirtualCursorMode function GetCore(self, parameterName: string): any function GetCoreGuiEnabled(self, coreGuiType: EnumCoreGuiType): boolean - function RegisterGetCore(self, parameterName: string, getFunction: ((...any) -> ...any)): nil - function RegisterSetCore(self, parameterName: string, setFunction: ((...any) -> ...any)): nil function SetCore(self, parameterName: string, value: any): nil function SetCoreGuiEnabled(self, coreGuiType: EnumCoreGuiType, enabled: boolean): nil end @@ -10268,37 +8670,18 @@ declare class StarterPlayer extends Instance DevTouchMovementMode: EnumDevTouchMovementMode EnableDynamicHeads: EnumLoadDynamicHeads EnableMouseLockOption: boolean - GameSettingsAssetIDFace: number - GameSettingsAssetIDHead: number - GameSettingsAssetIDLeftArm: number - GameSettingsAssetIDLeftLeg: number - GameSettingsAssetIDPants: number - GameSettingsAssetIDRightArm: number - GameSettingsAssetIDRightLeg: number - GameSettingsAssetIDShirt: number - GameSettingsAssetIDTeeShirt: number - GameSettingsAssetIDTorso: number - GameSettingsAvatar: EnumGameAvatarType - GameSettingsR15Collision: EnumR15CollisionType - GameSettingsScaleRangeBodyType: NumberRange - GameSettingsScaleRangeHead: NumberRange - GameSettingsScaleRangeHeight: NumberRange - GameSettingsScaleRangeProportion: NumberRange - GameSettingsScaleRangeWidth: NumberRange HealthDisplayDistance: number LoadCharacterAppearance: boolean LuaCharacterController: EnumCharacterControlMode NameDisplayDistance: number UserEmotesEnabled: boolean ["LoadCharacterLayeredClothing "]: EnumLoadCharacterLayeredClothing - function ClearDefaults(self): nil end declare class StarterPlayerScripts extends Instance end declare class StartupMessageService extends Instance - function GetStartupMessage(self): any end declare class Stats extends Instance @@ -10312,9 +8695,7 @@ declare class Stats extends Instance PhysicsSendKbps: number PhysicsStepTimeMs: number PrimitivesCount: number - function GetBrowserTrackerId(self): string function GetMemoryUsageMbForTag(self, tag: EnumDeveloperMemoryTag): number - function GetPaginatedMemoryByTexture(self, queryType: EnumTextureQueryType, pageIndex: number, pageSize: number): { [any]: any } function GetTotalMemoryUsageMb(self): number end @@ -10327,31 +8708,6 @@ end declare class StopWatchReporter extends Instance - function FinishTask(self, taskId: number): nil - function SendReport(self, reportName: string): nil - function StartTask(self, reportName: string, taskName: string): number -end - -declare class StreamingService extends Instance - ConversationCleared: RBXScriptSignal<> - RequestEnded: RBXScriptSignal - RequestError: RBXScriptSignal - RequestStarted: RBXScriptSignal - SequentialCommandsFinished: RBXScriptSignal - Stream: RBXScriptSignal - function BindCodeToGuid(self, runCodeGuid: string, code: string): any - function ExecuteCommandAsync(self, requestId: string, commandName: string, arg: any): any - function GetEphemeralVariable(self, key: string): any - function GetInstance(self, requestId: string, instanceId: string): Instance - function InvokeCommand(self, requestId: string, commandName: string, arg: any): nil - function RegisterCommand(self, commandName: string, func: ((...any) -> ...any)?): nil - function RegisterContextCollector(self, collectorName: string, func: ((...any) -> ...any)?): nil - function RegisterSequentialCommand(self, commandName: string, func: ((...any) -> ...any)?): nil - function RunSandboxedCode(self, runCodeGuid: string, requestId: string): any - function SetEphemeralVariable(self, key: string, value: any, timeToLive: number?): nil - function SetPluginInfoCallback(self, func: ((...any) -> ...any)?): nil - function UnregisterCommand(self, commandName: string): nil - function UnregisterContextCollector(self, collectorName: string): nil end declare class StringValue extends ValueBase @@ -10360,7 +8716,6 @@ declare class StringValue extends ValueBase end declare class Studio extends Instance - ActionOnStopSync: EnumActionOnStopSync CameraAdaptiveSpeed: boolean CameraTweenFocus: boolean CommandBarLocalState: boolean @@ -10379,7 +8734,6 @@ declare class Studio extends Instance DraggerTiltRotateDuration: number EnableCodeAssist: boolean EnableIndentationRulers: boolean - EnableOnTypeAutocomplete: boolean Font: QFont FreeCameraSpeedScroll: boolean HintColor: Color3 @@ -10396,10 +8750,10 @@ declare class Studio extends Instance PermissionLevelShown: EnumPermissionLevelShown PluginDebuggingEnabled: boolean PluginsDir: QDir + ReloadBuiltinPluginsOnChange: boolean + ReloadLocalPluginsOnChange: boolean Rulers: string RuntimeUndoBehavior: EnumRuntimeUndoBehavior - ScriptEditorMenuBorderColor: Color3 - ScriptEditorShouldShowPluginMethods: boolean ScriptTimeoutLength: number ShowCorePackagesInExplorer: boolean Theme: StudioTheme @@ -10432,7 +8786,6 @@ declare class Studio extends Instance ["Current Line Highlight Color"]: Color3 ["Debugger Current Line Color"]: Color3 ["Debugger Error Line Color"]: Color3 - ["Doc View Code Background Color"]: Color3 ["Enable Autocomplete Doc View"]: boolean ["Enable Autocomplete"]: boolean ["Enable CoreScript Debugger"]: boolean @@ -10454,6 +8807,8 @@ declare class Studio extends Instance ["Highlight Current Line"]: boolean ["Highlight Occurances"]: boolean ["Hover Animate Speed"]: EnumHoverAnimateSpeed + ["Hover Box Thickness"]: number + ["Hover Line Thickness"]: number ["Hover Over Color"]: Color3 ["Indent Using Spaces"]: boolean ["Keyword Color"]: Color3 @@ -10470,6 +8825,7 @@ declare class Studio extends Instance ["Output Font"]: QFont ["Output Layout Mode"]: EnumOutputLayoutMode ["Physical Draggers Select Scope By Default"]: boolean + ["Pivot Snap To Geometry Color"]: Color3 ["Primary Text Color"]: Color3 ["Property Color"]: Color3 ["Respect Studio shortcuts when game has focus"]: boolean @@ -10484,7 +8840,9 @@ declare class Studio extends Instance ["Selected Menu Item Background Color"]: Color3 ["Selected Text Color"]: Color3 ["Selection Background Color"]: Color3 + ["Selection Box Thickness"]: number ["Selection Color"]: Color3 + ["Selection Line Thickness"]: number ["Set Pivot of Imported Parts"]: boolean ["Show Core GUI in Explorer while Playing"]: boolean ["Show Diagnostics Bar"]: boolean @@ -10515,166 +8873,31 @@ declare class Studio extends Instance function GetAvailableThemes(self): { any } end -declare class StudioAssetService extends Instance - OnConvertToPackageResult: RBXScriptSignal - OnPublishPackageResult: RBXScriptSignal<{ [any]: any }, string> - OnSaveToRoblox: RBXScriptSignal<{ Instance }, any, boolean> - OnUGCSubmitCompleted: RBXScriptSignal - function AutoSetupAvatarAsync(self, modelId: Content, progressCallback: ((...any) -> ...any)): Instance - function ConvertToPackageUpload(self, uploadUrl: string, cloneInstances: { Instance }, originalInstances: { Instance }): nil - function DEPRECATED_SerializeInstances(self, instances: { Instance }): string - function FireOnUGCSubmitCompleted(self, cancelled: boolean): nil - function PublishPackage(self, instance: Instance, publishInfo: { [any]: any }): nil - function RequestAvatarAutosetupAsync(self, meshId: Content, textureId: Content, progressCallback: ((...any) -> ...any)): Instance - function SerializeInstances(self, instances: { Instance }, groupId: number?, isPackage: boolean?): string - function ShowSaveToRoblox(self, instances: { Instance }, assetType: any, hasSubsequent: boolean?): nil - function UpdatePublishedPackage(self, assetmetadata: { [any]: any }, rootInstance: Instance, isConvert: boolean?, addUndoWaypoint: boolean?): nil -end - -declare class StudioAttachment extends Instance - AutoHideParent: boolean - IsArrowVisible: boolean - Offset: Vector2 - SourceAnchorPoint: Vector2 - TargetAnchorPoint: Vector2 -end - -declare class StudioCallout extends Instance - AnchorPoint: Vector2 - IsArrowVisible: boolean - IsNextVisible: boolean - RowName: string - Text: string - Title: string - function SetOnNextClicked(self, onClick: ((...any) -> ...any)): nil -end - -declare class StudioData extends Instance - EnableScriptCollabByDefaultOnLoad: boolean -end - -declare class StudioDeviceEmulatorService extends Instance - CurrentDeviceIdChanged: RBXScriptSignal<> - HasMultiTouchStarted: boolean - IsMultiTouchEmulationOn: boolean - IsMultiTouchEnabled: boolean - OrientationChanged: RBXScriptSignal<> - PivotPosition: Vector2 - TouchInBoundsChanged: RBXScriptSignal<> - TouchPositionsChanged: RBXScriptSignal<> - function EmulatePCDeviceWithResolution(self, deviceId: string, resolution: Vector2): boolean - function GetCurrentDeviceId(self): string - function GetCurrentOrientation(self): EnumScreenOrientation - function GetMaxNumTouches(self): number - function GetTouchInBounds(self, index: number): boolean - function GetTouchPosition(self, index: number): Vector2 - function HasDeviceWithId(self, deviceId: string): boolean - function SetCurrentDeviceId(self, deviceId: string): nil - function SetCurrentOrientation(self, orientation: EnumScreenOrientation): nil -end - -declare class StudioObjectBase extends Instance -end - -declare class StudioPublishService extends Instance - GameNameUpdated: RBXScriptSignal - GamePublishCancelled: RBXScriptSignal<> - GamePublishFinished: RBXScriptSignal - OnPublishAttempt: RBXScriptSignal - OnSaveOrPublishPlaceToRoblox: RBXScriptSignal - PublishLocked: boolean - function ClearUploadNames(self): nil - function CloseAfterPublish(self, closeMode: EnumStudioCloseMode): nil - function PublishAs(self, universeId: number, placeId: number, groupId: number, isPublish: boolean, publishParameters: any, willRetryOnConflict: boolean?, allowOpeningNewPlace: boolean?): nil - function PublishThenTurnOnTeamCreate(self): nil - function RefreshDocumentDisplayName(self): nil - function SetTeamCreateOnPublishInfo(self, shouldTurnOnTcOnPublish: boolean, newPlaceName: string): nil - function SetUniverseDisplayName(self, newName: string): nil - function SetUploadNames(self, placeName: string, universeName: string): nil - function ShowSaveOrPublishPlaceToRoblox(self, showGameSelect: boolean, isPublish: boolean, closeMode: EnumStudioCloseMode): nil -end - -declare class StudioScriptDebugEventListener extends Instance -end - -declare class StudioSdkService extends Instance - function GetSdk(self): Instance - function SetSdk(self, sdk: Instance): nil -end - declare class StudioService extends Instance ActiveScript: Instance - AlignDraggedObjects: boolean DraggerSolveConstraints: boolean GridSize: number - HoverInstance: Instance - InstalledPluginData: string - OnImportFromRoblox: RBXScriptSignal<> - OnOpenGameSettings: RBXScriptSignal - OnOpenManagePackagePlugin: RBXScriptSignal - OnPluginInstalledFromToolbox: RBXScriptSignal<> - OnPluginInstalledFromWeb: RBXScriptSignal - OnPublishAsPlugin: RBXScriptSignal<{ Instance }> - OnSaveToRoblox: RBXScriptSignal<{ Instance }> - PivotSnapToGeometry: boolean - PromptTransformPluginCheckEnable: RBXScriptSignal<> RotateIncrement: number - SaveLocallyAsComplete: RBXScriptSignal Secrets: string ShowConstraintDetails: boolean ShowWeldDetails: boolean StudioLocaleId: string UseLocalSpace: boolean - function AnimationIdSelected(self, id: number): nil - function CopyToClipboard(self, stringToCopy: string): nil - function GetBadgeConfigureUrl(self, badgeId: number): string - function GetBadgeUploadUrl(self): string function GetClassIcon(self, className: string): { [any]: any } - function GetPlaceIsPersistedToCloud(self): boolean - function GetResourceByCategory(self, category: string): { [any]: any } - function GetStartupAssetId(self): string - function GetStartupPluginId(self): string - function GetTermsOfUseUrl(self): string function GetUserId(self): number function GizmoRaycast(self, origin: Vector3, direction: Vector3, raycastParams: RaycastParams?): RaycastResult? - function HasInternalPermission(self): boolean - function IsPluginInstalled(self, assetId: number): boolean - function IsPluginUpToDate(self, assetId: number, currentAssetVersion: number): boolean - function OpenInBrowser_DONOTUSE(self, url: string): nil function PromptImportFile(self, fileTypeFilter: { any }?): Instance function PromptImportFiles(self, fileTypeFilter: { any }?): { Instance } - function RequestClose(self, closeMode: EnumStudioCloseMode): nil - function SetPluginEnabled(self, assetId: number, state: boolean): nil - function ShowPlaceVersionHistoryDialog(self, placeId: number): nil - function ShowPublishToRoblox(self): nil - function TryInstallPlugin(self, assetId: number, assetVersionId: number): nil - function UninstallPlugin(self, assetId: number): nil - function UpdatePluginManagement(self): nil end declare class StudioTheme extends Instance function GetColor(self, styleguideitem: EnumStudioStyleGuideColor, modifier: EnumStudioStyleGuideModifier?): Color3 end -declare class StudioWidget extends StudioObjectBase - function SetFixedSize(self, width: number, height: number): nil -end - -declare class StudioWidgetsService extends Instance - function ApplyFillInBox(self, target: StudioWidget): nil - function ApplyHighlight(self, target: StudioWidget, rowName: string?): nil - function ApplyShadows(self): nil - function ApplySpotlight(self, target: StudioWidget, rowName: string?): nil - function AttachPluginGui(self, target: StudioWidget, gui: PluginGui, attachment: StudioAttachment): nil - function GetWidgetFromLabel(self, label: string): StudioWidget - function GetWidgetFromPluginGui(self, gui: PluginGui): StudioWidget - function HideSpotlight(self): nil -end - declare class StyleBase extends Instance StyleRulesChanged: RBXScriptSignal<> function GetStyleRules(self): { Instance } - function InsertStyleRule(self, rule: StyleRule, index: number?): nil + function InsertStyleRule(self, rule: StyleRule, index: int?): nil function SetStyleRules(self, rules: { Instance }): nil end @@ -10690,11 +8913,8 @@ declare class StyleRule extends StyleBase Priority: number Selector: string SelectorError: string - StyleRulePropertyChanged: RBXScriptSignal function GetProperties(self): { [any]: any } - function GetPropertiesResolved(self): { [any]: any } function GetProperty(self, name: string): any - function GetPropertyResolved(self, name: string): any function SetProperties(self, table: { [any]: any }): nil function SetProperty(self, name: string, value: any): nil end @@ -10705,11 +8925,6 @@ declare class StyleSheet extends StyleBase end declare class StylingService extends Instance - function GetAppliedStyles(self, instance: Instance): { any } - function GetStyleInfo(self, style: StyleRule): { [any]: any } - function GetStyleSheetDerivesChain(self, styleSheet: StyleSheet): { Instance } - function GetStyleSheetInfo(self, styleSheet: StyleSheet): { [any]: any } - function UpdateUnitTestOnly(self): nil end declare class SunRaysEffect extends PostEffect @@ -10724,6 +8939,7 @@ declare class SurfaceAppearance extends Instance MetalnessMap: Content NormalMap: Content RoughnessMap: Content + TexturePack: Content end declare class SurfaceGui extends SurfaceGuiBase @@ -10731,11 +8947,9 @@ declare class SurfaceGui extends SurfaceGuiBase Brightness: number CanvasSize: Vector2 ClipsDescendants: boolean - HorizontalCurvature: number LightInfluence: number MaxDistance: number PixelsPerStud: number - Shape: EnumSurfaceGuiShape SizingMode: EnumSurfaceGuiSizingMode ToolPunchThroughDistance: number ZOffset: number @@ -10781,7 +8995,6 @@ end declare class Team extends Instance AutoAssignable: boolean - ChildOrder: number PlayerAdded: RBXScriptSignal PlayerRemoved: RBXScriptSignal TeamColor: BrickColor @@ -10791,12 +9004,7 @@ end declare class TeamCreateData extends Instance end -declare class TeamCreatePublishService extends Instance -end - declare class TeamCreateService extends Instance - ToggleManageCollaborators: RBXScriptSignal<> - function CloseGameIfUserDoesntHavePerms(self): nil end declare class Teams extends Instance @@ -10818,47 +9026,32 @@ end declare class TeleportService extends Instance LocalPlayerArrivedFromTeleport: RBXScriptSignal - MenuTeleportAttempt: RBXScriptSignal<> TeleportInitFailed: RBXScriptSignal - function Block(self): nil - function GetArrivingTeleportGui(self): ScreenGui + function GetArrivingTeleportGui(self): Instance function GetLocalPlayerTeleportData(self): TeleportData? function GetPlayerPlaceInstanceAsync(self, userId: number): (boolean, string, number, string) function GetTeleportSetting(self, setting: string): any function ReserveServer(self, placeId: number): (string, string) - function SetTeleportGui(self, gui: GuiObject): nil + function SetTeleportGui(self, gui: Instance): nil function SetTeleportSetting(self, setting: string, value: any): nil function Teleport(self, placeId: number, player: Player?, teleportData: TeleportData?, customLoadingScreen: GuiObject?) function TeleportAsync(self, placeId: number, players: { Player }, teleportOptions: TeleportOptions?): TeleportAsyncResult - function TeleportCancel(self): nil function TeleportPartyAsync(self, placeId: number, players: { Player }, teleportData: TeleportData?, customLoadingScreen: GuiObject?): string function TeleportToPlaceInstance(self, placeId: number, instanceId: string, player: Player?, spawnName: string?, teleportData: TeleportData?, customLoadingScreen: GuiObject?) function TeleportToPrivateServer(self, placeId: number, reservedServerAccessCode: string, players: { Player }, spawnName: string?, teleportData: TeleportData?, customLoadingScreen: GuiObject?): nil function TeleportToSpawnByName(self, placeId: number, spawnName: string, player: Player?, teleportData: TeleportData?, customLoadingScreen: GuiObject?) - function UnblockAsync(self): any -end - -declare class TemporaryCageMeshProvider extends Instance -end - -declare class TemporaryScriptService extends Instance end declare class Terrain extends BasePart Decoration: boolean GrassLength: number - LastUsedModificationMethod: EnumTerrainAcquisitionMethod MaterialColors: BinaryString MaxExtents: Region3int16 - ShorelinesUpgraded: boolean - SmoothVoxelsUpgraded: boolean WaterColor: Color3 WaterReflectance: number WaterTransparency: number WaterWaveSize: number WaterWaveSpeed: number - function CanShorelinesBeUpgraded(self): boolean - function CanSmoothVoxelsBeUpgraded(self): boolean function CellCenterToWorld(self, x: number, y: number, z: number): Vector3 function CellCornerToWorld(self, x: number, y: number, z: number): Vector3 function Clear(self): nil @@ -10870,17 +9063,11 @@ declare class Terrain extends BasePart function FillRegion(self, region: Region3, resolution: number, material: EnumMaterial): nil function FillWedge(self, cframe: CFrame, size: Vector3, material: EnumMaterial): nil function GetMaterialColor(self, material: EnumMaterial): Color3 - function GetTerrainWireframe(self, cframe: CFrame, size: Vector3): { any } function PasteRegion(self, region: TerrainRegion, corner: Vector3int16, pasteEmptyCells: boolean): nil function ReadVoxelChannels(self, region: Region3, resolution: number, channelIds: { any }): { [any]: any } function ReadVoxels(self, region: Region3, resolution: number): any function ReplaceMaterial(self, region: Region3, resolution: number, sourceMaterial: EnumMaterial, targetMaterial: EnumMaterial): nil - function ReplaceMaterialInTransform(self, cframe: CFrame, size: Vector3, sourceMaterial: EnumMaterial, targetMaterial: EnumMaterial): nil - function ReplaceMaterialInTransformSubregion(self, cframe: CFrame, size: Vector3, sourceMaterial: EnumMaterial, targetMaterial: EnumMaterial, targetRegion: Region3int16): nil function SetMaterialColor(self, material: EnumMaterial, value: Color3): nil - function SetMaterialInTransform(self, cframe: CFrame, size: Vector3, targetMaterial: EnumMaterial): nil - function SetMaterialInTransformSubregion(self, cframe: CFrame, size: Vector3, targetMaterial: EnumMaterial, targetRegion: Region3int16): nil - function SmoothRegion(self, region: Region3, resolution: number, strength: number): any function WorldToCell(self, position: Vector3): Vector3 function WorldToCellPreferEmpty(self, position: Vector3): Vector3 function WorldToCellPreferSolid(self, position: Vector3): Vector3 @@ -10900,9 +9087,6 @@ end declare class TerrainRegion extends Instance SizeInCells: Vector3 - function ApplyTransform(self, rotation: CFrame, size: Vector3): nil - function ApplyTransformSubregion(self, rotation: CFrame, size: Vector3, region: Region3int16): TerrainRegion - function GetRegionWireframe(self): { any } end declare class TestService extends Instance @@ -10920,16 +9104,16 @@ declare class TestService extends Instance TestCount: number Timeout: number WarnCount: number - function Check(self, condition: boolean, description: string, source: Instance?, line: number?): nil - function Checkpoint(self, text: string, source: Instance?, line: number?): nil + function Check(self, condition: boolean, description: string, source: Instance?, line: number): nil + function Checkpoint(self, text: string, source: Instance?, line: number): nil function Done(self): nil - function Error(self, description: string, source: Instance?, line: number?): nil - function Fail(self, description: string, source: Instance?, line: number?): nil - function Message(self, text: string, source: Instance?, line: number?): nil - function Require(self, condition: boolean, description: string, source: Instance?, line: number?): nil + function Error(self, description: string, source: Instance?, line: number): nil + function Fail(self, description: string, source: Instance?, line: number): nil + function Message(self, text: string, source: Instance?, line: number): nil + function Require(self, condition: boolean, description: string, source: Instance?, line: number): nil function Run(self): nil function ScopeTime(self): { [any]: any } - function Warn(self, condition: boolean, description: string, source: Instance?, line: number?): nil + function Warn(self, condition: boolean, description: string, source: Instance?, line: number): nil function isFeatureEnabled(self, name: string): boolean end @@ -10940,19 +9124,14 @@ declare class TextBox extends GuiObject FocusLost: RBXScriptSignal Focused: RBXScriptSignal<> Font: EnumFont - FontFace: Font + FontFace: EnumFont LineHeight: number - LocalizationMatchIdentifier: string - LocalizationMatchedSourceText: string - ManualFocusRelease: boolean MaxVisibleGraphemes: number MultiLine: boolean OpenTypeFeatures: string OpenTypeFeaturesError: string - OverlayNativeInput: boolean PlaceholderColor3: Color3 PlaceholderText: string - ReturnKeyType: EnumReturnKeyType ReturnPressedFromOnScreenKeyboard: RBXScriptSignal<> RichText: boolean SelectionStart: number @@ -10963,7 +9142,6 @@ declare class TextBox extends GuiObject TextDirection: EnumTextDirection TextEditable: boolean TextFits: boolean - TextInputType: EnumTextInputType TextScaled: boolean TextSize: number TextStrokeColor3: Color3 @@ -10975,9 +9153,7 @@ declare class TextBox extends GuiObject TextYAlignment: EnumTextYAlignment function CaptureFocus(self): nil function IsFocused(self): boolean - function ReleaseFocus(self, submitted: boolean?): nil - function ResetKeyboardMode(self): nil - function SetTextFromInput(self, text: string): nil + function ReleaseFocus(self, submitted: boolean): nil end declare class TextBoxService extends Instance @@ -10986,10 +9162,8 @@ end declare class TextButton extends GuiButton ContentText: string Font: EnumFont - FontFace: Font + FontFace: EnumFont LineHeight: number - LocalizationMatchIdentifier: string - LocalizationMatchedSourceText: string LocalizedText: string MaxVisibleGraphemes: number OpenTypeFeatures: string @@ -11009,7 +9183,6 @@ declare class TextButton extends GuiButton TextWrapped: boolean TextXAlignment: EnumTextXAlignment TextYAlignment: EnumTextYAlignment - function SetTextFromInput(self, text: string): nil end declare class TextChannel extends Instance @@ -11017,8 +9190,8 @@ declare class TextChannel extends Instance OnIncomingMessage: (message: TextChatMessage) -> any ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) -> any function AddUserAsync(self, userId: number): any - function DisplaySystemMessage(self, systemMessage: string, metadata: string?): TextChatMessage - function SendAsync(self, message: string, metadata: string?): TextChatMessage + function DisplaySystemMessage(self, systemMessage: string, metadata: string): TextChatMessage + function SendAsync(self, message: string, metadata: string): TextChatMessage end declare class TextChatCommand extends Instance @@ -11054,8 +9227,6 @@ end declare class TextChatService extends Instance BubbleDisplayed: RBXScriptSignal ChatTranslationEnabled: boolean - ChatTranslationFTUXShown: boolean - ChatTranslationToggleEnabled: boolean ChatVersion: EnumChatVersion CreateDefaultCommands: boolean CreateDefaultTextChannels: boolean @@ -11084,10 +9255,8 @@ end declare class TextLabel extends GuiLabel ContentText: string Font: EnumFont - FontFace: Font + FontFace: EnumFont LineHeight: number - LocalizationMatchIdentifier: string - LocalizationMatchedSourceText: string LocalizedText: string MaxVisibleGraphemes: number OpenTypeFeatures: string @@ -11107,17 +9276,14 @@ declare class TextLabel extends GuiLabel TextWrapped: boolean TextXAlignment: EnumTextXAlignment TextYAlignment: EnumTextYAlignment - function SetTextFromInput(self, text: string): nil end declare class TextService extends Instance function FilterAndTranslateStringAsync(self, stringToFilter: string, fromUserId: number, targetLocales: { any }, textContext: EnumTextFilterContext?): TextFilterTranslatedResult function FilterStringAsync(self, stringToFilter: string, fromUserId: number, textContext: EnumTextFilterContext?): TextFilterResult function GetFamilyInfoAsync(self, assetId: Content): { [any]: any } - function GetFontMemoryData(self): { [any]: any } function GetTextBoundsAsync(self, params: GetTextBoundsParams): Vector2 function GetTextSize(self, string: string, fontSize: number, font: EnumFont, frameSize: Vector2): Vector2 - function SetResolutionScale(self, scale: number): nil end declare class TextSource extends Instance @@ -11132,53 +9298,9 @@ declare class Texture extends Decal StudsPerTileV: number end -declare class TextureGenerationPartGroup extends Instance - function GetInstances(self): { Instance } - function GetMeshIdsHash(self): string -end - -declare class TextureGenerationService extends Instance - GenerationNotificationSignal: RBXScriptSignal<{ [any]: any }> - PreviewNotificationSignal: RBXScriptSignal<{ [any]: any }> - function CancelGenerationRequest(self, jobUuid: string): nil - function CreatePartGroup(self, instances: { Instance }): TextureGenerationPartGroup - function GenerateTexture(self, previewJobId: string): { [any]: any } - function GetQuotasAsync(self): { [any]: any } - function PreviewTexture(self, partGroup: TextureGenerationPartGroup, prompt: string, options: { [any]: any }): { [any]: any } -end - -declare class TextureGenerationUnwrappingRequest extends Instance - function ApplyToDataModel(self, partGroup: TextureGenerationPartGroup): TextureGenerationPartGroup - function GetPartGroup(self): TextureGenerationPartGroup -end - -declare class ThirdPartyUserService extends Instance - ActiveUserSignedOut: RBXScriptSignal - function GetUserPlatformId(self): string - function GetUserPlatformName(self): string - function HaveActiveUser(self): boolean - function IsOver13(self): boolean - function RegisterActiveUser(self, gamepadId: EnumUserInputType): number - function ReturnToEngagement(self): nil - function ShowAccountPicker(self): nil -end - -declare class ThreadState extends Instance - FrameCount: number - Populated: boolean - ThreadId: number - ThreadName: string - function GetFrame(self, index: number): Instance -end - declare class TimerService extends Instance end -declare class ToastNotificationService extends Instance - function HideNotification(self, notificationId: string): nil - function ShowNotification(self, message: string, notificationId: string): nil -end - declare class Tool extends BackpackItem Activated: RBXScriptSignal<> CanBeDropped: boolean @@ -11224,26 +9346,6 @@ end declare class TouchTransmitter extends Instance end -declare class TracerService extends Instance - function FinishSpan(self, spanId: string): nil - function StartSpan(self, name: string, parentId: string): string -end - -declare class TrackerLodController extends Instance - AudioMode: EnumTrackerLodFlagMode - UpdateState: RBXScriptSignal<> - VideoExtrapolationMode: EnumTrackerExtrapolationFlagMode - VideoLodMode: EnumTrackerLodValueMode - VideoMode: EnumTrackerLodFlagMode - function getExtrapolation(self): number - function getVideoLod(self): number - function isAudioEnabled(self): boolean - function isVideoEnabled(self): boolean -end - -declare class TrackerStreamAnimation extends Instance -end - declare class Trail extends Instance Attachment0: Attachment? Attachment1: Attachment? @@ -11268,7 +9370,6 @@ end declare class Translator extends Instance LocaleId: string function FormatByKey(self, key: string, args: any): string - function RobloxOnlyTranslate(self, context: Instance, text: string): string function Translate(self, context: Instance, text: string): string end @@ -11288,18 +9389,6 @@ declare class TrussPart extends BasePart Style: EnumStyle end -declare class TutorialService extends Instance - function GetMainViewSessionId(self): string - function GetStudioWidgetFromLabel(self, label: string): StudioWidget - function GetTutorialIDToLaunch(self): string - function HasUserCompletedTutorial(self): boolean - function HideWidgets(self, commaSeparatedNames: string): boolean - function PromptClosePlace(self): nil - function SetTutorialCompletionStatus(self, completed: boolean): nil - function ShouldLaunchTutorial(self): boolean - function ShowWidgets(self, commaSeparatedNames: string): boolean -end - declare class Tween extends TweenBase Instance: Instance TweenInfo: TweenInfo @@ -11316,87 +9405,10 @@ end declare class TweenService extends Instance function Create(self, instance: Instance, tweenInfo: TweenInfo, propertyTable: { [any]: any }): Tween function GetValue(self, alpha: number, easingStyle: EnumEasingStyle, easingDirection: EnumEasingDirection): number - function SmoothDamp(self, current: any, target: any, velocity: any, smoothTime: number, maxSpeed: number?, dt: number?): (any, any) -end - -declare class UGCAvatarService extends Instance + function SmoothDamp(self, current: any, target: any, velocity: any, smoothTime: number, maxSpeed: float?, dt: float?): any end declare class UGCValidationService extends Instance - function CalculateEditableMeshTotalSurfaceArea(self, editableMesh: EditableMesh, meshScale: Vector3): number - function CalculateEditableMeshUniqueUVCount(self, editableMesh: EditableMesh): number - function CalculateTotalSurfaceArea(self, meshId: string, meshScale: Vector3): number - function CalculateUniqueUVCount(self, meshId: string): number - function CanLoadAsset(self, assetId: string): boolean - function CheckEditableMeshInCameraFrustum(self, editableMesh: EditableMesh, meshScale: Vector3, handleWorldCF: CFrame, cameraWorldCF: CFrame): boolean - function CheckMeshInCameraFrustum(self, meshId: string, meshScale: Vector3, handleWorldCF: CFrame, cameraWorldCF: CFrame): boolean - function CompareTextureOverlapByteString(self, byteStringBaseline: string, byteStringFollowup: string): { any } - function CompareTextureOverlapTextureId(self, textureIdBaseline: string, textureIdFollowup: string): { any } - function FetchAssetWithFormat(self, url: Content, assetFormat: string): { Instance } - function GetDynamicHeadEditableMeshInactiveControls(self, editableMesh: EditableMesh, controlNames: { any }): any - function GetDynamicHeadMeshInactiveControls(self, meshId: string, controlNames: { any }): any - function GetEditableImageSize(self, editableImage: EditableImage): Vector2 - function GetEditableMeshMaxNearbyVerticesCollisions(self, editableMesh: EditableMesh, meshScale: Vector3): number - function GetEditableMeshTriCount(self, editableMesh: EditableMesh): number - function GetEditableMeshVertColors(self, editableMesh: EditableMesh): { any } - function GetEditableMeshVerts(self, editableMesh: EditableMesh): { any } - function GetImageTransparencyWithByteString(self, textureId: string): number - function GetImageTransparencyWithTextureID(self, textureId: string): number - function GetMaxNearbyVerticesCollisions(self, meshId: string, meshScale: Vector3): number - function GetMeshTriCount(self, meshId: string): number - function GetMeshVertColors(self, meshId: string): { any } - function GetMeshVerts(self, meshId: string): { any } - function GetPropertyValue(self, instance: Instance, property: string): any - function GetTextureSize(self, textureId: string): Vector2 - function IsEditableMeshNumCoplanarIntersectionsOverLimit(self, editableMesh: EditableMesh, limit: number, meshScale: Vector3, intersectBackFaces: boolean): boolean - function IsNumCoplanarIntersectionsOverLimit(self, meshId: string, limit: number, meshScale: Vector3, intersectBackFaces: boolean): boolean - function RegisterUGCValidationFunction(self, setFunction: ((...any) -> ...any)): nil - function ReportUGCValidationTelemetry(self, assetType: string, data: { [any]: any }): nil - function ResetCollisionFidelity(self, meshPart: Instance, collisionFidelity: EnumCollisionFidelity?): nil - function ResetCollisionFidelityWithEditableMeshDataLua(self, meshPart: MeshPart, editableMesh: EditableMesh, collisionFidelity: EnumCollisionFidelity?): nil - function SetMeshIdBlocking(self, meshPart: Instance, meshId: string): nil - function ValidateCageMeshIntersection(self, innerCageMeshId: string, outerCageMeshId: string, refMeshId: string): any - function ValidateCageNonManifoldAndHoles(self, meshId: string): any - function ValidateCageUVCoincident(self, meshId: string): boolean - function ValidateCageUVTriangleArea(self, meshId: string): boolean - function ValidateDynamicHeadEditableMesh(self, editableMesh: EditableMesh): boolean - function ValidateDynamicHeadMesh(self, meshId: string): boolean - function ValidateEditableImageNumTextureChannels(self, editableImage: EditableImage, numTextureChannelsRequired: number): boolean - function ValidateEditableImageSize(self, editableImage: EditableImage): boolean - function ValidateEditableMeshBounds(self, editableMesh: EditableMesh, meshScale: Vector3, boundsOffset: Vector3, attachmentCF: CFrame, handleCF: CFrame): boolean - function ValidateEditableMeshCageMeshIntersection(self, innerCage: EditableMesh, outerCage: EditableMesh, refMesh: EditableMesh): any - function ValidateEditableMeshCageNonManifoldAndHoles(self, editableMesh: EditableMesh): any - function ValidateEditableMeshCageUVCoincident(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshCageUVTriangleArea(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshFullBodyCageDeletion(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshMisMatchUV(self, innerCage: EditableMesh, outerCage: EditableMesh): boolean - function ValidateEditableMeshOverlappingVertices(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshTriangleArea(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshTriangles(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshUVSpace(self, editableMesh: EditableMesh): boolean - function ValidateEditableMeshUVValuesInReference(self, referenceValues: { any }, editableMesh: EditableMesh): boolean - function ValidateEditableMeshUniqueUVCount(self, editableMesh: EditableMesh, numRequired: number): boolean - function ValidateEditableMeshVertColors(self, editableMesh: EditableMesh, includeAlpha: boolean?): boolean - function ValidateFullBodyCageDeletion(self, meshId: string): boolean - function ValidateImageTransparencyThresholdByteString(self, image: string, threshold: number): boolean - function ValidateImageTransparencyThresholdByteString_V2(self, image: string, threshold: number): boolean - function ValidateImageTransparencyThresholdTextureID(self, textureId: string, threshold: number): boolean - function ValidateImageTransparencyThresholdTextureID_V2(self, textureId: string, threshold: number): boolean - function ValidateMeshBounds(self, meshId: string, meshScale: Vector3, boundsOffset: Vector3, attachmentCF: CFrame, handleCF: CFrame): boolean - function ValidateMeshTriangleArea(self, meshId: string): boolean - function ValidateMeshTriangles(self, meshId: string): boolean - function ValidateMeshVertColors(self, meshId: string, includeAlpha: boolean?): boolean - function ValidateMisMatchUV(self, innerCageMeshId: string, outerCageMeshId: string): boolean - function ValidateNumTextureChannels(self, textureId: string, numChannelsRequired: number): boolean - function ValidateOverlappingVertices(self, meshId: string): boolean - function ValidateSkinnedEditableMesh(self, editableMesh: EditableMesh): boolean - function ValidateSkinnedMesh(self, meshId: string): boolean - function ValidateTextureAlpha(self, textureId: string, pixelWidth: number): boolean - function ValidateTextureAlphaByteString(self, byteString: string, pixelWidth: number): boolean - function ValidateTextureSize(self, textureId: string): boolean - function ValidateUVSpace(self, meshId: string): boolean - function ValidateUVValuesInReference(self, referenceValues: { any }, meshId: string): boolean - function ValidateUniqueUVCount(self, meshId: string, numRequired: number): boolean end declare class UIAspectRatioConstraint extends UIConstraint @@ -11445,9 +9457,6 @@ declare class UIDragDetector extends UIComponent function SetDragStyleFunction(self, func: ((...any) -> ...any)): nil end -declare class UIDragDetectorService extends Instance -end - declare class UIFlexItem extends UIComponent FlexMode: EnumUIFlexMode GrowRatio: number @@ -11566,55 +9575,26 @@ declare class UnreliableRemoteEvent extends BaseRemoteEvent function FireServer(self, ...: any): () end -declare class UnvalidatedAssetService extends Instance - function AppendTempAssetId(self, userId: number, id: number, lookAt: Vector3, camPos: Vector3, usage: string): nil - function AppendVantagePoint(self, userId: number, id: number, lookAt: Vector3, camPos: Vector3): boolean - function UpgradeTempAssetId(self, userId: number, tempId: number, assetId: number): boolean -end - declare class UserGameSettings extends Instance AllTutorialsDisabled: boolean CameraMode: EnumCustomCameraMode - CameraYInverted: boolean - ChatTranslationEnabled: boolean - ChatTranslationFTUXShown: boolean - ChatTranslationLocale: string - ChatTranslationToggleEnabled: boolean ChatVisible: boolean ComputerCameraMovementMode: EnumComputerCameraMovementMode ComputerMovementMode: EnumComputerMovementMode ControlMode: EnumControlMode - DefaultCameraID: string - FramerateCap: number Fullscreen: boolean FullscreenChanged: RBXScriptSignal GamepadCameraSensitivity: number GraphicsOptimizationMode: EnumGraphicsOptimizationMode GraphicsQualityLevel: number - HapticStrength: number HasEverUsedVR: boolean - IsUsingCameraYInverted: boolean - IsUsingGamepadCameraSensitivity: boolean MasterVolume: number MasterVolumeStudio: number MaxQualityEnabled: boolean - MicroProfilerWebServerEnabled: boolean - MicroProfilerWebServerIP: string - MicroProfilerWebServerPort: number MouseSensitivity: number - MouseSensitivityFirstPerson: Vector2 - MouseSensitivityThirdPerson: Vector2 - OnScreenProfilerEnabled: boolean OnboardingsCompleted: string - PerformanceStatsVisible: boolean - PerformanceStatsVisibleChanged: RBXScriptSignal - PlayerHeight: number - PreferredTextSize: EnumPreferredTextSize - PreferredTransparency: number - QualityResetLevel: number RCCProfilerRecordFrameRate: number RCCProfilerRecordTimeFrame: number - ReducedMotion: boolean RotationType: EnumRotationType SavedQualityLevel: EnumSavedQualitySetting StartMaximized: boolean @@ -11623,36 +9603,24 @@ declare class UserGameSettings extends Instance StudioModeChanged: RBXScriptSignal TouchCameraMovementMode: EnumTouchCameraMovementMode TouchMovementMode: EnumTouchMovementMode - UiNavigationKeyBindEnabled: boolean UsedCoreGuiIsVisibleToggle: boolean UsedCustomGuiIsVisibleToggle: boolean UsedHideHudShortcut: boolean - VRComfortSetting: EnumVRComfortSetting VREnabled: boolean VRRotationIntensity: number - VRSafetyBubbleMode: EnumVRSafetyBubbleMode VRSmoothRotationEnabled: boolean - VRSmoothRotationEnabledCustomOption: boolean - VRThirdPersonFollowCamEnabled: boolean - VRThirdPersonFollowCamEnabledCustomOption: boolean VignetteEnabled: boolean - VignetteEnabledCustomOption: boolean function GetCameraYInvertValue(self): number - function GetDefaultFramerateCap(self): number function GetOnboardingCompleted(self, onboardingId: string): boolean - function GetTutorialState(self, tutorialId: string): boolean function InFullScreen(self): boolean function InStudioMode(self): boolean - function ResetOnboardingCompleted(self, onboardingId: string): nil function SetCameraYInvertVisible(self): nil function SetGamepadCameraSensitivityVisible(self): nil function SetOnboardingCompleted(self, onboardingId: string): nil - function SetTutorialState(self, tutorialId: string, value: boolean): nil end declare class UserInputService extends Instance AccelerometerEnabled: boolean - BottomBarSize: Vector2 DeviceAccelerationChanged: RBXScriptSignal DeviceGravityChanged: RBXScriptSignal DeviceRotationChanged: RBXScriptSignal @@ -11671,29 +9639,23 @@ declare class UserInputService extends Instance MouseEnabled: boolean MouseIcon: Content MouseIconEnabled: boolean - NavBarSize: Vector2 - OnScreenKeyboardAnimationDuration: number OnScreenKeyboardPosition: Vector2 OnScreenKeyboardSize: Vector2 OnScreenKeyboardVisible: boolean - OverrideMouseIconBehavior: EnumOverrideMouseIconBehavior PointerAction: RBXScriptSignal - RightBarSize: Vector2 - StatusBarSize: Vector2 - StatusBarTapped: RBXScriptSignal TextBoxFocusReleased: RBXScriptSignal TextBoxFocused: RBXScriptSignal TouchDrag: RBXScriptSignal TouchEnabled: boolean TouchEnded: RBXScriptSignal - TouchLongPress: RBXScriptSignal<{ Vector2 }, EnumUserInputState, boolean> + TouchLongPress: RBXScriptSignal<{ any }, EnumUserInputState, boolean> TouchMoved: RBXScriptSignal - TouchPan: RBXScriptSignal<{ Vector2 }, Vector2, Vector2, EnumUserInputState, boolean> - TouchPinch: RBXScriptSignal<{ Vector2 }, number, number, EnumUserInputState, boolean> - TouchRotate: RBXScriptSignal<{ Vector2 }, number, number, EnumUserInputState, boolean> + TouchPan: RBXScriptSignal<{ any }, Vector2, Vector2, EnumUserInputState, boolean> + TouchPinch: RBXScriptSignal<{ any }, number, number, EnumUserInputState, boolean> + TouchRotate: RBXScriptSignal<{ any }, number, number, EnumUserInputState, boolean> TouchStarted: RBXScriptSignal TouchSwipe: RBXScriptSignal - TouchTap: RBXScriptSignal<{ Vector2 }, boolean> + TouchTap: RBXScriptSignal<{ any }, boolean> TouchTapInWorld: RBXScriptSignal VREnabled: boolean WindowFocusReleased: RBXScriptSignal<> @@ -11703,8 +9665,7 @@ declare class UserInputService extends Instance function GetDeviceAcceleration(self): InputObject function GetDeviceGravity(self): InputObject function GetDeviceLevel(self): EnumDeviceLevel - function GetDeviceRotation(self): (number, CFrame) - function GetDeviceType(self): EnumDeviceType + function GetDeviceRotation(self): any function GetFocusedTextBox(self): TextBox function GetGamepadConnected(self, gamepadNum: EnumUserInputType): boolean function GetGamepadState(self, gamepadNum: EnumUserInputType): { InputObject } @@ -11715,7 +9676,6 @@ declare class UserInputService extends Instance function GetMouseDelta(self): Vector2 function GetMouseLocation(self): Vector2 function GetNavigationGamepads(self): { EnumUserInputType } - function GetPlatform(self): EnumPlatform function GetStringForKeyCode(self, keyCode: EnumKeyCode): string function GetSupportedGamepadKeyCodes(self, gamepadNum: EnumUserInputType): { EnumKeyCode } function IsGamepadButtonDown(self, gamepadNum: EnumUserInputType, gamepadKeyCode: EnumKeyCode): boolean @@ -11723,7 +9683,6 @@ declare class UserInputService extends Instance function IsMouseButtonPressed(self, mouseButton: EnumUserInputType): boolean function IsNavigationGamepad(self, gamepadEnum: EnumUserInputType): boolean function RecenterUserHeadCFrame(self): nil - function SendAppUISizes(self, statusBarSize: Vector2, navBarSize: Vector2, bottomBarSize: Vector2, rightBarSize: Vector2): nil function SetNavigationGamepad(self, gamepadEnum: EnumUserInputType, enabled: boolean): nil end @@ -11736,39 +9695,24 @@ declare class UserSettings extends GenericSettings function GetService(self, service: "UserGameSettings"): UserGameSettings function IsUserFeatureEnabled(self, name: string): boolean function Reset(self): nil - function SaveState(self): nil -end - -declare class UserStorageService extends LocalStorageService end declare class VRService extends Instance AutomaticScaling: EnumVRScaling AvatarGestures: boolean ControllerModels: EnumVRControllerModelMode - DidPointerHit: boolean FadeOutViewOnCollision: boolean GuiInputUserCFrame: EnumUserCFrame - LaserDistance: number LaserPointer: EnumVRLaserPointerMode - LaserPointerTriggered: RBXScriptSignal NavigationRequested: RBXScriptSignal - PointerHitCFrame: CFrame - QuestASWState: boolean - QuestDisplayRefreshRate: number ThirdPersonFollowCamEnabled: boolean TouchpadModeChanged: RBXScriptSignal UserCFrameChanged: RBXScriptSignal UserCFrameEnabled: RBXScriptSignal - VRDeviceAvailable: boolean - VRDeviceName: string VREnabled: boolean - VRSessionState: EnumVRSessionState function GetTouchpadMode(self, pad: EnumVRTouchpad): EnumVRTouchpadMode function GetUserCFrame(self, type: EnumUserCFrame): CFrame function GetUserCFrameEnabled(self, type: EnumUserCFrame): boolean - function IsMaquettes(self): boolean - function IsVRAppBuild(self): boolean function RecenterUserHeadCFrame(self): nil function RequestNavigation(self, cframe: CFrame, inputUserCFrame: EnumUserCFrame): nil function SetTouchpadMode(self, pad: EnumVRTouchpad, mode: EnumVRTouchpadMode): nil @@ -11813,7 +9757,7 @@ declare class VehicleSeat extends BasePart ThrottleFloat: number Torque: number TurnSpeed: number - function Sit(self, humanoid: Humanoid): nil + function Sit(self, humanoid: Instance): nil end declare class VelocityMotor extends JointInstance @@ -11823,25 +9767,7 @@ declare class VelocityMotor extends JointInstance MaxVelocity: number end -declare class VersionControlService extends Instance - ScriptCollabEnabled: boolean -end - declare class VideoCaptureService extends Instance - Active: boolean - CameraID: string - DevicesChanged: RBXScriptSignal<> - Error: RBXScriptSignal - Started: RBXScriptSignal - Stopped: RBXScriptSignal - function GetCameraDevices(self): { [any]: any } -end - -declare class VideoDeviceInput extends Instance - Active: boolean - CameraId: string - CaptureQuality: EnumVideoDeviceCaptureQuality - IsReady: boolean end declare class VideoFrame extends GuiObject @@ -11860,7 +9786,6 @@ declare class VideoFrame extends GuiObject Volume: number function Pause(self): nil function Play(self): nil - function SetStudioPreview(self, isPreview: boolean): nil end declare class VideoService extends Instance @@ -11871,55 +9796,14 @@ declare class ViewportFrame extends GuiObject CurrentCamera: Camera ImageColor3: Color3 ImageTransparency: number - IsMirrored: boolean LightColor: Color3 LightDirection: Vector3 - function CaptureSnapshotAsync(self): Content end declare class VirtualInputManager extends Instance - AdditionalLuaState: string - PlaybackCompleted: RBXScriptSignal - RecordingCompleted: RBXScriptSignal - function Dump(self): nil - function HandleGamepadAxisInput(self, objectId: number, keyCode: EnumKeyCode, x: number, y: number, z: number): nil - function HandleGamepadButtonInput(self, deviceId: number, keyCode: EnumKeyCode, buttonState: number): nil - function HandleGamepadConnect(self, deviceId: number): nil - function HandleGamepadDisconnect(self, deviceId: number): nil - function SendAccelerometerEvent(self, x: number, y: number, z: number): nil - function SendGravityEvent(self, x: number, y: number, z: number): nil - function SendGyroscopeEvent(self, quatX: number, quatY: number, quatZ: number, quatW: number): nil - function SendKeyEvent(self, isPressed: boolean, keyCode: EnumKeyCode, isRepeatedKey: boolean, layerCollector: Instance): nil - function SendMouseButtonEvent(self, x: number, y: number, mouseButton: number, isDown: boolean, layerCollector: Instance, repeatCount: number): nil - function SendMouseMoveEvent(self, x: number, y: number, layerCollector: Instance): nil - function SendMouseWheelEvent(self, x: number, y: number, isForwardScroll: boolean, layerCollector: Instance): nil - function SendTextInputCharacterEvent(self, str: string, layerCollector: Instance): nil - function SendTouchEvent(self, touchId: number, state: number, x: number, y: number): nil - function SetInputTypesToIgnore(self, inputTypesToIgnore: any): nil - function StartPlaying(self, fileName: string): nil - function StartPlayingJSON(self, string: string): nil - function StartRecording(self): nil - function StopPlaying(self): nil - function StopRecording(self): nil - function WaitForInputEventsProcessed(self): nil - function sendRobloxEvent(self, namespace: string, detail: string, detailType: string): nil - function sendThemeChangeEvent(self, themeName: string): nil end declare class VirtualUser extends Instance - function Button1Down(self, position: Vector2, camera: CFrame?): nil - function Button1Up(self, position: Vector2, camera: CFrame?): nil - function Button2Down(self, position: Vector2, camera: CFrame?): nil - function Button2Up(self, position: Vector2, camera: CFrame?): nil - function CaptureController(self): nil - function ClickButton1(self, position: Vector2, camera: CFrame?): nil - function ClickButton2(self, position: Vector2, camera: CFrame?): nil - function MoveMouse(self, position: Vector2, camera: CFrame?): nil - function SetKeyDown(self, key: string): nil - function SetKeyUp(self, key: string): nil - function StartRecording(self): nil - function StopRecording(self): string - function TypeKey(self, key: string): nil end declare class VisibilityCheckDispatcher extends Instance @@ -11942,30 +9826,10 @@ end declare class VisualizationModeService extends Instance end -declare class VoiceChatInternal extends Instance - LocalPlayerModerated: RBXScriptSignal<> - TempSetMicMutedToggleMic: RBXScriptSignal<> - function GetChannelId(self): string - function GetGroupId(self): string - function GetSessionId(self): string - function GetVoiceExperienceId(self): string - function IsContextVoiceEnabled(self): boolean - function IsVoiceEnabledForUserIdAsync(self, userId: number): boolean - function LogPublisherWebRTCStats(self): boolean - function LogSubscriptionWebRTCStats(self): boolean - function SubscribeBlock(self, userId: number): boolean - function SubscribeRetry(self, userId: number): boolean - function SubscribeUnblock(self, userId: number): boolean -end - declare class VoiceChatService extends Instance EnableDefaultVoice: boolean UseAudioApi: EnumAudioApiRollout - UseNewAudioApi: boolean - VoiceChatEnabledForPlaceOnRcc: boolean - VoiceChatEnabledForUniverseOnRcc: boolean function IsVoiceEnabledForUserIdAsync(self, userId: number): boolean - function joinVoice(self): nil end declare class WedgePart extends FormFactorPart @@ -12033,26 +9897,17 @@ declare class Workspace extends WorldRoot StreamingTargetRadius: number Terrain: Terrain TouchesUseCollisionGroups: boolean - function CalculateJumpDistance(self, gravity: number, jumpPower: number, walkSpeed: number): number - function CalculateJumpHeight(self, gravity: number, jumpPower: number): number - function CalculateJumpPower(self, gravity: number, jumpHeight: number): number - function ExperimentalSolverIsEnabled(self): boolean function GetNumAwakeParts(self): number function GetPhysicsThrottling(self): number function GetRealPhysicsFPS(self): number function GetServerTimeNow(self): number function JoinToOutsiders(self, objects: { Instance }, jointType: EnumJointCreationMode): nil function PGSIsEnabled(self): boolean - function SetAvatarUnificationMode(self, value: EnumAvatarUnificationMode): nil - function SetMeshPartHeadsAndAccessories(self, value: EnumMeshPartHeadsAndAccessories): nil - function SetPhysicsThrottleEnabled(self, value: boolean): nil function UnjoinFromOutsiders(self, objects: { Instance }): nil function ZoomToExtents(self): nil end declare class WorkspaceAnnotation extends Annotation - Adornee: PVInstance - Position: CFrame end declare class WorldModel extends WorldRoot @@ -12063,15 +9918,11 @@ declare class WorldRoot extends Model function Blockcast(self, cframe: CFrame, size: Vector3, direction: Vector3, params: RaycastParams?): RaycastResult? function Blockcast(self, cframe: CFrame, size: Vector3, direction: Vector3, params: RaycastParams?): RaycastResult? function BulkMoveTo(self, partList: { BasePart }, cframeList: { CFrame }, eventMode: EnumBulkMoveMode?): nil - function CacheCurrentTerrain(self, id: string, center: Vector3, radius: number): string - function ClearCachedTerrain(self, id: string): boolean function GetPartBoundsInBox(self, cframe: CFrame, size: Vector3, overlapParams: OverlapParams?): { BasePart } function GetPartBoundsInRadius(self, position: Vector3, radius: number, overlapParams: OverlapParams?): { BasePart } function GetPartsInPart(self, part: BasePart, overlapParams: OverlapParams?): { BasePart } function IKMoveTo(self, part: BasePart, target: CFrame, translateStiffness: number?, rotateStiffness: number?, collisionsMode: EnumIKCollisionsMode?): nil function Raycast(self, origin: Vector3, direction: Vector3, raycastParams: RaycastParams?): RaycastResult? - function RaycastCachedTerrain(self, id: string, origin: Vector3, direction: Vector3, ignoreWater: boolean): RaycastResult? - function SetInsertPoint(self, point: Vector3, ignoreGrid: boolean?): nil function Shapecast(self, part: BasePart, direction: Vector3, params: RaycastParams?): RaycastResult? function Shapecast(self, part: BasePart, direction: Vector3, params: RaycastParams?): RaycastResult? function Spherecast(self, position: Vector3, radius: number, direction: Vector3, params: RaycastParams?): RaycastResult? @@ -12105,197 +9956,220 @@ declare class WrapTarget extends BaseWrap Stiffness: number end -declare Instance: { - new: ((className: string, parent: Instance?) -> Instance), - fromExisting: ((existingInstance: Instance) -> Instance), -} - -declare Ray: { - new: ((Origin: Vector3, Direction: Vector3) -> Ray), -} - -declare NumberRange: { - new: ((value: number) -> NumberRange) & ((min: number, max: number) -> NumberRange), -} - -declare PathWaypoint: { - new: ((position: Vector3, action: EnumPathWaypointAction, label: string?) -> PathWaypoint), +declare Axes: { + new: ((axes: any) -> Axes), } declare BrickColor: { - Red: (() -> BrickColor), - Yellow: (() -> BrickColor), + Black: (() -> BrickColor), Blue: (() -> BrickColor), - Gray: (() -> BrickColor), DarkGray: (() -> BrickColor), - White: (() -> BrickColor), - random: (() -> BrickColor), + Gray: (() -> BrickColor), Green: (() -> BrickColor), - Black: (() -> BrickColor), - palette: ((paletteValue: number) -> BrickColor), + Red: (() -> BrickColor), + White: (() -> BrickColor), + Yellow: (() -> BrickColor), new: ((val: number) -> BrickColor) & ((r: number, g: number, b: number) -> BrickColor) & ((color: Color3) -> BrickColor) & ((name: "Alder" | "Artichoke" | "Baby blue" | "Beige" | "Black" | "Black metallic" | "Br. reddish orange" | "Br. yellowish green" | "Br. yellowish orange" | "Brick yellow" | "Bright blue" | "Bright bluish green" | "Bright bluish violet" | "Bright green" | "Bright orange" | "Bright purple" | "Bright red" | "Bright reddish lilac" | "Bright reddish violet" | "Bright violet" | "Bright yellow" | "Bronze" | "Brown" | "Burgundy" | "Burlap" | "Burnt Sienna" | "Buttermilk" | "CGA brown" | "Cadet blue" | "Camo" | "Carnation pink" | "Cashmere" | "Cloudy grey" | "Cocoa" | "Cool yellow" | "Copper" | "Cork" | "Crimson" | "Curry" | "Cyan" | "Daisy orange" | "Dark Curry" | "Dark Royal blue" | "Dark blue" | "Dark green" | "Dark grey" | "Dark grey metallic" | "Dark indigo" | "Dark nougat" | "Dark orange" | "Dark red" | "Dark stone grey" | "Dark taupe" | "Deep blue" | "Deep orange" | "Dirt brown" | "Dove blue" | "Dusty Rose" | "Earth blue" | "Earth green" | "Earth orange" | "Earth yellow" | "Eggplant" | "Electric blue" | "Faded green" | "Fawn brown" | "Fire Yellow" | "Flame reddish orange" | "Flame yellowish orange" | "Flint" | "Fog" | "Forest green" | "Fossil" | "Ghost grey" | "Gold" | "Grey" | "Grime" | "Gun metallic" | "Hot pink" | "Hurricane grey" | "Institutional white" | "Khaki" | "Lapis" | "Laurel green" | "Lavender" | "Lemon metalic" | "Lig. Yellowich orange" | "Lig. yellowish green" | "Light Royal blue" | "Light blue" | "Light bluish green" | "Light bluish violet" | "Light brick yellow" | "Light green (Mint)" | "Light grey" | "Light grey metallic" | "Light lilac" | "Light orange" | "Light orange brown" | "Light pink" | "Light purple" | "Light red" | "Light reddish violet" | "Light stone grey" | "Light yellow" | "Lilac" | "Lily white" | "Lime green" | "Linen" | "Magenta" | "Maroon" | "Mauve" | "Med. bluish green" | "Med. reddish violet" | "Med. yellowish green" | "Med. yellowish orange" | "Medium Royal blue" | "Medium blue" | "Medium bluish violet" | "Medium green" | "Medium lilac" | "Medium orange" | "Medium red" | "Medium stone grey" | "Mid gray" | "Mint" | "Moss" | "Mulberry" | "Navy blue" | "Neon green" | "Neon orange" | "New Yeller" | "Nougat" | "Olive" | "Olivine" | "Oyster" | "Parsley green" | "Pastel Blue" | "Pastel blue-green" | "Pastel brown" | "Pastel green" | "Pastel light blue" | "Pastel orange" | "Pastel violet" | "Pastel yellow" | "Pearl" | "Persimmon" | "Phosph. White" | "Pine Cone" | "Pink" | "Plum" | "Quill grey" | "Really black" | "Really blue" | "Really red" | "Red flip/flop" | "Reddish brown" | "Reddish lilac" | "Royal blue" | "Royal purple" | "Rust" | "Sage green" | "Salmon" | "Sand blue" | "Sand blue metallic" | "Sand green" | "Sand red" | "Sand violet" | "Sand violet metallic" | "Sand yellow" | "Sand yellow metallic" | "Sea green" | "Seashell" | "Shamrock" | "Silver" | "Silver flip/flop" | "Slime green" | "Smoky grey" | "Steel blue" | "Storm blue" | "Sunrise" | "Tawny" | "Teal" | "Terra Cotta" | "Toothpaste" | "Tr. Blue" | "Tr. Bright bluish violet" | "Tr. Brown" | "Tr. Flu. Blue" | "Tr. Flu. Green" | "Tr. Flu. Red" | "Tr. Flu. Reddish orange" | "Tr. Flu. Yellow" | "Tr. Green" | "Tr. Lg blue" | "Tr. Medi. reddish violet" | "Tr. Red" | "Tr. Yellow" | "Transparent" | "Turquoise" | "Warm yellowish orange" | "Wheat" | "White" | "Yellow flip/flop") -> BrickColor), + palette: ((paletteValue: number) -> BrickColor), + random: (() -> BrickColor), } -declare Vector2: { - zero: Vector2, - one: Vector2, - xAxis: Vector2, - yAxis: Vector2, - new: ((x: number?, y: number?) -> Vector2), - min: ((...Vector2) -> Vector2), - max: ((...Vector2) -> Vector2), -} - -declare Vector2int16: { - new: ((x: number?, y: number?) -> Vector2int16), +declare CFrame: { + Angles: ((rx: number, ry: number, rz: number) -> CFrame), + fromAxisAngle: ((v: Vector3, r: number) -> CFrame), + fromEulerAngles: ((rx: number, ry: number, rz: number, order: EnumRotationOrder?) -> CFrame), + fromEulerAnglesXYZ: ((rx: number, ry: number, rz: number) -> CFrame), + fromEulerAnglesYXZ: ((rx: number, ry: number, rz: number) -> CFrame), + fromMatrix: ((pos: Vector3, vX: Vector3, vY: Vector3, vZ: Vector3) -> CFrame), + fromOrientation: ((rx: number, ry: number, rz: number) -> CFrame), + fromRotationBetweenVectors: ((from: Vector3, to: Vector3) -> CFrame), + identity: CFrame, + lookAlong: ((at: Vector3, direction: Vector3, up: Vector3?) -> CFrame), + lookAt: ((at: Vector3, lookAt: Vector3, up: Vector3?) -> CFrame), + new: (() -> CFrame) & ((pos: Vector3) -> CFrame) & ((pos: Vector3, lookAt: Vector3) -> CFrame) & ((x: number, y: number, z: number) -> CFrame) & ((x: number, y: number, z: number, qX: number, qY: number, qZ: number, qW: number) -> CFrame) & ((x: number, y: number, z: number, R00: number, R01: number, R02: number, R10: number, R11: number, R12: number, R20: number, R21: number, R22: number) -> CFrame), } declare Color3: { - fromRGB: ((red: number?, green: number?, blue: number?) -> Color3), fromHSV: ((hue: number, saturation: number, value: number) -> Color3), - toHSV: ((color: Color3) -> (number, number, number)), - new: ((red: number?, green: number?, blue: number?) -> Color3), fromHex: ((hex: string) -> Color3), + fromRGB: ((red: number, green: number, blue: number) -> Color3), + new: ((red: number, green: number, blue: number) -> Color3), + toHSV: ((color: Color3) -> (number, number, number)), } -declare UDim: { - new: ((Scale: number?, Offset: number?) -> UDim), -} - -declare PhysicalProperties: { - new: ((material: EnumMaterial) -> PhysicalProperties) & ((density: number, friction: number, elasticity: number, frictionWeight: number?, elasticityWeight: number?) -> PhysicalProperties) & ((density: number, friction: number, elasticity: number) -> PhysicalProperties), +declare ColorSequence: { + new: ((c: Color3) -> ColorSequence) & ((c0: Color3, c1: Color3) -> ColorSequence) & ((keypoints: { any }) -> ColorSequence), } -declare Axes: { - new: ((axes: any) -> Axes), +declare ColorSequenceKeypoint: { + new: ((time: number, color: Color3) -> ColorSequenceKeypoint), } -declare Region3: { - new: ((min: Vector3, max: Vector3) -> Region3), +declare DateTime: { + fromIsoDate: ((isoDate: string) -> DateTime), + fromLocalTime: ((year: number?, month: number?, day: number?, hour: number, minute: number, second: number, millisecond: number) -> DateTime), + fromUniversalTime: ((year: number?, month: number?, day: number?, hour: number, minute: number, second: number, millisecond: number) -> DateTime), + fromUnixTimestamp: ((unixTimestamp: number) -> DateTime), + fromUnixTimestampMillis: ((unixTimestampMillis: number) -> DateTime), + now: (() -> DateTime), } -declare Region3int16: { - new: ((min: Vector3int16, max: Vector3int16) -> Region3int16), +declare DockWidgetPluginGuiInfo: { + new: ((initDockState: EnumInitialDockState?, initEnabled: boolean, overrideEnabledRestore: boolean, floatXSize: number, floatYSize: number, minWidth: number, minHeight: number) -> DockWidgetPluginGuiInfo), } -declare UDim2: { - fromScale: ((xScale: number, yScale: number) -> UDim2), - fromOffset: ((xOffset: number, yOffset: number) -> UDim2), - new: ((x: UDim, y: UDim) -> UDim2) & ((xScale: number?, xOffset: number?, yScale: number?, yOffset: number?) -> UDim2), +declare Faces: { + new: ((["normalIds..."]: any) -> Faces), } -declare CFrame: { - identity: CFrame, - fromEulerAnglesYXZ: ((rx: number, ry: number, rz: number) -> CFrame), - fromEulerAngles: ((rx: number, ry: number, rz: number, order: EnumRotationOrder) -> CFrame), - Angles: ((rx: number, ry: number, rz: number) -> CFrame), - fromMatrix: ((pos: Vector3, vX: Vector3, vY: Vector3, vZ: Vector3?) -> CFrame), - fromAxisAngle: ((v: Vector3, r: number) -> CFrame), - fromOrientation: ((rx: number, ry: number, rz: number) -> CFrame), - fromEulerAnglesXYZ: ((rx: number, ry: number, rz: number) -> CFrame), - lookAt: ((at: Vector3, target: Vector3, up: Vector3?) -> CFrame), - lookAlong: ((at: Vector3, direction: Vector3, up: Vector3?) -> CFrame), - new: (() -> CFrame) & ((pos: Vector3) -> CFrame) & ((pos: Vector3, lookAt: Vector3) -> CFrame) & ((x: number, y: number, z: number) -> CFrame) & ((x: number, y: number, z: number, qX: number, qY: number, qZ: number, qW: number) -> CFrame) & ((x: number, y: number, z: number, R00: number, R01: number, R02: number, R10: number, R11: number, R12: number, R20: number, R21: number, R22: number) -> CFrame), +declare FloatCurveKey: { + new: ((time: number, value: number, Interpolation: EnumKeyInterpolationMode) -> FloatCurveKey), } -declare Faces: { - new: ((normalIds: any) -> Faces), +declare Font: { + fromEnum: ((font: EnumFont) -> EnumFont), + fromId: ((id: number, weight: EnumFontWeight?, style: EnumFontStyle?) -> EnumFont), + fromName: ((name: string, weight: EnumFontWeight?, style: EnumFontStyle?) -> EnumFont), + new: ((family: Content, weight: EnumFontWeight?, style: EnumFontStyle?) -> EnumFont), } -declare Rect: { - new: (() -> Rect) & ((min: Vector2, max: Vector2) -> Rect) & ((minX: number, minY: number, maxX: number, maxY: number) -> Rect), +declare Instance: { + fromExisting: ((existingInstance: Instance) -> Instance), + new: ((className: string, parent: Instance) -> Instance), } -declare Vector3: { - zero: Vector3, - one: Vector3, - xAxis: Vector3, - yAxis: Vector3, - zAxis: Vector3, - fromNormalId: ((normal: EnumNormalId) -> Vector3), - fromAxis: ((axis: EnumAxis) -> Vector3), - FromNormalId: ((normal: EnumNormalId) -> Vector3), - FromAxis: ((axis: EnumAxis) -> Vector3), - new: ((x: number?, y: number?, z: number?) -> Vector3), - min: ((...Vector3) -> Vector3), - max: ((...Vector3) -> Vector3), +declare NumberRange: { + new: ((value: number) -> NumberRange) & ((minimum: number, maximum: number) -> NumberRange), } -declare Vector3int16: { - new: ((x: number?, y: number?, z: number?) -> Vector3int16), +declare NumberSequence: { + new: ((n: number) -> NumberSequence) & ((n0: number, n1: number) -> NumberSequence) & ((Keypoints: { any }) -> NumberSequence), } -declare Random: { - new: ((seed: number?) -> Random), +declare NumberSequenceKeypoint: { + new: ((time: number, value: number) -> NumberSequenceKeypoint) & ((time: number, value: number, envelope: number) -> NumberSequenceKeypoint), } -declare TweenInfo: { - new: ((time: number?, easingStyle: EnumEasingStyle?, easingDirection: EnumEasingDirection?, repeatCount: number?, reverses: boolean?, delayTime: number?) -> TweenInfo), +declare OverlapParams: { + new: (() -> OverlapParams), } -declare DateTime: { - now: (() -> DateTime), - fromUnixTimestamp: ((unixTimestamp: number) -> DateTime), - fromUnixTimestampMillis: ((unixTimestampMillis: number) -> DateTime), - fromUniversalTime: ((year: number?, month: number?, day: number?, hour: number?, minute: number?, second: number?, millisecond: number?) -> DateTime), - fromLocalTime: ((year: number?, month: number?, day: number?, hour: number?, minute: number?, second: number?, millisecond: number?) -> DateTime), - fromIsoDate: ((isoDate: string) -> DateTime), +declare Path2DControlPoint: { + new: (() -> Path2DControlPoint) & ((Position: UDim2) -> Path2DControlPoint) & ((Position: UDim2, ["Left Tangent"]: UDim2, ["Right Tangent"]: UDim2) -> Path2DControlPoint), } -declare NumberSequence: { - new: ((n: number) -> NumberSequence) & ((n0: number, n1: number) -> NumberSequence) & ((keypoints: { NumberSequenceKeypoint }) -> NumberSequence), +declare PathWaypoint: { + new: ((position: Vector3?, action: EnumPathWaypointAction?, label: string) -> PathWaypoint), } -declare ColorSequence: { - new: ((c: Color3) -> ColorSequence) & ((c0: Color3, c1: Color3) -> ColorSequence) & ((keypoints: { ColorSequenceKeypoint }) -> ColorSequence), +declare PhysicalProperties: { + new: ((material: EnumMaterial) -> PhysicalProperties) & ((density: number, friction: number, elasticity: number) -> PhysicalProperties) & ((density: number, friction: number, elasticity: number, frictionWeight: number, elasticityWeight: number) -> PhysicalProperties), } -declare NumberSequenceKeypoint: { - new: ((time: number, value: number, envelop: number?) -> NumberSequenceKeypoint), +declare Random: { + new: ((seed: number) -> Random), } -declare ColorSequenceKeypoint: { - new: ((time: number, color: Color3) -> ColorSequenceKeypoint), +declare Ray: { + new: ((Origin: Vector3, Direction: Vector3) -> Ray), } declare RaycastParams: { new: (() -> RaycastParams), } -declare OverlapParams: { - new: (() -> OverlapParams), +declare Rect: { + new: (() -> Rect) & ((min: Vector2, max: Vector2) -> Rect) & ((minX: number, minY: number, maxX: number, maxY: number) -> Rect), } -declare DockWidgetPluginGuiInfo: { - new: ((initDockState: EnumInitialDockState?, initEnabled: boolean?, overrideEnabledRestore: boolean?, floatXSize: number?, floatYSize: number?, minWidth: number?, minHeight: number?) -> DockWidgetPluginGuiInfo), +declare Region3: { + new: ((min: Vector3, max: Vector3) -> Region3), } -declare CatalogSearchParams: { - new: (() -> CatalogSearchParams), +declare Region3int16: { + new: ((min: Vector3int16, max: Vector3int16) -> Region3int16), } -declare Font: { - new: ((family: string, weight: EnumFontWeight?, style: EnumFontStyle?) -> Font), - fromEnum: ((font: EnumFont) -> Font), - fromName: ((name: string, weight: EnumFontWeight?, style: EnumFontStyle?) -> Font), - fromId: ((id: number, weight: EnumFontWeight?, style: EnumFontStyle?) -> Font), +declare RotationCurveKey: { + new: ((time: number, cframe: CFrame, Interpolation: EnumKeyInterpolationMode) -> RotationCurveKey), } -declare FloatCurveKey: { - new: ((time: number, value: number, Interpolation: EnumKeyInterpolationMode) -> FloatCurveKey), +declare SharedTable: { + clear: ((st: SharedTable) -> nil), + clone: ((st: SharedTable, deep: boolean?) -> SharedTable), + cloneAndFreeze: ((st: SharedTable, deep: boolean?) -> SharedTable), + increment: ((st: SharedTable, key: string | number, delta: number) -> number), + isFrozen: ((st: SharedTable) -> boolean), + new: (() -> SharedTable) & ((t: { any }) -> SharedTable), + size: ((st: SharedTable) -> number), + update: ((st: SharedTable, key: string | number, f: ((...any) -> ...any)) -> nil), } -declare RotationCurveKey: { - new: ((time: number, value: CFrame, Interpolation: EnumKeyInterpolationMode) -> RotationCurveKey), +declare TweenInfo: { + new: ((time: number?, easingStyle: EnumEasingStyle?, easingDirection: EnumEasingDirection?, repeatCount: number, reverses: boolean, delayTime: number) -> TweenInfo), } -declare Secret: { +declare UDim: { + new: ((Scale: number, Offset: number) -> UDim), } -declare Path2DControlPoint: { - new: (() -> Path2DControlPoint) & ((position: UDim2) -> Path2DControlPoint) & ((position: UDim2, leftTangent: UDim2, rightTangent: UDim2) -> Path2DControlPoint), +declare UDim2: { + fromOffset: ((xOffset: number, yOffset: number) -> UDim2), + fromScale: ((xScale: number, yScale: number) -> UDim2), + new: (() -> UDim2) & ((xScale: number, xOffset: number, yScale: number, yOffset: number) -> UDim2) & ((x: UDim, y: UDim) -> UDim2), } +declare Vector2: { + new: ((x: number, y: number) -> Vector2), + one: Vector2, + xAxis: Vector2, + yAxis: Vector2, + zero: Vector2, +} + +declare Vector2int16: { + new: ((x: number, y: number) -> Vector2int16), +} + +declare Vector3: { + FromAxis: ((axis: EnumAxis) -> Vector3), + FromNormalId: ((normal: EnumNormalId) -> Vector3), + new: ((x: number, y: number, z: number) -> Vector3), + one: Vector3, + xAxis: Vector3, + yAxis: Vector3, + zAxis: Vector3, + zero: Vector3, +} + +declare Vector3int16: { + new: ((x: number, y: number, z: number) -> Vector3int16), +} + +declare Enum: Enums +declare game: DataModel +declare plugin: Plugin +declare script: LuaSourceContainer +declare shared: { any } +declare workspace: Workspace +declare function DebuggerManager(): DebuggerManager +declare function PluginManager(): PluginManager +declare function UserSettings(): UserSettings +declare function delay(delayTime: number, callback: ((...any) -> ...any)): nil +declare function elapsedTime(): number +declare function gcinfo(): number +declare function printidentity(prefix: string?): nil +declare function require(module: ModuleScript): any +declare function settings(): GlobalSettings +declare function spawn(callback: ((...any) -> ...any)): nil +declare function stats(): Stats +declare function tick(): number +declare function time(): number +declare function typeof(object: any): string +declare function version(): string +declare function wait(seconds: number?): (number, number) +declare function warn(params: any): nil +declare function ypcall(f: ((...any) -> ...any), args: any): (boolean, any) declare class GlobalSettings extends GenericSettings Lua: LuaSettings @@ -12321,10 +10195,3 @@ declare SharedTable: { update: (st: SharedTable, key: string | number, f: (any) -> any) -> (), } -declare game: DataModel -declare workspace: Workspace -declare plugin: Plugin -declare script: LuaSourceContainer -declare function settings(): GlobalSettings -declare function UserSettings(): UserSettings - diff --git a/scripts/requirements.txt b/scripts/requirements.txt new file mode 100644 index 00000000..4e39f813 --- /dev/null +++ b/scripts/requirements.txt @@ -0,0 +1,2 @@ +PyYAML==6.0.2 +requests==2.32.3 From 87ad450570f70c424de97dab2e623cf470d65e2a Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Fri, 20 Sep 2024 22:13:38 +1000 Subject: [PATCH 2/4] Handle security --- scripts/dumpRobloxTypes.py | 52 +++++++++++++++++++----------------- scripts/globalTypes.d.luau | 54 -------------------------------------- 2 files changed, 28 insertions(+), 78 deletions(-) diff --git a/scripts/dumpRobloxTypes.py b/scripts/dumpRobloxTypes.py index 64af224c..cb6bd3d0 100644 --- a/scripts/dumpRobloxTypes.py +++ b/scripts/dumpRobloxTypes.py @@ -1,7 +1,7 @@ # Script to pull in API Dump and export it into a definition file # Based off https://gist.github.com/HawDevelopment/97f2411149e24d8e7a712016114d55ff import re -from typing import List, Literal, Optional, Set, Union, TypedDict +from typing import List, Optional, Set from collections import defaultdict import requests import json @@ -12,8 +12,6 @@ # API Endpoints DOCUMENTATION_DIRECTORY = "creator-docs/content/en-us/reference/engine" -CORRECTIONS = open("Corrections.json", "r") -API_DUMP_URL = "https://raw.githubusercontent.com/CloneTrooper1019/Roblox-Client-Tracker/roblox/API-Dump.json" BRICK_COLORS_URL = "https://gist.githubusercontent.com/Anaminus/49ac255a68e7a7bc3cdd72b602d5071f/raw/f1534dcae312dbfda716b7677f8ac338b565afc3/BrickColor.json" INCLUDE_DEPRECATED_METHODS = False @@ -614,6 +612,11 @@ CREATABLE: List[str] = [] # All creatable instances BRICK_COLORS: Set[str] = set() +@dataclass +class Security: + read: str + write: str + @dataclass class Parameter: name: str @@ -633,6 +636,7 @@ class Property: name: str type: str tags: list[str] + security: Security @dataclass @@ -641,6 +645,7 @@ class Function: parameters: list[Parameter] returns: list[str] tags: list[str] + security: Security @dataclass @@ -669,6 +674,7 @@ class Event: name: str parameters: list[Parameter] tags: list[str] + security: Security @dataclass @@ -772,19 +778,9 @@ def filterMember(klassName: str, member: Function): return False if klassName in IGNORED_MEMBERS and member.name in IGNORED_MEMBERS[klassName]: return False - # TODO: - # if "Security" in member: - # if isinstance(member["Security"], str): - # if SECURITY_LEVELS.index(member["Security"]) > SECURITY_LEVELS.index( - # chosenSecurityLevel - # ): - # return False - # else: - # if min( - # SECURITY_LEVELS.index(member["Security"]["Read"]), - # SECURITY_LEVELS.index(member["Security"]["Write"]), - # ) > SECURITY_LEVELS.index(chosenSecurityLevel): - # return False + if member.security: + if min(SECURITY_LEVELS.index(member.security.read), SECURITY_LEVELS.index(member.security.write)) > SECURITY_LEVELS.index(chosenSecurityLevel): + return False return True @@ -900,7 +896,7 @@ def metamethod(operator: str): def printDataTypes(types: List[DataType]): for dataType in types: math_operations = [ - Function(metamethod(operation.operation) , [Parameter("other", operation.type_b, None)], [operation.return_type], []) + Function(metamethod(operation.operation) , [Parameter("other", operation.type_b, None)], [operation.return_type], [], Security("None", "None")) for operation in dataType.math_operations ] @@ -922,7 +918,7 @@ def printDataTypeConstructors(types: List[DataType]): isBrickColorNew = True continue - functions[member.name].append(Function(member.name, member.parameters, [klass.name], member.tags)) + functions[member.name].append(Function(member.name, member.parameters, [klass.name], member.tags, Security("None", "None"))) for member in klass.functions: functions[member.name].append(member) @@ -941,7 +937,7 @@ def printDataTypeConstructors(types: List[DataType]): if isBrickColorNew: colors = " | ".join(map(lambda c: f'"{c}"', sorted(BRICK_COLORS))) - functions["new"].append(Function("new", [Parameter("name", colors, None)], ["BrickColor"], [])) + functions["new"].append(Function("new", [Parameter("name", colors, None)], ["BrickColor"], [], Security("None", "None"))) for function, overloads in functions.items(): overloads = [f"(({", ".join([resolveParameter(parameter) for parameter in member.parameters])}) -> {resolveReturnType(member.returns)})" for member in overloads] @@ -987,6 +983,14 @@ def printJsonPrologue(): DATATYPES_DIRECTORY = os.path.join(DOCUMENTATION_DIRECTORY, "datatypes") ENUMS_DIRECTORY = os.path.join(DOCUMENTATION_DIRECTORY, "enums") +def parse_security(info) -> Security: + security = info.get("security", None) + if not security: + return Security("None", "None") + if isinstance(security, str): + return Security(security, security) + else: + return Security(security["read"], security["write"]) def parse_parameter(info) -> Parameter: return Parameter(info["name"], info["type"], info["default"]) @@ -1007,7 +1011,7 @@ def parse_property(info, is_global = False) -> Property: property_name = info["name"] else: _class_name, property_name = info["name"].split(".") - return Property(property_name, info["type"], info["tags"]) + return Property(property_name, info["type"], info["tags"], parse_security(info)) def parse_method(info) -> Function: @@ -1018,7 +1022,7 @@ def parse_method(info) -> Function: else [] ) returns = [ret["type"] for ret in info["returns"]] - return Function(method_name, parameters, returns, info["tags"]) + return Function(method_name, parameters, returns, info["tags"], parse_security(info)) def parse_function(info, is_global = False) -> Function: @@ -1028,12 +1032,12 @@ def parse_function(info, is_global = False) -> Function: _class_name, function_name = info["name"].split(".") parameters = [parse_parameter(param) for param in info["parameters"]] if info["parameters"] else [] returns = [ret["type"] for ret in info["returns"]] - return Function(function_name, parameters, returns, info["tags"]) + return Function(function_name, parameters, returns, info["tags"], parse_security(info)) -def parse_event(info) -> Function: +def parse_event(info) -> Event: _class_name, event_name = info["name"].split(".") parameters = [parse_parameter(param) for param in info["parameters"]] if info["parameters"] else [] - return Event(event_name, parameters, info["tags"]) + return Event(event_name, parameters, info["tags"], parse_security(info)) def parse_math_operation(info) -> MathOperation: diff --git a/scripts/globalTypes.d.luau b/scripts/globalTypes.d.luau index 45161dec..5f523ba5 100644 --- a/scripts/globalTypes.d.luau +++ b/scripts/globalTypes.d.luau @@ -5123,7 +5123,6 @@ end declare class AudioEmitter extends Instance AudioInteractionGroup: string - DistanceAttenuation: BinaryString function GetConnectedWires(self, pin: string): { Instance } function GetDistanceAttenuation(self): { [any]: any } function GetInteractingListeners(self): { Instance } @@ -5167,7 +5166,6 @@ end declare class AudioListener extends Instance AudioInteractionGroup: string - DistanceAttenuation: BinaryString function GetConnectedWires(self, pin: string): { Instance } function GetDistanceAttenuation(self): { [any]: any } function GetInteractingEmitters(self): { Instance } @@ -5390,7 +5388,6 @@ declare class BaseWrap extends Instance CageMeshId: Content CageOrigin: CFrame CageOriginWorld: CFrame - HSRAssetId: Content ImportOrigin: CFrame ImportOriginWorld: CFrame end @@ -6978,7 +6975,6 @@ declare class Instance Parent: Instance? RobloxLocked: boolean Sandboxed: boolean - UniqueId: UniqueId function AddTag(self, tag: string): nil function ClearAllChildren(self): nil function Clone(self): Instance @@ -7237,47 +7233,7 @@ declare class MarketplaceService extends Instance end declare class MaterialService extends Instance - AsphaltName: string - BasaltName: string - BrickName: string - CardboardName: string - CarpetName: string - CeramicTilesName: string - ClayRoofTilesName: string - CobblestoneName: string - ConcreteName: string - CorrodedMetalName: string - CrackedLavaName: string - DiamondPlateName: string - FabricName: string - FoilName: string - GlacierName: string - GraniteName: string - GrassName: string - GroundName: string - IceName: string - LeafyGrassName: string - LeatherName: string - LimestoneName: string - MarbleName: string - MetalName: string - MudName: string - PavementName: string - PebbleName: string - PlasterName: string - PlasticName: string - RockName: string - RoofShinglesName: string - RubberName: string - SaltName: string - SandName: string - SandstoneName: string - SlateName: string - SmoothPlasticName: string - SnowName: string Use2022Materials: boolean - WoodName: string - WoodPlanksName: string function GetBaseMaterialOverride(self, material: EnumMaterial): string function GetMaterialVariant(self, material: EnumMaterial, name: string): MaterialVariant function SetBaseMaterialOverride(self, material: EnumMaterial, name: string): nil @@ -8406,8 +8362,6 @@ declare class ServiceProvider extends Instance end declare class ServiceVisibilityService extends Instance - HiddenServices: BinaryString - VisibleServices: BinaryString end declare class SharedTableRegistry extends Instance @@ -8750,8 +8704,6 @@ declare class Studio extends Instance PermissionLevelShown: EnumPermissionLevelShown PluginDebuggingEnabled: boolean PluginsDir: QDir - ReloadBuiltinPluginsOnChange: boolean - ReloadLocalPluginsOnChange: boolean Rulers: string RuntimeUndoBehavior: EnumRuntimeUndoBehavior ScriptTimeoutLength: number @@ -8807,8 +8759,6 @@ declare class Studio extends Instance ["Highlight Current Line"]: boolean ["Highlight Occurances"]: boolean ["Hover Animate Speed"]: EnumHoverAnimateSpeed - ["Hover Box Thickness"]: number - ["Hover Line Thickness"]: number ["Hover Over Color"]: Color3 ["Indent Using Spaces"]: boolean ["Keyword Color"]: Color3 @@ -8825,7 +8775,6 @@ declare class Studio extends Instance ["Output Font"]: QFont ["Output Layout Mode"]: EnumOutputLayoutMode ["Physical Draggers Select Scope By Default"]: boolean - ["Pivot Snap To Geometry Color"]: Color3 ["Primary Text Color"]: Color3 ["Property Color"]: Color3 ["Respect Studio shortcuts when game has focus"]: boolean @@ -8840,9 +8789,7 @@ declare class Studio extends Instance ["Selected Menu Item Background Color"]: Color3 ["Selected Text Color"]: Color3 ["Selection Background Color"]: Color3 - ["Selection Box Thickness"]: number ["Selection Color"]: Color3 - ["Selection Line Thickness"]: number ["Set Pivot of Imported Parts"]: boolean ["Show Core GUI in Explorer while Playing"]: boolean ["Show Diagnostics Bar"]: boolean @@ -8939,7 +8886,6 @@ declare class SurfaceAppearance extends Instance MetalnessMap: Content NormalMap: Content RoughnessMap: Content - TexturePack: Content end declare class SurfaceGui extends SurfaceGuiBase From 7b8c99ff0bdf0770ff2947829fea7bd5230608c4 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Fri, 20 Sep 2024 22:14:38 +1000 Subject: [PATCH 3/4] Fix checkout location --- .github/workflows/ci.yml | 2 +- .github/workflows/update-types-dump.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cda3444..face42fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: uses: actions/checkout@v4 with: repository: "Roblox/creator-docs" - path: "scripts" + path: "scripts/creator-docs" - name: Regenerate Types run: | diff --git a/.github/workflows/update-types-dump.yml b/.github/workflows/update-types-dump.yml index ee079bac..ebf03212 100644 --- a/.github/workflows/update-types-dump.yml +++ b/.github/workflows/update-types-dump.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v4 with: repository: "Roblox/creator-docs" - path: "scripts" + path: "scripts/creator-docs" - name: Update types dump run: | From d99757558f98e4596af9a230c031c30ce80504c2 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Fri, 20 Sep 2024 22:33:55 +1000 Subject: [PATCH 4/4] Fixes --- .github/workflows/ci.yml | 4 + .github/workflows/update-types-dump.yml | 4 + scripts/dumpRobloxTypes.py | 4 +- scripts/globalTypes.d.luau | 126 ++++++++++++------------ 4 files changed, 73 insertions(+), 65 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index face42fa..0afb8e21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,10 @@ jobs: repository: "Roblox/creator-docs" path: "scripts/creator-docs" + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Regenerate Types run: | cd scripts diff --git a/.github/workflows/update-types-dump.yml b/.github/workflows/update-types-dump.yml index ebf03212..4c6d10fb 100644 --- a/.github/workflows/update-types-dump.yml +++ b/.github/workflows/update-types-dump.yml @@ -33,6 +33,10 @@ jobs: repository: "Roblox/creator-docs" path: "scripts/creator-docs" + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Update types dump run: | cd scripts diff --git a/scripts/dumpRobloxTypes.py b/scripts/dumpRobloxTypes.py index cb6bd3d0..4297094d 100644 --- a/scripts/dumpRobloxTypes.py +++ b/scripts/dumpRobloxTypes.py @@ -757,10 +757,10 @@ def resolveType(type: str) -> str: def resolveParameter(param: Parameter): - if param.name == "...": + if param.name == "..." or param.name.endswith("..."): return f"...: {resolveType(param.type.removeprefix("Tuple<").removesuffix(">"))}" - return f"{escapeName(param.name)}: {resolveType(param.type)}{'?' if param.default else ''}" + return f"{escapeName(param.name)}: {resolveType(param.type)}{'?' if param.default is not None else ''}" def resolveReturnType(returns: list[str]) -> str: diff --git a/scripts/globalTypes.d.luau b/scripts/globalTypes.d.luau index 5f523ba5..cfb92657 100644 --- a/scripts/globalTypes.d.luau +++ b/scripts/globalTypes.d.luau @@ -4672,15 +4672,15 @@ declare class Vector2 X: number Y: number function Abs(self): Vector2 - function Angle(self, other: Vector2, isSigned: boolean): number + function Angle(self, other: Vector2, isSigned: boolean?): number function Ceil(self): Vector2 function Cross(self, other: Vector2): number function Dot(self, v: Vector2): number function Floor(self): Vector2 function FuzzyEq(self, other: Vector2, epsilon: number?): boolean function Lerp(self, v: Vector2, alpha: number): Vector2 - function Max(self, ["others..."]: any): Vector2 - function Min(self, ["others..."]: any): Vector2 + function Max(self, ...: any): Vector2 + function Min(self, ...: any): Vector2 function Sign(self): Vector2 function __add(self, other: Vector2): Vector2 function __div(self, other: Vector2): Vector2 @@ -4916,13 +4916,13 @@ end declare class AnalyticsService extends Instance function LogCustomEvent(self, player: Player, eventName: string, value: number?, customFields: { [any]: any }?): nil - function LogEconomyEvent(self, player: Player, flowType: EnumAnalyticsEconomyFlowType, currencyType: string, amount: number, endingBalance: number, transactionType: string, itemSku: string, customFields: { [any]: any }?): nil - function LogFunnelStepEvent(self, player: Player, funnelName: string, funnelSessionId: string, step: number?, stepName: string, customFields: { [any]: any }?): nil - function LogOnboardingFunnelStepEvent(self, player: Player, step: number, stepName: string, customFields: { [any]: any }?): nil - function LogProgressionCompleteEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil - function LogProgressionEvent(self, player: Player, progressionPathName: string, status: EnumAnalyticsProgressionType, level: number, levelName: string, customFields: { [any]: any }?): nil - function LogProgressionFailEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil - function LogProgressionStartEvent(self, player: Player, progressionPathName: string, level: number, levelName: string, customFields: { [any]: any }?): nil + function LogEconomyEvent(self, player: Player, flowType: EnumAnalyticsEconomyFlowType, currencyType: string, amount: number, endingBalance: number, transactionType: string, itemSku: string?, customFields: { [any]: any }?): nil + function LogFunnelStepEvent(self, player: Player, funnelName: string, funnelSessionId: string?, step: number?, stepName: string?, customFields: { [any]: any }?): nil + function LogOnboardingFunnelStepEvent(self, player: Player, step: number, stepName: string?, customFields: { [any]: any }?): nil + function LogProgressionCompleteEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil + function LogProgressionEvent(self, player: Player, progressionPathName: string, status: EnumAnalyticsProgressionType, level: number, levelName: string?, customFields: { [any]: any }?): nil + function LogProgressionFailEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil + function LogProgressionStartEvent(self, player: Player, progressionPathName: string, level: number, levelName: string?, customFields: { [any]: any }?): nil end declare class AngularVelocity extends Constraint @@ -5022,8 +5022,8 @@ declare class AssetService extends Instance function CreateEditableMeshAsync(self, meshId: Content): EditableMesh function CreateEditableMeshFromPartAsync(self, meshPart: Instance): EditableMesh function CreateMeshPartAsync(self, meshId: Content, options: { [any]: any }?): MeshPart - function CreatePlaceAsync(self, placeName: string, templatePlaceID: number, description: string): number - function CreatePlaceInPlayerInventoryAsync(self, player: Instance, placeName: string, templatePlaceID: number, description: string): number + function CreatePlaceAsync(self, placeName: string, templatePlaceID: number, description: string?): number + function CreatePlaceInPlayerInventoryAsync(self, player: Instance, placeName: string, templatePlaceID: number, description: string?): number function GetAssetIdsForPackage(self, packageAssetId: number): { any } function GetAudioMetadataAsync(self, idList: { any }): { any } function GetBundleDetailsAsync(self, bundleId: number): { [any]: any } @@ -5258,7 +5258,7 @@ declare class AvatarEditorService extends Instance function GetItemDetails(self, itemId: number, itemType: EnumAvatarItemType): { [any]: any } function GetOutfitDetails(self, outfitId: number): { [any]: any } function GetOutfits(self, outfitSource: EnumOutfitSource?, outfitType: EnumOutfitType?): OutfitPages - function GetRecommendedAssets(self, assetType: EnumAvatarAssetType, contextAssetId: number): { any } + function GetRecommendedAssets(self, assetType: EnumAvatarAssetType, contextAssetId: number?): { any } function GetRecommendedBundles(self, bundleId: number): { any } function PromptAllowInventoryReadAccess(self): nil function PromptCreateOutfit(self, outfit: HumanoidDescription, rigType: EnumHumanoidRigType): nil @@ -5413,7 +5413,7 @@ declare class Beam extends Instance Width0: number Width1: number ZOffset: number - function SetTextureOffset(self, offset: number): nil + function SetTextureOffset(self, offset: number?): nil end @@ -5609,9 +5609,9 @@ declare class Camera extends Instance function GetPartsObscuringTarget(self, castPoints: { Vector3 }, ignoreList: { Instance }): { BasePart } function GetRenderCFrame(self): CFrame function GetRoll(self): number - function ScreenPointToRay(self, x: number, y: number, depth: number): Ray + function ScreenPointToRay(self, x: number, y: number, depth: number?): Ray function SetRoll(self, rollAngle: number): nil - function ViewportPointToRay(self, x: number, y: number, depth: number): Ray + function ViewportPointToRay(self, x: number, y: number, depth: number?): Ray function WorldToScreenPoint(self, worldPoint: Vector3): any function WorldToViewportPoint(self, worldPoint: Vector3): any function ZoomToExtents(self, boundingBoxCFrame: CFrame, boundingBoxSize: Vector3): nil @@ -5991,8 +5991,8 @@ end declare class DataStore extends GlobalDataStore function GetVersionAsync(self, key: string, version: string): any - function ListKeysAsync(self, prefix: string, pageSize: number, cursor: string, excludeDeleted: boolean): DataStoreKeyPages - function ListVersionsAsync(self, key: string, sortDirection: EnumSortDirection?, minDate: number, maxDate: number, pageSize: number): DataStoreVersionPages + function ListKeysAsync(self, prefix: string?, pageSize: number?, cursor: string?, excludeDeleted: boolean?): DataStoreKeyPages + function ListVersionsAsync(self, key: string, sortDirection: EnumSortDirection?, minDate: number?, maxDate: number?, pageSize: number?): DataStoreVersionPages function RemoveVersionAsync(self, key: string, version: string): nil end @@ -6051,7 +6051,7 @@ declare class DataStoreService extends Instance function GetGlobalDataStore(self): DataStore function GetOrderedDataStore(self, name: string, scope: string?): OrderedDataStore function GetRequestBudgetForRequestType(self, requestType: EnumDataStoreRequestType): number - function ListDataStoresAsync(self, prefix: string, pageSize: number, cursor: string): DataStoreListingPages + function ListDataStoresAsync(self, prefix: string?, pageSize: number?, cursor: string?): DataStoreListingPages end declare class DataStoreSetOptions extends Instance @@ -6601,9 +6601,9 @@ declare class GuiObject extends GuiBase2d Transparency: number Visible: boolean ZIndex: number - function TweenPosition(self, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean - function TweenSize(self, endSize: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean - function TweenSizeAndPosition(self, endSize: UDim2, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean, callback: ((...any) -> ...any)?): boolean + function TweenPosition(self, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean + function TweenSize(self, endSize: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean + function TweenSizeAndPosition(self, endSize: UDim2, endPosition: UDim2, easingDirection: EnumEasingDirection?, easingStyle: EnumEasingStyle?, time: number?, override: boolean?, callback: ((...any) -> ...any)?): boolean end declare class GuiService extends Instance @@ -6736,11 +6736,11 @@ end declare class HttpService extends Instance HttpEnabled: boolean function GenerateGUID(self, wrapInCurlyBraces: boolean?): string - function GetAsync(self, url: any, nocache: boolean, headers: any): string + function GetAsync(self, url: any, nocache: boolean?, headers: any): string function GetSecret(self, key: string): Secret function JSONDecode(self, input: string): any function JSONEncode(self, input: any): string - function PostAsync(self, url: any, data: string, content_type: EnumHttpContentType?, compress: boolean, headers: any): string + function PostAsync(self, url: any, data: string, content_type: EnumHttpContentType?, compress: boolean?, headers: any): string function RequestAsync(self, options: HttpRequestOptions): HttpResponseData function UrlEncode(self, input: string): string end @@ -6809,7 +6809,7 @@ declare class Humanoid extends Instance function GetMoveVelocity(self): Vector3 function GetState(self): EnumHumanoidStateType function GetStateEnabled(self, state: EnumHumanoidStateType): boolean - function Move(self, moveDirection: Vector3, relativeToCamera: boolean): nil + function Move(self, moveDirection: Vector3, relativeToCamera: boolean?): nil function MoveTo(self, location: Vector3, part: Instance?): nil function PlayEmote(self, emoteName: string): boolean function RemoveAccessories(self): nil @@ -7269,8 +7269,8 @@ declare class MemoryStoreHashMapPages extends Pages end declare class MemoryStoreQueue extends Instance - function AddAsync(self, value: any, expiration: number, priority: number): nil - function ReadAsync(self, count: number, allOrNothing: boolean, waitTimeout: number?): any + function AddAsync(self, value: any, expiration: number, priority: number?): nil + function ReadAsync(self, count: number, allOrNothing: boolean?, waitTimeout: number?): any function RemoveAsync(self, id: string): nil end @@ -7739,11 +7739,11 @@ declare class Player extends Instance function IsFriendsWith(self, userId: number): boolean function IsInGroup(self, groupId: number): boolean function IsVerified(self): boolean - function Kick(self, message: string): nil + function Kick(self, message: string?): nil function LoadCharacter(self): nil function LoadCharacterWithHumanoidDescription(self, humanoidDescription: HumanoidDescription): nil - function Move(self, walkDirection: Vector3, relativeToCamera: boolean): nil - function RequestStreamAroundAsync(self, position: Vector3, timeOut: number): nil + function Move(self, walkDirection: Vector3, relativeToCamera: boolean?): nil + function RequestStreamAroundAsync(self, position: Vector3, timeOut: number?): nil function SetAccountAge(self, accountAge: number): nil function SetSuperSafeChat(self, value: boolean): nil end @@ -7813,8 +7813,8 @@ declare class Plugin extends Instance Unloading: RBXScriptSignal<> function Activate(self, exclusiveMouse: boolean): nil function CreateDockWidgetPluginGui(self, pluginGuiId: string, dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo): DockWidgetPluginGui - function CreatePluginAction(self, actionId: string, text: string, statusTip: string, iconName: string, allowBinding: boolean?): PluginAction - function CreatePluginMenu(self, id: string, title: string, icon: string): PluginMenu + function CreatePluginAction(self, actionId: string, text: string, statusTip: string, iconName: string?, allowBinding: boolean?): PluginAction + function CreatePluginMenu(self, id: string, title: string?, icon: string?): PluginMenu function CreateToolbar(self, name: string): PluginToolbar function Deactivate(self): nil function GetJoinMode(self): EnumJointCreationMode @@ -7830,7 +7830,7 @@ declare class Plugin extends Instance function OpenScript(self, script: LuaSourceContainer, lineNumber: number?): nil function OpenWikiPage(self, url: string): nil function PromptForExistingAssetId(self, assetType: string): number - function PromptSaveSelection(self, suggestedFileName: string): boolean + function PromptSaveSelection(self, suggestedFileName: string?): boolean function SaveSelectedToRoblox(self): nil function SelectRibbonTool(self, tool: EnumRibbonTool, position: UDim2): nil function Separate(self, objects: { Instance }): { Instance } @@ -7880,13 +7880,13 @@ declare class PluginManagementService extends Instance end declare class PluginManager extends Instance - function ExportPlace(self, filePath: string): nil - function ExportSelection(self, filePath: string): nil + function ExportPlace(self, filePath: string?): nil + function ExportSelection(self, filePath: string?): nil end declare class PluginManagerInterface extends Instance - function ExportPlace(self, filePath: string): nil - function ExportSelection(self, filePath: string): nil + function ExportPlace(self, filePath: string?): nil + function ExportSelection(self, filePath: string?): nil end declare class PluginMenu extends Instance @@ -7894,7 +7894,7 @@ declare class PluginMenu extends Instance Title: string function AddAction(self, action: Instance): nil function AddMenu(self, menu: Instance): nil - function AddNewAction(self, actionId: string, text: string, icon: string): Instance + function AddNewAction(self, actionId: string, text: string, icon: string?): Instance function AddSeparator(self): nil function Clear(self): nil function ShowAsync(self): Instance @@ -8444,7 +8444,7 @@ declare class SocialService extends Instance OnCallInviteInvoked: (tag: string, callParticipantIds: { any }) -> Instance PhoneBookPromptClosed: RBXScriptSignal function CanSendCallInviteAsync(self, player: Instance): boolean - function CanSendGameInviteAsync(self, player: Instance, recipientId: number): boolean + function CanSendGameInviteAsync(self, player: Instance, recipientId: number?): boolean function HideSelfView(self): nil function PromptGameInvite(self, player: Instance, experienceInviteOptions: Instance?): nil function PromptPhoneBook(self, player: Instance, tag: string): nil @@ -9050,16 +9050,16 @@ declare class TestService extends Instance TestCount: number Timeout: number WarnCount: number - function Check(self, condition: boolean, description: string, source: Instance?, line: number): nil - function Checkpoint(self, text: string, source: Instance?, line: number): nil + function Check(self, condition: boolean, description: string, source: Instance?, line: number?): nil + function Checkpoint(self, text: string, source: Instance?, line: number?): nil function Done(self): nil - function Error(self, description: string, source: Instance?, line: number): nil - function Fail(self, description: string, source: Instance?, line: number): nil - function Message(self, text: string, source: Instance?, line: number): nil - function Require(self, condition: boolean, description: string, source: Instance?, line: number): nil + function Error(self, description: string, source: Instance?, line: number?): nil + function Fail(self, description: string, source: Instance?, line: number?): nil + function Message(self, text: string, source: Instance?, line: number?): nil + function Require(self, condition: boolean, description: string, source: Instance?, line: number?): nil function Run(self): nil function ScopeTime(self): { [any]: any } - function Warn(self, condition: boolean, description: string, source: Instance?, line: number): nil + function Warn(self, condition: boolean, description: string, source: Instance?, line: number?): nil function isFeatureEnabled(self, name: string): boolean end @@ -9099,7 +9099,7 @@ declare class TextBox extends GuiObject TextYAlignment: EnumTextYAlignment function CaptureFocus(self): nil function IsFocused(self): boolean - function ReleaseFocus(self, submitted: boolean): nil + function ReleaseFocus(self, submitted: boolean?): nil end declare class TextBoxService extends Instance @@ -9136,8 +9136,8 @@ declare class TextChannel extends Instance OnIncomingMessage: (message: TextChatMessage) -> any ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) -> any function AddUserAsync(self, userId: number): any - function DisplaySystemMessage(self, systemMessage: string, metadata: string): TextChatMessage - function SendAsync(self, message: string, metadata: string): TextChatMessage + function DisplaySystemMessage(self, systemMessage: string, metadata: string?): TextChatMessage + function SendAsync(self, message: string, metadata: string?): TextChatMessage end declare class TextChatCommand extends Instance @@ -9938,8 +9938,8 @@ declare CFrame: { declare Color3: { fromHSV: ((hue: number, saturation: number, value: number) -> Color3), fromHex: ((hex: string) -> Color3), - fromRGB: ((red: number, green: number, blue: number) -> Color3), - new: ((red: number, green: number, blue: number) -> Color3), + fromRGB: ((red: number?, green: number?, blue: number?) -> Color3), + new: ((red: number?, green: number?, blue: number?) -> Color3), toHSV: ((color: Color3) -> (number, number, number)), } @@ -9953,19 +9953,19 @@ declare ColorSequenceKeypoint: { declare DateTime: { fromIsoDate: ((isoDate: string) -> DateTime), - fromLocalTime: ((year: number?, month: number?, day: number?, hour: number, minute: number, second: number, millisecond: number) -> DateTime), - fromUniversalTime: ((year: number?, month: number?, day: number?, hour: number, minute: number, second: number, millisecond: number) -> DateTime), + fromLocalTime: ((year: number?, month: number?, day: number?, hour: number?, minute: number?, second: number?, millisecond: number?) -> DateTime), + fromUniversalTime: ((year: number?, month: number?, day: number?, hour: number?, minute: number?, second: number?, millisecond: number?) -> DateTime), fromUnixTimestamp: ((unixTimestamp: number) -> DateTime), fromUnixTimestampMillis: ((unixTimestampMillis: number) -> DateTime), now: (() -> DateTime), } declare DockWidgetPluginGuiInfo: { - new: ((initDockState: EnumInitialDockState?, initEnabled: boolean, overrideEnabledRestore: boolean, floatXSize: number, floatYSize: number, minWidth: number, minHeight: number) -> DockWidgetPluginGuiInfo), + new: ((initDockState: EnumInitialDockState?, initEnabled: boolean?, overrideEnabledRestore: boolean?, floatXSize: number?, floatYSize: number?, minWidth: number?, minHeight: number?) -> DockWidgetPluginGuiInfo), } declare Faces: { - new: ((["normalIds..."]: any) -> Faces), + new: ((...: any) -> Faces), } declare FloatCurveKey: { @@ -10005,7 +10005,7 @@ declare Path2DControlPoint: { } declare PathWaypoint: { - new: ((position: Vector3?, action: EnumPathWaypointAction?, label: string) -> PathWaypoint), + new: ((position: Vector3?, action: EnumPathWaypointAction?, label: string?) -> PathWaypoint), } declare PhysicalProperties: { @@ -10042,8 +10042,8 @@ declare RotationCurveKey: { declare SharedTable: { clear: ((st: SharedTable) -> nil), - clone: ((st: SharedTable, deep: boolean?) -> SharedTable), - cloneAndFreeze: ((st: SharedTable, deep: boolean?) -> SharedTable), + clone: ((st: SharedTable, deep: boolean??) -> SharedTable), + cloneAndFreeze: ((st: SharedTable, deep: boolean??) -> SharedTable), increment: ((st: SharedTable, key: string | number, delta: number) -> number), isFrozen: ((st: SharedTable) -> boolean), new: (() -> SharedTable) & ((t: { any }) -> SharedTable), @@ -10052,7 +10052,7 @@ declare SharedTable: { } declare TweenInfo: { - new: ((time: number?, easingStyle: EnumEasingStyle?, easingDirection: EnumEasingDirection?, repeatCount: number, reverses: boolean, delayTime: number) -> TweenInfo), + new: ((time: number?, easingStyle: EnumEasingStyle?, easingDirection: EnumEasingDirection?, repeatCount: number?, reverses: boolean?, delayTime: number?) -> TweenInfo), } declare UDim: { @@ -10060,9 +10060,9 @@ declare UDim: { } declare UDim2: { - fromOffset: ((xOffset: number, yOffset: number) -> UDim2), - fromScale: ((xScale: number, yScale: number) -> UDim2), - new: (() -> UDim2) & ((xScale: number, xOffset: number, yScale: number, yOffset: number) -> UDim2) & ((x: UDim, y: UDim) -> UDim2), + fromOffset: ((xOffset: number?, yOffset: number?) -> UDim2), + fromScale: ((xScale: number?, yScale: number?) -> UDim2), + new: (() -> UDim2) & ((xScale: number?, xOffset: number?, yScale: number?, yOffset: number?) -> UDim2) & ((x: UDim, y: UDim) -> UDim2), } declare Vector2: { @@ -10080,7 +10080,7 @@ declare Vector2int16: { declare Vector3: { FromAxis: ((axis: EnumAxis) -> Vector3), FromNormalId: ((normal: EnumNormalId) -> Vector3), - new: ((x: number, y: number, z: number) -> Vector3), + new: ((x: number?, y: number?, z: number?) -> Vector3), one: Vector3, xAxis: Vector3, yAxis: Vector3,