From 72cd24c58dccf0d4815593968643110a1c36ea47 Mon Sep 17 00:00:00 2001 From: Snorlax <57375992+SnorlaxAssist@users.noreply.github.com> Date: Mon, 28 Oct 2024 02:19:25 -0400 Subject: [PATCH 1/2] Update customDefinitions.d.ts Instance extends object --- include/customDefinitions.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/customDefinitions.d.ts b/include/customDefinitions.d.ts index a145c45cb..e8458544f 100644 --- a/include/customDefinitions.d.ts +++ b/include/customDefinitions.d.ts @@ -540,7 +540,7 @@ interface InsertService extends Instance { GetUserSets(this: InsertService, userId: number): Array; } -interface Instance { +interface Instance extends Object { /** * **Clone** creates a copy of an object and all of its descendants, ignoring all objects that are not [Archivable](https://developer.roblox.com/en-us/api-reference/property/Instance/Archivable). The copy of the root object is returned by this function and its [Parent](https://developer.roblox.com/en-us/api-reference/property/Instance/Parent) is set to nil. * From 3b0868db298bce5626a93bd9895d410d460c6725 Mon Sep 17 00:00:00 2001 From: Snorlax <57375992+SnorlaxAssist@users.noreply.github.com> Date: Mon, 28 Oct 2024 02:31:48 -0400 Subject: [PATCH 2/2] Update Editable* to extend off Object "EditableImage and EditableMesh now inherit from Object instead of Instance." --- include/customDefinitions.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/customDefinitions.d.ts b/include/customDefinitions.d.ts index e8458544f..502aabcc1 100644 --- a/include/customDefinitions.d.ts +++ b/include/customDefinitions.d.ts @@ -341,11 +341,11 @@ interface Dragger extends Instance { MouseDown(this: Dragger, mousePart: BasePart, pointOnMousePart: Vector3, parts: Array): void; } -interface EditableImage extends Instance { +interface EditableImage extends Object { ReadPixels(this: EditableImage, position: Vector2, size: Vector2): Array; } -interface EditableMesh extends DataModelMesh { +interface EditableMesh extends Object { FindClosestPointOnSurface(this: EditableMesh, point: Vector3): LuaTuple<[number, Vector3, Vector3]>; FindVerticesWithinSphere(this: EditableMesh, center: Vector3, radius: number): Array; GetAdjacentTriangles(this: EditableMesh, triangleId: number): Array;