1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | type ChangedSignal = {
|
18 | |
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | readonly Changed: RBXScriptSignal<(changedPropertyName: string) => void>;
|
30 | };
|
31 |
|
32 | type Tweenable = number | boolean | CFrame | Rect | Color3 | UDim | UDim2 | Vector2 | Vector2int16 | Vector3;
|
33 |
|
34 | interface EmoteDictionary {
|
35 |
|
36 | [emoteName: string]: Array<number>;
|
37 | }
|
38 |
|
39 | type EquippedEmotes = Array<{ Name: string; Slot: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 }>;
|
40 |
|
41 | interface UserInfo {
|
42 | Id: number;
|
43 | Username: string;
|
44 | DisplayName: string;
|
45 | }
|
46 |
|
47 | interface GroupInfo {
|
48 | Name: string;
|
49 | Id: number;
|
50 | Owner: {
|
51 | Name: string;
|
52 | Id: number;
|
53 | };
|
54 | EmblemUrl: string;
|
55 | Description: string;
|
56 | Roles: Array<{
|
57 | Name: string;
|
58 | Rank: number;
|
59 | }>;
|
60 | }
|
61 |
|
62 | interface GetGroupsAsyncResult {
|
63 | Name: string;
|
64 | Id: number;
|
65 | EmblemUrl: string;
|
66 | Description: string;
|
67 | Rank: number;
|
68 | Role: string;
|
69 | IsPrimary: boolean;
|
70 | IsInClan: boolean;
|
71 | }
|
72 |
|
73 | type HttpHeaders = Record<string, string> | Map<string, string>;
|
74 | interface RequestAsyncRequest {
|
75 | Url: string;
|
76 | Method?: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH";
|
77 | Body?: string;
|
78 | Headers?: HttpHeaders;
|
79 | }
|
80 |
|
81 | interface RequestAsyncResponse {
|
82 | Success: boolean;
|
83 | StatusCode: number;
|
84 | StatusMessage: string;
|
85 | Headers: Record<string, string>;
|
86 | Body: string;
|
87 | }
|
88 |
|
89 | interface SetInfo {
|
90 | AssetSetId: string;
|
91 | CategoryId: string;
|
92 | CreatorName: string;
|
93 | Description: string;
|
94 | ImageAssetId: string;
|
95 | Name: string;
|
96 | SetType: string;
|
97 | }
|
98 |
|
99 | interface CollectionInfo {
|
100 | AssetId: string;
|
101 | AssetSetId: string;
|
102 | AssetVersionId: string;
|
103 | IsTrusted: boolean;
|
104 | Name: string;
|
105 | CreatorName: string;
|
106 | }
|
107 |
|
108 | interface BaseAccessoryInfo {
|
109 | AssetId: number;
|
110 | AccessoryType: Enum.AccessoryType;
|
111 | }
|
112 | interface RigidAccessoryInfo extends BaseAccessoryInfo {
|
113 | IsLayered: false;
|
114 | }
|
115 | interface LayeredAccessoryInfo extends BaseAccessoryInfo {
|
116 | IsLayered: true;
|
117 | Order: number;
|
118 | Puffiness?: number;
|
119 | }
|
120 | type AccessoryInfo = RigidAccessoryInfo | LayeredAccessoryInfo;
|
121 |
|
122 | interface FreeSearchResult {
|
123 | CurrentStartIndex: string;
|
124 | Results: Array<{
|
125 | AssetId: string;
|
126 | AssetVersionId: string;
|
127 | CreatorName: string;
|
128 | Name: string;
|
129 | }>;
|
130 | TotalCount: string;
|
131 | }
|
132 |
|
133 | interface LocalizationEntry {
|
134 | Key: string;
|
135 | Source: string;
|
136 | Context: string;
|
137 | Example: string;
|
138 | Values: Map<string, string>;
|
139 | }
|
140 |
|
141 | interface LogInfo {
|
142 | message: string;
|
143 | messageType: Enum.MessageType;
|
144 | timestamp: number;
|
145 | }
|
146 |
|
147 | interface ReceiptInfo {
|
148 |
|
149 | PlayerId: number;
|
150 |
|
151 | PlaceIdWherePurchased: number;
|
152 |
|
153 | PurchaseId: string;
|
154 |
|
155 | ProductId: number;
|
156 |
|
157 | CurrencyType: Enum.CurrencyType;
|
158 |
|
159 | CurrencySpent: number;
|
160 | }
|
161 |
|
162 | interface ProductInfo {
|
163 |
|
164 | Name: string;
|
165 |
|
166 | Description: string | undefined;
|
167 |
|
168 | PriceInRobux: number | undefined;
|
169 |
|
170 | Created: string;
|
171 |
|
172 | Updated: string;
|
173 |
|
174 | IsForSale: boolean;
|
175 |
|
176 | Sales: number | undefined;
|
177 | ProductId: number;
|
178 |
|
179 | Creator: {
|
180 |
|
181 | CreatorType: "User" | "Group" | undefined;
|
182 |
|
183 | CreatorTargetId: number;
|
184 |
|
185 | Name: string | undefined;
|
186 | };
|
187 | TargetId: number;
|
188 | }
|
189 |
|
190 | interface AssetProductInfo extends ProductInfo {
|
191 |
|
192 | ProductType: "User Product";
|
193 |
|
194 | AssetId: number;
|
195 |
|
196 | AssetTypeId: AssetTypeId;
|
197 |
|
198 | IsNew: boolean;
|
199 |
|
200 | IsLimited: boolean;
|
201 |
|
202 | IsLimitedUnique: boolean;
|
203 |
|
204 | IsPublicDomain: boolean;
|
205 |
|
206 | Remaining: number | undefined;
|
207 |
|
208 | ContentRatingTypeId: number;
|
209 |
|
210 | MinimumMembershipLevel: number;
|
211 | }
|
212 |
|
213 | interface DeveloperProductInfo extends ProductInfo {
|
214 |
|
215 | ProductType: "Developer Product";
|
216 | IconImageAssetId: number;
|
217 | }
|
218 |
|
219 | interface GamePassProductInfo extends ProductInfo {
|
220 |
|
221 | ProductType: "Game Pass";
|
222 | IconImageAssetId: number;
|
223 | }
|
224 |
|
225 | interface SubscriptionProductInfo extends ProductInfo {
|
226 |
|
227 | ProductType: "Subscription";
|
228 | }
|
229 |
|
230 | interface BadgeInfo {
|
231 |
|
232 | Name: string;
|
233 |
|
234 | Description: string;
|
235 |
|
236 | IconImageId: number;
|
237 |
|
238 | IsEnabled: boolean;
|
239 | }
|
240 |
|
241 | interface BundleInfo {
|
242 |
|
243 | BundleType: "BodyParts" | "AvatarAnimations";
|
244 |
|
245 |
|
246 | Description: string;
|
247 |
|
248 |
|
249 | Id: number;
|
250 |
|
251 |
|
252 | Items: Array<{
|
253 |
|
254 | Id: number;
|
255 |
|
256 | Name: string;
|
257 |
|
258 | Type: "Asset" | "UserOutfit";
|
259 | }>;
|
260 |
|
261 |
|
262 | Name: string;
|
263 | }
|
264 |
|
265 | type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
|
266 |
|
267 | interface PlayerJoinInfo {
|
268 |
|
269 | SourceGameId?: number;
|
270 |
|
271 | SourcePlaceId?: number;
|
272 |
|
273 | Members?: Array<number>;
|
274 |
|
275 | TeleportData?: TeleportData;
|
276 |
|
277 | LaunchData?: string;
|
278 | }
|
279 |
|
280 | interface BoundActionInfo {
|
281 | inputTypes: Array<Enum.KeyCode | Enum.PlayerActions | Enum.UserInputType | string>;
|
282 | priorityLevel: number;
|
283 | stackOrder: number;
|
284 | }
|
285 |
|
286 | declare const enum AssetTypeId {
|
287 | Image = 1,
|
288 | TeeShirt = 2,
|
289 | Audio = 3,
|
290 | Mesh = 4,
|
291 | Lua = 5,
|
292 | Hat = 8,
|
293 | Place = 9,
|
294 | Model = 10,
|
295 | Shirt = 11,
|
296 | Pants = 12,
|
297 | Decal = 13,
|
298 | Head = 17,
|
299 | Face = 18,
|
300 | Gear = 19,
|
301 | Badge = 21,
|
302 | Animation = 24,
|
303 | Torso = 27,
|
304 | RightArm = 28,
|
305 | LeftArm = 29,
|
306 | LeftLeg = 30,
|
307 | RightLeg = 31,
|
308 | Package = 32,
|
309 | GamePass = 34,
|
310 | Plugin = 38,
|
311 | MeshPart = 40,
|
312 | HairAccessory = 41,
|
313 | FaceAccessory = 42,
|
314 | NeckAccessory = 43,
|
315 | ShoulderAccessory = 44,
|
316 | FrontAccessory = 45,
|
317 | BackAccessory = 46,
|
318 | WaistAccessory = 47,
|
319 | ClimbAnimation = 48,
|
320 | DeathAnimation = 49,
|
321 | FallAnimation = 50,
|
322 | IdleAnimation = 51,
|
323 | JumpAnimation = 52,
|
324 | RunAnimation = 53,
|
325 | SwimAnimation = 54,
|
326 | WalkAnimation = 55,
|
327 | PoseAnimation = 56,
|
328 | EarAccessory = 57,
|
329 | EyeAccessory = 58,
|
330 | }
|
331 |
|
332 | interface AgentParameters {
|
333 |
|
334 | AgentRadius?: number;
|
335 | |
336 |
|
337 |
|
338 | AgentHeight?: number;
|
339 |
|
340 | AgentCanJump?: boolean;
|
341 |
|
342 | WaypointSpacing?: number;
|
343 |
|
344 | Costs?: { [K in Enum.Material["Name"]]?: number } & { [index: string]: number };
|
345 | }
|
346 |
|
347 | interface CollisionGroupInfo {
|
348 | id: number;
|
349 | mask: number;
|
350 | name: string;
|
351 | }
|
352 |
|
353 | declare const enum LocationType {
|
354 | MobileWebsite = 0,
|
355 | MobileInGame = 1,
|
356 | Website = 2,
|
357 | Studio = 3,
|
358 | InGame = 4,
|
359 | XBoxApp = 5,
|
360 | TeamCreate = 6,
|
361 | }
|
362 |
|
363 | interface FriendOnlineInfoBase {
|
364 |
|
365 | VisitorId: number;
|
366 |
|
367 | UserName: string;
|
368 |
|
369 | DisplayName: string;
|
370 |
|
371 | LastOnline: string;
|
372 |
|
373 | IsOnline: boolean;
|
374 |
|
375 | LastLocation: string;
|
376 | }
|
377 |
|
378 | interface FriendOnlineInfoWebsite extends FriendOnlineInfoBase {
|
379 | |
380 |
|
381 |
|
382 | LocationType: LocationType.MobileWebsite | LocationType.Website | LocationType.XBoxApp;
|
383 | }
|
384 |
|
385 | interface FriendOnlineInfoGame extends FriendOnlineInfoBase {
|
386 | |
387 |
|
388 |
|
389 | LocationType: LocationType.MobileInGame | LocationType.InGame | LocationType.TeamCreate;
|
390 |
|
391 | PlaceId: number;
|
392 | |
393 |
|
394 |
|
395 | GameId: string;
|
396 | }
|
397 |
|
398 | interface FriendOnlineInfoStudio extends FriendOnlineInfoBase {
|
399 | |
400 |
|
401 |
|
402 | LocationType: LocationType.Studio;
|
403 |
|
404 | PlaceId: number;
|
405 | }
|
406 |
|
407 | type FriendOnlineInfo = FriendOnlineInfoWebsite | FriendOnlineInfoGame | FriendOnlineInfoStudio;
|
408 |
|
409 |
|
410 | type AssetType =
|
411 | | { id: AssetTypeId.Image; name: "Image" }
|
412 | | { id: AssetTypeId.TeeShirt; name: "TeeShirt" }
|
413 | | { id: AssetTypeId.Audio; name: "Audio" }
|
414 | | { id: AssetTypeId.Mesh; name: "Mesh" }
|
415 | | { id: AssetTypeId.Lua; name: "Lua" }
|
416 | | { id: AssetTypeId.Hat; name: "Hat" }
|
417 | | { id: AssetTypeId.Place; name: "Place" }
|
418 | | { id: AssetTypeId.Model; name: "Model" }
|
419 | | { id: AssetTypeId.Shirt; name: "Shirt" }
|
420 | | { id: AssetTypeId.Pants; name: "Pants" }
|
421 | | { id: AssetTypeId.Decal; name: "Decal" }
|
422 | | { id: AssetTypeId.Head; name: "Head" }
|
423 | | { id: AssetTypeId.Face; name: "Face" }
|
424 | | { id: AssetTypeId.Gear; name: "Gear" }
|
425 | | { id: AssetTypeId.Badge; name: "Badge" }
|
426 | | { id: AssetTypeId.Animation; name: "Animation" }
|
427 | | { id: AssetTypeId.Torso; name: "Torso" }
|
428 | | { id: AssetTypeId.RightArm; name: "RightArm" }
|
429 | | { id: AssetTypeId.LeftArm; name: "LeftArm" }
|
430 | | { id: AssetTypeId.LeftLeg; name: "LeftLeg" }
|
431 | | { id: AssetTypeId.RightLeg; name: "RightLeg" }
|
432 | | { id: AssetTypeId.Package; name: "Package" }
|
433 | | { id: AssetTypeId.GamePass; name: "GamePass" }
|
434 | | { id: AssetTypeId.Plugin; name: "Plugin" }
|
435 | | { id: AssetTypeId.MeshPart; name: "MeshPart" }
|
436 | | { id: AssetTypeId.HairAccessory; name: "HairAccessory" }
|
437 | | { id: AssetTypeId.FaceAccessory; name: "FaceAccessory" }
|
438 | | { id: AssetTypeId.NeckAccessory; name: "NeckAccessory" }
|
439 | | { id: AssetTypeId.ShoulderAccessory; name: "ShoulderAccessory" }
|
440 | | { id: AssetTypeId.FrontAccessory; name: "FrontAccessory" }
|
441 | | { id: AssetTypeId.BackAccessory; name: "BackAccessory" }
|
442 | | { id: AssetTypeId.WaistAccessory; name: "WaistAccessory" }
|
443 | | { id: AssetTypeId.ClimbAnimation; name: "ClimbAnimation" }
|
444 | | { id: AssetTypeId.DeathAnimation; name: "DeathAnimation" }
|
445 | | { id: AssetTypeId.FallAnimation; name: "FallAnimation" }
|
446 | | { id: AssetTypeId.IdleAnimation; name: "IdleAnimation" }
|
447 | | { id: AssetTypeId.JumpAnimation; name: "JumpAnimation" }
|
448 | | { id: AssetTypeId.RunAnimation; name: "RunAnimation" }
|
449 | | { id: AssetTypeId.SwimAnimation; name: "SwimAnimation" }
|
450 | | { id: AssetTypeId.WalkAnimation; name: "WalkAnimation" }
|
451 | | { id: AssetTypeId.PoseAnimation; name: "PoseAnimation" }
|
452 | | { id: AssetTypeId.EarAccessory; name: "EarAccessory" }
|
453 | | { id: AssetTypeId.EyeAccessory; name: "EyeAccessory" };
|
454 |
|
455 |
|
456 | interface CharacterAppearanceInfo {
|
457 |
|
458 | bodyColors: {
|
459 |
|
460 | leftArmColorId: keyof BrickColorsByNumber;
|
461 |
|
462 | torsoColorId: keyof BrickColorsByNumber;
|
463 |
|
464 | rightArmColorId: keyof BrickColorsByNumber;
|
465 |
|
466 | headColorId: keyof BrickColorsByNumber;
|
467 |
|
468 | leftLegColorId: keyof BrickColorsByNumber;
|
469 |
|
470 | rightLegColorId: keyof BrickColorsByNumber;
|
471 | };
|
472 |
|
473 |
|
474 | assets: Array<{
|
475 |
|
476 | id: number;
|
477 |
|
478 |
|
479 | assetType: AssetType;
|
480 |
|
481 |
|
482 | name: string;
|
483 | }>;
|
484 |
|
485 |
|
486 | defaultPantsApplied: boolean;
|
487 |
|
488 |
|
489 | defaultShirtApplied: boolean;
|
490 |
|
491 |
|
492 | playerAvatarType: "R6" | "R15";
|
493 |
|
494 |
|
495 | scales: {
|
496 | bodyType: number;
|
497 | head: number;
|
498 | height: number;
|
499 | proportion: number;
|
500 | depth: number;
|
501 | width: number;
|
502 | };
|
503 | }
|
504 |
|
505 | interface MakeSystemMessageConfig {
|
506 | Text: string;
|
507 | Color?: Color3;
|
508 | Font?: Enum.Font;
|
509 | TextSize?: number;
|
510 | }
|
511 |
|
512 | interface SendNotificationConfig {
|
513 | Title: string;
|
514 | Text: string;
|
515 | Icon?: string;
|
516 | Duration?: number;
|
517 | Callback?: BindableFunction;
|
518 | Button1?: string;
|
519 | Button2?: string;
|
520 | }
|
521 |
|
522 | interface PolicyInfo {
|
523 |
|
524 | ArePaidRandomItemsRestricted: boolean;
|
525 |
|
526 | AllowedExternalLinkReferences: Array<string>;
|
527 |
|
528 | IsPaidItemTradingAllowed: boolean;
|
529 |
|
530 | IsSubjectToChinaPolicies: boolean;
|
531 | }
|
532 |
|
533 |
|
534 |
|
535 |
|
536 |
|
537 |
|
538 | interface RBXScriptConnection {
|
539 | |
540 |
|
541 |
|
542 |
|
543 | Connected: boolean;
|
544 |
|
545 | Disconnect(this: RBXScriptConnection): void;
|
546 | }
|
547 |
|
548 |
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 | interface RBXScriptSignal<T extends Callback = Callback> {
|
555 | |
556 |
|
557 |
|
558 |
|
559 |
|
560 | Connect(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
561 |
|
562 | ConnectParallel(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
563 |
|
564 | Once(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
565 |
|
566 | |
567 |
|
568 |
|
569 | Wait(this: RBXScriptSignal): LuaTuple<Parameters<T>>;
|
570 | }
|
571 |
|
572 |
|
573 | interface Instances {}
|
574 | interface CreatableInstances {}
|
575 |
|
576 |
|
577 | interface InstanceConstructor {
|
578 | |
579 |
|
580 |
|
581 |
|
582 |
|
583 |
|
584 |
|
585 |
|
586 |
|
587 |
|
588 | new <T extends keyof CreatableInstances>(className: T, parent?: Instance): CreatableInstances[T];
|
589 | }
|
590 |
|
591 | declare const Instance: InstanceConstructor;
|
592 |
|
593 |
|
594 |
|
595 |
|
596 | interface Axes {
|
597 | |
598 |
|
599 |
|
600 |
|
601 |
|
602 |
|
603 |
|
604 | readonly _nominal_Axes: unique symbol;
|
605 |
|
606 | readonly X: boolean;
|
607 |
|
608 | readonly Y: boolean;
|
609 |
|
610 | readonly Z: boolean;
|
611 |
|
612 | readonly Top: boolean;
|
613 |
|
614 | readonly Bottom: boolean;
|
615 |
|
616 | readonly Left: boolean;
|
617 |
|
618 | readonly Right: boolean;
|
619 |
|
620 | readonly Back: boolean;
|
621 |
|
622 | readonly Front: boolean;
|
623 | }
|
624 |
|
625 | type AxesConstructor = new (...axes: Array<Enum.Axis | Enum.NormalId>) => Axes;
|
626 | declare const Axes: AxesConstructor;
|
627 |
|
628 | interface BrickColor<T extends keyof BrickColorsByNumber = keyof BrickColorsByNumber> {
|
629 | |
630 |
|
631 |
|
632 |
|
633 |
|
634 |
|
635 |
|
636 | readonly _nominal_BrickColor: unique symbol;
|
637 |
|
638 | readonly Number: T;
|
639 |
|
640 | readonly Name: BrickColorsByNumber[T];
|
641 |
|
642 | readonly Color: Color3;
|
643 |
|
644 | readonly r: number;
|
645 |
|
646 | readonly g: number;
|
647 |
|
648 | readonly b: number;
|
649 | }
|
650 |
|
651 | interface BrickColorsByNumber {
|
652 | 1: "White";
|
653 | 2: "Grey";
|
654 | 3: "Light yellow";
|
655 | 5: "Brick yellow";
|
656 | 6: "Light green (Mint)";
|
657 | 9: "Light reddish violet";
|
658 | 11: "Pastel Blue";
|
659 | 12: "Light orange brown";
|
660 | 18: "Nougat";
|
661 | 21: "Bright red";
|
662 | 22: "Med. reddish violet";
|
663 | 23: "Bright blue";
|
664 | 24: "Bright yellow";
|
665 | 25: "Earth orange";
|
666 | 26: "Black";
|
667 | 27: "Dark grey";
|
668 | 28: "Dark green";
|
669 | 29: "Medium green";
|
670 | 36: "Lig. Yellowich orange";
|
671 | 37: "Bright green";
|
672 | 38: "Dark orange";
|
673 | 39: "Light bluish violet";
|
674 | 40: "Transparent";
|
675 | 41: "Tr. Red";
|
676 | 42: "Tr. Lg blue";
|
677 | 43: "Tr. Blue";
|
678 | 44: "Tr. Yellow";
|
679 | 45: "Light blue";
|
680 | 47: "Tr. Flu. Reddish orange";
|
681 | 48: "Tr. Green";
|
682 | 49: "Tr. Flu. Green";
|
683 | 50: "Phosph. White";
|
684 | 100: "Light red";
|
685 | 101: "Medium red";
|
686 | 102: "Medium blue";
|
687 | 103: "Light grey";
|
688 | 104: "Bright violet";
|
689 | 105: "Br. yellowish orange";
|
690 | 106: "Bright orange";
|
691 | 107: "Bright bluish green";
|
692 | 108: "Earth yellow";
|
693 | 110: "Bright bluish violet";
|
694 | 111: "Tr. Brown";
|
695 | 112: "Medium bluish violet";
|
696 | 113: "Tr. Medi. reddish violet";
|
697 | 115: "Med. yellowish green";
|
698 | 116: "Med. bluish green";
|
699 | 118: "Light bluish green";
|
700 | 119: "Br. yellowish green";
|
701 | 120: "Lig. yellowish green";
|
702 | 121: "Med. yellowish orange";
|
703 | 123: "Br. reddish orange";
|
704 | 124: "Bright reddish violet";
|
705 | 125: "Light orange";
|
706 | 126: "Tr. Bright bluish violet";
|
707 | 127: "Gold";
|
708 | 128: "Dark nougat";
|
709 | 131: "Silver";
|
710 | 133: "Neon orange";
|
711 | 134: "Neon green";
|
712 | 135: "Sand blue";
|
713 | 136: "Sand violet";
|
714 | 137: "Medium orange";
|
715 | 138: "Sand yellow";
|
716 | 140: "Earth blue";
|
717 | 141: "Earth green";
|
718 | 143: "Tr. Flu. Blue";
|
719 | 145: "Sand blue metallic";
|
720 | 146: "Sand violet metallic";
|
721 | 147: "Sand yellow metallic";
|
722 | 148: "Dark grey metallic";
|
723 | 149: "Black metallic";
|
724 | 150: "Light grey metallic";
|
725 | 151: "Sand green";
|
726 | 153: "Sand red";
|
727 | 154: "Dark red";
|
728 | 157: "Tr. Flu. Yellow";
|
729 | 158: "Tr. Flu. Red";
|
730 | 168: "Gun metallic";
|
731 | 176: "Red flip/flop";
|
732 | 178: "Yellow flip/flop";
|
733 | 179: "Silver flip/flop";
|
734 | 180: "Curry";
|
735 | 190: "Fire Yellow";
|
736 | 191: "Flame yellowish orange";
|
737 | 192: "Reddish brown";
|
738 | 193: "Flame reddish orange";
|
739 | 194: "Medium stone grey";
|
740 | 195: "Royal blue";
|
741 | 196: "Dark Royal blue";
|
742 | 198: "Bright reddish lilac";
|
743 | 199: "Dark stone grey";
|
744 | 200: "Lemon metalic";
|
745 | 208: "Light stone grey";
|
746 | 209: "Dark Curry";
|
747 | 210: "Faded green";
|
748 | 211: "Turquoise";
|
749 | 212: "Light Royal blue";
|
750 | 213: "Medium Royal blue";
|
751 | 216: "Rust";
|
752 | 217: "Brown";
|
753 | 218: "Reddish lilac";
|
754 | 219: "Lilac";
|
755 | 220: "Light lilac";
|
756 | 221: "Bright purple";
|
757 | 222: "Light purple";
|
758 | 223: "Light pink";
|
759 | 224: "Light brick yellow";
|
760 | 225: "Warm yellowish orange";
|
761 | 226: "Cool yellow";
|
762 | 232: "Dove blue";
|
763 | 268: "Medium lilac";
|
764 | 301: "Slime green";
|
765 | 302: "Smoky grey";
|
766 | 303: "Dark blue";
|
767 | 304: "Parsley green";
|
768 | 305: "Steel blue";
|
769 | 306: "Storm blue";
|
770 | 307: "Lapis";
|
771 | 308: "Dark indigo";
|
772 | 309: "Sea green";
|
773 | 310: "Shamrock";
|
774 | 311: "Fossil";
|
775 | 312: "Mulberry";
|
776 | 313: "Forest green";
|
777 | 314: "Cadet blue";
|
778 | 315: "Electric blue";
|
779 | 316: "Eggplant";
|
780 | 317: "Moss";
|
781 | 318: "Artichoke";
|
782 | 319: "Sage green";
|
783 | 320: "Ghost grey";
|
784 | 321: "Lilac";
|
785 | 322: "Plum";
|
786 | 323: "Olivine";
|
787 | 324: "Laurel green";
|
788 | 325: "Quill grey";
|
789 | 327: "Crimson";
|
790 | 328: "Mint";
|
791 | 329: "Baby blue";
|
792 | 330: "Carnation pink";
|
793 | 331: "Persimmon";
|
794 | 332: "Maroon";
|
795 | 333: "Gold";
|
796 | 334: "Daisy orange";
|
797 | 335: "Pearl";
|
798 | 336: "Fog";
|
799 | 337: "Salmon";
|
800 | 338: "Terra Cotta";
|
801 | 339: "Cocoa";
|
802 | 340: "Wheat";
|
803 | 341: "Buttermilk";
|
804 | 342: "Mauve";
|
805 | 343: "Sunrise";
|
806 | 344: "Tawny";
|
807 | 345: "Rust";
|
808 | 346: "Cashmere";
|
809 | 347: "Khaki";
|
810 | 348: "Lily white";
|
811 | 349: "Seashell";
|
812 | 350: "Burgundy";
|
813 | 351: "Cork";
|
814 | 352: "Burlap";
|
815 | 353: "Beige";
|
816 | 354: "Oyster";
|
817 | 355: "Pine Cone";
|
818 | 356: "Fawn brown";
|
819 | 357: "Hurricane grey";
|
820 | 358: "Cloudy grey";
|
821 | 359: "Linen";
|
822 | 360: "Copper";
|
823 | 361: "Dirt brown";
|
824 | 362: "Bronze";
|
825 | 363: "Flint";
|
826 | 364: "Dark taupe";
|
827 | 365: "Burnt Sienna";
|
828 | 1001: "Institutional white";
|
829 | 1002: "Mid gray";
|
830 | 1003: "Really black";
|
831 | 1004: "Really red";
|
832 | 1005: "Deep orange";
|
833 | 1006: "Alder";
|
834 | 1007: "Dusty Rose";
|
835 | 1008: "Olive";
|
836 | 1009: "New Yeller";
|
837 | 1010: "Really blue";
|
838 | 1011: "Navy blue";
|
839 | 1012: "Deep blue";
|
840 | 1013: "Cyan";
|
841 | 1014: "CGA brown";
|
842 | 1015: "Magenta";
|
843 | 1016: "Pink";
|
844 | 1017: "Deep orange";
|
845 | 1018: "Teal";
|
846 | 1019: "Toothpaste";
|
847 | 1020: "Lime green";
|
848 | 1021: "Camo";
|
849 | 1022: "Grime";
|
850 | 1023: "Lavender";
|
851 | 1024: "Pastel light blue";
|
852 | 1025: "Pastel orange";
|
853 | 1026: "Pastel violet";
|
854 | 1027: "Pastel blue-green";
|
855 | 1028: "Pastel green";
|
856 | 1029: "Pastel yellow";
|
857 | 1030: "Pastel brown";
|
858 | 1031: "Royal purple";
|
859 | 1032: "Hot pink";
|
860 | }
|
861 |
|
862 | interface BrickColorsByPalette {
|
863 | 0: 141;
|
864 | 1: 301;
|
865 | 2: 107;
|
866 | 3: 26;
|
867 | 4: 1012;
|
868 | 5: 303;
|
869 | 6: 1011;
|
870 | 7: 304;
|
871 | 8: 28;
|
872 | 9: 1018;
|
873 | 10: 302;
|
874 | 11: 305;
|
875 | 12: 306;
|
876 | 13: 307;
|
877 | 14: 308;
|
878 | 15: 1021;
|
879 | 16: 309;
|
880 | 17: 310;
|
881 | 18: 1019;
|
882 | 19: 135;
|
883 | 20: 102;
|
884 | 21: 23;
|
885 | 22: 1010;
|
886 | 23: 312;
|
887 | 24: 313;
|
888 | 25: 37;
|
889 | 26: 1022;
|
890 | 27: 1020;
|
891 | 28: 1027;
|
892 | 29: 311;
|
893 | 30: 315;
|
894 | 31: 1023;
|
895 | 32: 1031;
|
896 | 33: 316;
|
897 | 34: 151;
|
898 | 35: 317;
|
899 | 36: 318;
|
900 | 37: 319;
|
901 | 38: 1024;
|
902 | 39: 314;
|
903 | 40: 1013;
|
904 | 41: 1006;
|
905 | 42: 321;
|
906 | 43: 322;
|
907 | 44: 104;
|
908 | 45: 1008;
|
909 | 46: 119;
|
910 | 47: 323;
|
911 | 48: 324;
|
912 | 49: 325;
|
913 | 50: 320;
|
914 | 51: 11;
|
915 | 52: 1026;
|
916 | 53: 1016;
|
917 | 54: 1032;
|
918 | 55: 1015;
|
919 | 56: 327;
|
920 | 57: 1005;
|
921 | 58: 1009;
|
922 | 59: 29;
|
923 | 60: 328;
|
924 | 61: 1028;
|
925 | 62: 208;
|
926 | 63: 45;
|
927 | 64: 329;
|
928 | 65: 330;
|
929 | 66: 331;
|
930 | 67: 1004;
|
931 | 68: 21;
|
932 | 69: 332;
|
933 | 70: 333;
|
934 | 71: 24;
|
935 | 72: 334;
|
936 | 73: 226;
|
937 | 74: 1029;
|
938 | 75: 335;
|
939 | 76: 336;
|
940 | 77: 342;
|
941 | 78: 343;
|
942 | 79: 338;
|
943 | 80: 1007;
|
944 | 81: 339;
|
945 | 82: 133;
|
946 | 83: 106;
|
947 | 84: 340;
|
948 | 85: 341;
|
949 | 86: 1001;
|
950 | 87: 1;
|
951 | 88: 9;
|
952 | 89: 1025;
|
953 | 90: 337;
|
954 | 91: 344;
|
955 | 92: 345;
|
956 | 93: 1014;
|
957 | 94: 105;
|
958 | 95: 346;
|
959 | 96: 347;
|
960 | 97: 348;
|
961 | 98: 349;
|
962 | 99: 1030;
|
963 | 100: 125;
|
964 | 101: 101;
|
965 | 102: 350;
|
966 | 103: 192;
|
967 | 104: 351;
|
968 | 105: 352;
|
969 | 106: 353;
|
970 | 107: 354;
|
971 | 108: 1002;
|
972 | 109: 5;
|
973 | 110: 18;
|
974 | 111: 217;
|
975 | 112: 355;
|
976 | 113: 356;
|
977 | 114: 153;
|
978 | 115: 357;
|
979 | 116: 358;
|
980 | 117: 359;
|
981 | 118: 360;
|
982 | 119: 38;
|
983 | 120: 361;
|
984 | 121: 362;
|
985 | 122: 199;
|
986 | 123: 194;
|
987 | 124: 363;
|
988 | 125: 364;
|
989 | 126: 365;
|
990 | 127: 1003;
|
991 | }
|
992 |
|
993 | interface BrickColorConstructor {
|
994 |
|
995 | random: () => BrickColor;
|
996 |
|
997 |
|
998 | White: () => BrickColor<1>;
|
999 |
|
1000 | Gray: () => BrickColor<194>;
|
1001 |
|
1002 | DarkGray: () => BrickColor<199>;
|
1003 |
|
1004 | Black: () => BrickColor<26>;
|
1005 |
|
1006 | Red: () => BrickColor<21>;
|
1007 |
|
1008 | Yellow: () => BrickColor<24>;
|
1009 |
|
1010 | Green: () => BrickColor<28>;
|
1011 |
|
1012 | Blue: () => BrickColor<23>;
|
1013 |
|
1014 |
|
1015 | new <T extends BrickColorsByNumber[keyof BrickColorsByNumber]>(val: T): BrickColor<
|
1016 | { [K in keyof BrickColorsByNumber]: T extends BrickColorsByNumber[K] ? K : never }[keyof BrickColorsByNumber]
|
1017 | >;
|
1018 |
|
1019 |
|
1020 | new <T extends keyof BrickColorsByNumber>(val: T): BrickColor<T>;
|
1021 |
|
1022 |
|
1023 | new (val: number): BrickColor;
|
1024 |
|
1025 |
|
1026 | new (r: number, g: number, b: number): BrickColor;
|
1027 |
|
1028 |
|
1029 | new (color: Color3): BrickColor;
|
1030 |
|
1031 |
|
1032 | palette<T extends keyof BrickColorsByPalette>(this: void, paletteValue: T): BrickColor<BrickColorsByPalette[T]>;
|
1033 | palette(this: void, paletteValue: number): BrickColor;
|
1034 | }
|
1035 |
|
1036 | declare const BrickColor: BrickColorConstructor;
|
1037 |
|
1038 |
|
1039 | interface CatalogSearchParams {
|
1040 | |
1041 |
|
1042 |
|
1043 |
|
1044 |
|
1045 |
|
1046 |
|
1047 | readonly _nominal_CatalogSearchParams: unique symbol;
|
1048 | SearchKeyword: string;
|
1049 | CategoryFilter: Enum.CatalogCategoryFilter;
|
1050 | SortType: Enum.CatalogSortType;
|
1051 | BundleTypes: string;
|
1052 | AssetTypes: string;
|
1053 | }
|
1054 |
|
1055 | interface CatalogSearchParamsConstructor {
|
1056 | new (): CatalogSearchParams;
|
1057 | }
|
1058 |
|
1059 | declare const CatalogSearchParams: CatalogSearchParamsConstructor;
|
1060 |
|
1061 |
|
1062 | interface CFrame {
|
1063 | |
1064 |
|
1065 |
|
1066 |
|
1067 |
|
1068 |
|
1069 |
|
1070 | readonly _nominal_CFrame: unique symbol;
|
1071 |
|
1072 | readonly Position: Vector3;
|
1073 |
|
1074 | readonly Rotation: CFrame;
|
1075 |
|
1076 | readonly X: number;
|
1077 |
|
1078 | readonly Y: number;
|
1079 |
|
1080 | readonly Z: number;
|
1081 |
|
1082 | readonly LookVector: Vector3;
|
1083 |
|
1084 | readonly RightVector: Vector3;
|
1085 |
|
1086 | readonly UpVector: Vector3;
|
1087 |
|
1088 | readonly XVector: Vector3;
|
1089 |
|
1090 | readonly YVector: Vector3;
|
1091 |
|
1092 | readonly ZVector: Vector3;
|
1093 |
|
1094 | Inverse(this: CFrame): CFrame;
|
1095 |
|
1096 | Lerp(this: CFrame, goal: CFrame, alpha: number): CFrame;
|
1097 | |
1098 |
|
1099 |
|
1100 |
|
1101 | Orthonormalize(this: CFrame): CFrame;
|
1102 |
|
1103 | ToWorldSpace(this: CFrame, cf: CFrame): CFrame;
|
1104 |
|
1105 | ToObjectSpace(this: CFrame, cf: CFrame): CFrame;
|
1106 |
|
1107 | PointToWorldSpace(this: CFrame, v3: Vector3): Vector3;
|
1108 |
|
1109 | PointToObjectSpace(this: CFrame, v3: Vector3): Vector3;
|
1110 |
|
1111 | VectorToWorldSpace(this: CFrame, v3: Vector3): Vector3;
|
1112 |
|
1113 | VectorToObjectSpace(this: CFrame, v3: Vector3): Vector3;
|
1114 |
|
1115 | GetComponents(
|
1116 | this: CFrame,
|
1117 | ): LuaTuple<[number, number, number, number, number, number, number, number, number, number, number, number]>;
|
1118 |
|
1119 | ToEulerAnglesXYZ(this: CFrame): LuaTuple<[number, number, number]>;
|
1120 |
|
1121 | ToEulerAnglesYXZ(this: CFrame): LuaTuple<[number, number, number]>;
|
1122 |
|
1123 | ToOrientation(this: CFrame): LuaTuple<[number, number, number]>;
|
1124 |
|
1125 | ToAxisAngle(this: CFrame): LuaTuple<[Vector3, number]>;
|
1126 | }
|
1127 |
|
1128 | interface CFrameConstructor {
|
1129 | |
1130 |
|
1131 |
|
1132 |
|
1133 |
|
1134 |
|
1135 |
|
1136 |
|
1137 |
|
1138 |
|
1139 | readonly identity: CFrame;
|
1140 |
|
1141 | Angles: (rX: number, rY: number, rZ: number) => CFrame;
|
1142 |
|
1143 | fromAxisAngle: (unit: Vector3, rotation: number) => CFrame;
|
1144 |
|
1145 | fromEulerAnglesXYZ: (rX: number, rY: number, rZ: number) => CFrame;
|
1146 |
|
1147 | fromEulerAnglesYXZ: (rX: number, rY: number, rZ: number) => CFrame;
|
1148 | |
1149 |
|
1150 |
|
1151 | fromMatrix: (pos: Vector3, vX: Vector3, vY: Vector3, vZ?: Vector3) => CFrame;
|
1152 |
|
1153 | fromOrientation: (rX: number, rY: number, rZ: number) => CFrame;
|
1154 | |
1155 |
|
1156 |
|
1157 |
|
1158 |
|
1159 | lookAt: (at: Vector3, lookAt: Vector3, up?: Vector3) => CFrame;
|
1160 |
|
1161 | new (pos: Vector3): CFrame;
|
1162 |
|
1163 | new (x: number, y: number, z: number): CFrame;
|
1164 |
|
1165 | new (): CFrame;
|
1166 |
|
1167 | new (x: number, y: number, z: number, qX: number, qY: number, qZ: number, qW: number): CFrame;
|
1168 |
|
1169 | new (
|
1170 | x: number,
|
1171 | y: number,
|
1172 | z: number,
|
1173 | R00: number,
|
1174 | R01: number,
|
1175 | R02: number,
|
1176 | R10: number,
|
1177 | R11: number,
|
1178 | R12: number,
|
1179 | R20: number,
|
1180 | R21: number,
|
1181 | R22: number,
|
1182 | ): CFrame;
|
1183 |
|
1184 | new (pos: Vector3, lookAt: Vector3): CFrame;
|
1185 | }
|
1186 |
|
1187 | declare const CFrame: CFrameConstructor;
|
1188 |
|
1189 | interface Color3 {
|
1190 | |
1191 |
|
1192 |
|
1193 |
|
1194 |
|
1195 |
|
1196 |
|
1197 | readonly _nominal_Color3: unique symbol;
|
1198 |
|
1199 | readonly R: number;
|
1200 |
|
1201 | readonly G: number;
|
1202 |
|
1203 | readonly B: number;
|
1204 |
|
1205 | Lerp(this: Color3, goal: Color3, alpha: number): Color3;
|
1206 |
|
1207 | ToHSV(this: Color3): LuaTuple<[number, number, number]>;
|
1208 | |
1209 |
|
1210 |
|
1211 |
|
1212 |
|
1213 |
|
1214 |
|
1215 |
|
1216 |
|
1217 |
|
1218 | ToHex(this: Color3): string;
|
1219 | }
|
1220 |
|
1221 | interface Color3Constructor {
|
1222 |
|
1223 | fromRGB: (r?: number, g?: number, b?: number) => Color3;
|
1224 |
|
1225 | fromHSV: (hue: number, sat: number, val: number) => Color3;
|
1226 |
|
1227 | toHSV: (color: Color3) => LuaTuple<[number, number, number]>;
|
1228 | |
1229 |
|
1230 |
|
1231 |
|
1232 |
|
1233 |
|
1234 |
|
1235 |
|
1236 |
|
1237 |
|
1238 |
|
1239 |
|
1240 | fromHex: (hex: string) => Color3;
|
1241 |
|
1242 | new (red?: number, green?: number, blue?: number): Color3;
|
1243 | }
|
1244 |
|
1245 | declare const Color3: Color3Constructor;
|
1246 |
|
1247 |
|
1248 | interface ColorSequence {
|
1249 | |
1250 |
|
1251 |
|
1252 |
|
1253 |
|
1254 |
|
1255 |
|
1256 | readonly _nominal_ColorSequence: unique symbol;
|
1257 | readonly Keypoints: ReadonlyArray<ColorSequenceKeypoint>;
|
1258 | }
|
1259 | interface ColorSequenceConstructor {
|
1260 | new (color: Color3): ColorSequence;
|
1261 | new (c0: Color3, c1: Color3): ColorSequence;
|
1262 | new (colors: ReadonlyArray<ColorSequenceKeypoint>): ColorSequence;
|
1263 | }
|
1264 | declare const ColorSequence: ColorSequenceConstructor;
|
1265 |
|
1266 |
|
1267 | interface ColorSequenceKeypoint {
|
1268 | |
1269 |
|
1270 |
|
1271 |
|
1272 |
|
1273 |
|
1274 |
|
1275 | readonly _nominal_ColorSequenceKeypoint: unique symbol;
|
1276 | readonly Time: number;
|
1277 | readonly Value: Color3;
|
1278 | }
|
1279 | type ColorSequenceKeypointConstructor = new (time: number, color: Color3) => ColorSequenceKeypoint;
|
1280 | declare const ColorSequenceKeypoint: ColorSequenceKeypointConstructor;
|
1281 |
|
1282 |
|
1283 |
|
1284 |
|
1285 | interface TimeValueTable {
|
1286 |
|
1287 | Year: number;
|
1288 |
|
1289 |
|
1290 | Month: number;
|
1291 |
|
1292 |
|
1293 | Day: number;
|
1294 |
|
1295 |
|
1296 | Hour: number;
|
1297 |
|
1298 |
|
1299 | Minute: number;
|
1300 |
|
1301 | |
1302 |
|
1303 |
|
1304 |
|
1305 | Second: number;
|
1306 |
|
1307 |
|
1308 | Millisecond: number;
|
1309 | }
|
1310 |
|
1311 |
|
1312 |
|
1313 |
|
1314 |
|
1315 |
|
1316 |
|
1317 |
|
1318 | interface DateTime {
|
1319 | |
1320 |
|
1321 |
|
1322 |
|
1323 |
|
1324 |
|
1325 |
|
1326 | readonly _nominal_DateTime: unique symbol;
|
1327 |
|
1328 | |
1329 |
|
1330 |
|
1331 |
|
1332 |
|
1333 | readonly UnixTimestamp: number;
|
1334 |
|
1335 | |
1336 |
|
1337 |
|
1338 |
|
1339 |
|
1340 | readonly UnixTimestampMillis: number;
|
1341 |
|
1342 |
|
1343 | ToUniversalTime(this: DateTime): TimeValueTable;
|
1344 |
|
1345 |
|
1346 | ToLocalTime(this: DateTime): TimeValueTable;
|
1347 |
|
1348 | |
1349 |
|
1350 |
|
1351 |
|
1352 | ToIsoDate(this: DateTime): string;
|
1353 |
|
1354 | |
1355 |
|
1356 |
|
1357 |
|
1358 |
|
1359 |
|
1360 |
|
1361 | FormatUniversalTime(this: DateTime, format: string, locale: string): string;
|
1362 |
|
1363 | |
1364 |
|
1365 |
|
1366 |
|
1367 |
|
1368 |
|
1369 |
|
1370 | FormatLocalTime(this: DateTime, format: string, locale: string): string;
|
1371 | }
|
1372 |
|
1373 | interface DateTimeConstructor {
|
1374 |
|
1375 | now: () => DateTime;
|
1376 |
|
1377 | |
1378 |
|
1379 |
|
1380 |
|
1381 | fromUnixTimestamp: (unixTimestamp: number) => DateTime;
|
1382 |
|
1383 | |
1384 |
|
1385 |
|
1386 |
|
1387 | fromUnixTimestampMillis: (unixTimestampMillis: number) => DateTime;
|
1388 |
|
1389 | |
1390 |
|
1391 |
|
1392 |
|
1393 |
|
1394 |
|
1395 |
|
1396 |
|
1397 |
|
1398 |
|
1399 |
|
1400 |
|
1401 |
|
1402 |
|
1403 | fromUniversalTime: (
|
1404 | year?: number,
|
1405 | month?: number,
|
1406 | day?: number,
|
1407 | hour?: number,
|
1408 | minute?: number,
|
1409 | second?: number,
|
1410 | millisecond?: number,
|
1411 | ) => DateTime;
|
1412 |
|
1413 | |
1414 |
|
1415 |
|
1416 |
|
1417 |
|
1418 |
|
1419 |
|
1420 |
|
1421 |
|
1422 |
|
1423 |
|
1424 |
|
1425 |
|
1426 |
|
1427 | fromLocalTime: (
|
1428 | year?: number,
|
1429 | month?: number,
|
1430 | day?: number,
|
1431 | hour?: number,
|
1432 | minute?: number,
|
1433 | second?: number,
|
1434 | millisecond?: number,
|
1435 | ) => DateTime;
|
1436 |
|
1437 | |
1438 |
|
1439 |
|
1440 |
|
1441 |
|
1442 |
|
1443 | fromIsoDate: (isoDate: string) => DateTime | undefined;
|
1444 | }
|
1445 |
|
1446 | declare const DateTime: DateTimeConstructor;
|
1447 |
|
1448 |
|
1449 | interface DockWidgetPluginGuiInfo {
|
1450 | |
1451 |
|
1452 |
|
1453 |
|
1454 |
|
1455 |
|
1456 |
|
1457 | readonly _nominal_DockWidgetPluginGuiInfo: unique symbol;
|
1458 | readonly InitialDockState: Enum.InitialDockState;
|
1459 | readonly InitialEnabled: boolean;
|
1460 | readonly InitialEnabledShouldOverrideRestore: boolean;
|
1461 | readonly FloatingXSize: number;
|
1462 | readonly FloatingYSize: number;
|
1463 | readonly MinWidth: number;
|
1464 | readonly MinHeight: number;
|
1465 | }
|
1466 | type DockWidgetPluginGuiInfoConstructor = new (
|
1467 | initDockState?: Enum.InitialDockState,
|
1468 | initEnabled?: boolean,
|
1469 | overrideEnabledRestore?: boolean,
|
1470 | floatXSize?: number,
|
1471 | floatYSize?: number,
|
1472 | minWidth?: number,
|
1473 | minHeight?: number,
|
1474 | ) => DockWidgetPluginGuiInfo;
|
1475 | declare const DockWidgetPluginGuiInfo: DockWidgetPluginGuiInfoConstructor;
|
1476 |
|
1477 |
|
1478 | interface Faces {
|
1479 | |
1480 |
|
1481 |
|
1482 |
|
1483 |
|
1484 |
|
1485 |
|
1486 | readonly _nominal_Faces: unique symbol;
|
1487 | readonly Top: boolean;
|
1488 | readonly Bottom: boolean;
|
1489 | readonly Back: boolean;
|
1490 | readonly Front: boolean;
|
1491 | readonly Right: boolean;
|
1492 | readonly Left: boolean;
|
1493 | }
|
1494 | type FacesConstructor = new (...ids: Array<Enum.NormalId>) => Faces;
|
1495 | declare const Faces: FacesConstructor;
|
1496 |
|
1497 |
|
1498 | interface FloatCurveKey {
|
1499 | |
1500 |
|
1501 |
|
1502 |
|
1503 |
|
1504 |
|
1505 |
|
1506 | readonly _nominal_FloatCurveKey: unique symbol;
|
1507 | readonly Time: number;
|
1508 | readonly Value: number;
|
1509 | readonly RightTangent: number;
|
1510 | readonly LeftTangent: number;
|
1511 | }
|
1512 | type FloatCurveKeyConstructor = new (
|
1513 | time: number,
|
1514 | value: number,
|
1515 | interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
1516 | ) => FloatCurveKey;
|
1517 | declare const FloatCurveKey: FloatCurveKeyConstructor;
|
1518 |
|
1519 |
|
1520 | interface Font {
|
1521 | Bold: boolean;
|
1522 | Style: Enum.FontStyle;
|
1523 | Family: string;
|
1524 | Weight: Enum.FontWeight;
|
1525 | }
|
1526 | interface FontConstructor {
|
1527 | new (family: string, weight?: Enum.FontWeight, style?: Enum.FontStyle): Font;
|
1528 | fromEnum: (value: Enum.Font) => Font;
|
1529 | fromName: (name: string, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
1530 | fromId: (id: number, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
1531 | }
|
1532 | declare const Font: FontConstructor;
|
1533 |
|
1534 |
|
1535 | interface NumberRange {
|
1536 | |
1537 |
|
1538 |
|
1539 |
|
1540 |
|
1541 |
|
1542 |
|
1543 | readonly _nominal_NumberRange: unique symbol;
|
1544 | readonly Min: number;
|
1545 | readonly Max: number;
|
1546 | }
|
1547 | interface NumberRangeConstructor {
|
1548 | new (value: number): NumberRange;
|
1549 | new (minimum: number, maximum: number): NumberRange;
|
1550 | }
|
1551 | declare const NumberRange: NumberRangeConstructor;
|
1552 |
|
1553 |
|
1554 | interface NumberSequence {
|
1555 | |
1556 |
|
1557 |
|
1558 |
|
1559 |
|
1560 |
|
1561 |
|
1562 | readonly _nominal_NumberSequence: unique symbol;
|
1563 |
|
1564 | readonly Keypoints: ReadonlyArray<NumberSequenceKeypoint>;
|
1565 | }
|
1566 | interface NumberSequenceConstructor {
|
1567 |
|
1568 | new (n: number): NumberSequence;
|
1569 |
|
1570 | new (n0: number, n1: number): NumberSequence;
|
1571 |
|
1572 | new (keypoints: ReadonlyArray<NumberSequenceKeypoint>): NumberSequence;
|
1573 | }
|
1574 | declare const NumberSequence: NumberSequenceConstructor;
|
1575 |
|
1576 |
|
1577 | interface NumberSequenceKeypoint {
|
1578 | |
1579 |
|
1580 |
|
1581 |
|
1582 |
|
1583 |
|
1584 |
|
1585 | readonly _nominal_NumberSequenceKeypoint: unique symbol;
|
1586 | readonly Envelope: number;
|
1587 | readonly Time: number;
|
1588 | readonly Value: number;
|
1589 | }
|
1590 | interface NumberSequenceKeypointConstructor {
|
1591 |
|
1592 | new (time: number, value: number, envelope?: number): NumberSequenceKeypoint;
|
1593 | }
|
1594 | declare const NumberSequenceKeypoint: NumberSequenceKeypointConstructor;
|
1595 |
|
1596 |
|
1597 | interface OverlapParams {
|
1598 | |
1599 |
|
1600 |
|
1601 |
|
1602 |
|
1603 |
|
1604 |
|
1605 | readonly _nominal_OverlapParams: unique symbol;
|
1606 | |
1607 |
|
1608 |
|
1609 | FilterDescendantsInstances: Array<Instance>;
|
1610 | |
1611 |
|
1612 |
|
1613 |
|
1614 | FilterType: Enum.RaycastFilterType;
|
1615 | |
1616 |
|
1617 |
|
1618 |
|
1619 | MaxParts: number;
|
1620 | |
1621 |
|
1622 |
|
1623 | CollisionGroup: string;
|
1624 | }
|
1625 | type OverlapParamsConstructor = new () => OverlapParams;
|
1626 | declare const OverlapParams: OverlapParamsConstructor;
|
1627 |
|
1628 |
|
1629 | interface PathWaypoint {
|
1630 | |
1631 |
|
1632 |
|
1633 |
|
1634 |
|
1635 |
|
1636 |
|
1637 | readonly _nominal_PathWaypoint: unique symbol;
|
1638 | |
1639 |
|
1640 |
|
1641 | readonly Action: Enum.PathWaypointAction;
|
1642 | |
1643 |
|
1644 |
|
1645 | readonly Position: Vector3;
|
1646 | |
1647 |
|
1648 |
|
1649 |
|
1650 |
|
1651 | readonly Label: string;
|
1652 | }
|
1653 | interface PathWaypointConstructor {
|
1654 | new (): PathWaypoint;
|
1655 | new (position: Vector3, action?: Enum.PathWaypointAction, label?: string): PathWaypoint;
|
1656 | }
|
1657 |
|
1658 | declare const PathWaypoint: PathWaypointConstructor;
|
1659 |
|
1660 |
|
1661 | interface PhysicalProperties {
|
1662 | |
1663 |
|
1664 |
|
1665 |
|
1666 |
|
1667 |
|
1668 |
|
1669 | readonly _nominal_PhysicalProperties: unique symbol;
|
1670 | readonly Density: number;
|
1671 | readonly Friction: number;
|
1672 | readonly Elasticity: number;
|
1673 | readonly FrictionWeight: number;
|
1674 | readonly ElasticityWeight: number;
|
1675 | }
|
1676 | interface PhysicalPropertiesConstructor {
|
1677 | new (density: number, friction: number, elasticity: number): PhysicalProperties;
|
1678 | new (
|
1679 | density: number,
|
1680 | friction: number,
|
1681 | elasticity: number,
|
1682 | frictionWeight: number,
|
1683 | elasticityWeight: number,
|
1684 | ): PhysicalProperties;
|
1685 | new (material: Enum.Material): PhysicalProperties;
|
1686 | }
|
1687 | declare const PhysicalProperties: PhysicalPropertiesConstructor;
|
1688 |
|
1689 |
|
1690 | interface Random {
|
1691 | |
1692 |
|
1693 |
|
1694 |
|
1695 |
|
1696 |
|
1697 |
|
1698 | readonly _nominal_Random: unique symbol;
|
1699 | |
1700 |
|
1701 |
|
1702 | NextInteger(this: Random, min: number, max: number): number;
|
1703 | |
1704 |
|
1705 |
|
1706 | NextNumber(this: Random): number;
|
1707 | |
1708 |
|
1709 |
|
1710 | NextNumber(this: Random, min: number, max: number): number;
|
1711 | |
1712 |
|
1713 |
|
1714 |
|
1715 |
|
1716 | NextUnitVector(this: Random): Vector3;
|
1717 | |
1718 |
|
1719 |
|
1720 | Clone(this: Random): Random;
|
1721 | }
|
1722 |
|
1723 | interface RandomConstructor {
|
1724 | new (seed: number): Random;
|
1725 | new (): Random;
|
1726 | }
|
1727 |
|
1728 | declare const Random: RandomConstructor;
|
1729 |
|
1730 |
|
1731 | interface Ray {
|
1732 | |
1733 |
|
1734 |
|
1735 |
|
1736 |
|
1737 |
|
1738 |
|
1739 | readonly _nominal_Ray: unique symbol;
|
1740 | readonly Origin: Vector3;
|
1741 | readonly Direction: Vector3;
|
1742 | readonly Unit: Ray;
|
1743 | ClosestPoint(this: Ray, point: Vector3): Vector3;
|
1744 | Distance(this: Ray, point: Vector3): number;
|
1745 | }
|
1746 |
|
1747 | type RayConstructor = new (origin?: Vector3, direction?: Vector3) => Ray;
|
1748 |
|
1749 | declare const Ray: RayConstructor;
|
1750 |
|
1751 |
|
1752 | interface RaycastParams {
|
1753 | |
1754 |
|
1755 |
|
1756 |
|
1757 |
|
1758 |
|
1759 |
|
1760 | readonly _nominal_RaycastParams: unique symbol;
|
1761 |
|
1762 | FilterDescendantsInstances: Array<Instance>;
|
1763 | |
1764 |
|
1765 |
|
1766 |
|
1767 |
|
1768 |
|
1769 |
|
1770 |
|
1771 |
|
1772 | FilterType: Enum.RaycastFilterType;
|
1773 | |
1774 |
|
1775 |
|
1776 |
|
1777 | IgnoreWater: boolean;
|
1778 | |
1779 |
|
1780 |
|
1781 |
|
1782 |
|
1783 | CollisionGroup: string;
|
1784 | }
|
1785 |
|
1786 | type RaycastParamsConstructor = new () => RaycastParams;
|
1787 |
|
1788 | declare const RaycastParams: RaycastParamsConstructor;
|
1789 |
|
1790 |
|
1791 | interface RaycastResult {
|
1792 | readonly Distance: number;
|
1793 | readonly Instance: BasePart;
|
1794 | readonly Material: Enum.Material;
|
1795 | readonly Normal: Vector3;
|
1796 | readonly Position: Vector3;
|
1797 | }
|
1798 |
|
1799 |
|
1800 | interface Rect {
|
1801 | |
1802 |
|
1803 |
|
1804 |
|
1805 |
|
1806 |
|
1807 |
|
1808 | readonly _nominal_Rect: unique symbol;
|
1809 | readonly Min: Vector2;
|
1810 | readonly Max: Vector2;
|
1811 | readonly Width: number;
|
1812 | readonly Height: number;
|
1813 | }
|
1814 | interface RectConstructor {
|
1815 | new (min?: Vector2, max?: Vector2): Rect;
|
1816 | new (minX: number, minY: number, maxX: number, maxY: number): Rect;
|
1817 | }
|
1818 |
|
1819 | declare const Rect: RectConstructor;
|
1820 |
|
1821 |
|
1822 | interface Region3 {
|
1823 | |
1824 |
|
1825 |
|
1826 |
|
1827 |
|
1828 |
|
1829 |
|
1830 | readonly _nominal_Region3: unique symbol;
|
1831 | readonly CFrame: CFrame;
|
1832 | readonly Size: Vector3;
|
1833 | ExpandToGrid(this: Region3, resolution: number): Region3;
|
1834 | }
|
1835 |
|
1836 | type Region3Constructor = new (min?: Vector3, max?: Vector3) => Region3;
|
1837 |
|
1838 | declare const Region3: Region3Constructor;
|
1839 |
|
1840 |
|
1841 | interface Region3int16 {
|
1842 | |
1843 |
|
1844 |
|
1845 |
|
1846 |
|
1847 |
|
1848 |
|
1849 | readonly _nominal_Region3int16: unique symbol;
|
1850 | readonly Min: Vector3int16;
|
1851 | readonly Max: Vector3int16;
|
1852 | }
|
1853 |
|
1854 | type Region3int16Constructor = new (min?: Vector3int16, max?: Vector3int16) => Region3int16;
|
1855 |
|
1856 | declare const Region3int16: Region3int16Constructor;
|
1857 |
|
1858 |
|
1859 | interface RotationCurveKey {
|
1860 | |
1861 |
|
1862 |
|
1863 |
|
1864 |
|
1865 |
|
1866 |
|
1867 | readonly _nominal_RotationCurveKey: unique symbol;
|
1868 | readonly Time: number;
|
1869 | readonly Value: CFrame;
|
1870 | }
|
1871 | type RotationCurveKeyConstructor = new (
|
1872 | time: number,
|
1873 | value: CFrame,
|
1874 | interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
1875 | ) => RotationCurveKey;
|
1876 | declare const RotationCurveKey: RotationCurveKeyConstructor;
|
1877 |
|
1878 |
|
1879 | interface SharedTable {
|
1880 | |
1881 |
|
1882 |
|
1883 |
|
1884 |
|
1885 |
|
1886 |
|
1887 | readonly _nominal_SharedTable: unique symbol;
|
1888 | }
|
1889 |
|
1890 |
|
1891 | interface TextChatMessage {
|
1892 | |
1893 |
|
1894 |
|
1895 |
|
1896 |
|
1897 |
|
1898 |
|
1899 | readonly _nominal_TextChatMessage: unique symbol;
|
1900 | }
|
1901 |
|
1902 |
|
1903 | interface TweenInfo {
|
1904 | |
1905 |
|
1906 |
|
1907 |
|
1908 |
|
1909 |
|
1910 |
|
1911 | readonly _nominal_TweenInfo: unique symbol;
|
1912 | readonly Time: number;
|
1913 | readonly EasingStyle: Enum.EasingStyle;
|
1914 | readonly EasingDirection: Enum.EasingDirection;
|
1915 | readonly RepeatCount: number;
|
1916 | readonly Reverses: boolean;
|
1917 | readonly DelayTime: number;
|
1918 | }
|
1919 |
|
1920 | type TweenInfoConstructor = new (
|
1921 | time?: number,
|
1922 | easingStyle?: Enum.EasingStyle,
|
1923 | easingDirection?: Enum.EasingDirection,
|
1924 | repeatCount?: number,
|
1925 | reverses?: boolean,
|
1926 | delayTime?: number,
|
1927 | ) => TweenInfo;
|
1928 |
|
1929 | declare const TweenInfo: TweenInfoConstructor;
|
1930 |
|
1931 |
|
1932 | interface UDim {
|
1933 | |
1934 |
|
1935 |
|
1936 |
|
1937 |
|
1938 |
|
1939 |
|
1940 | readonly _nominal_UDim: unique symbol;
|
1941 | readonly Scale: number;
|
1942 | readonly Offset: number;
|
1943 | }
|
1944 |
|
1945 | type UDimConstructor = new (scale?: number, offset?: number) => UDim;
|
1946 |
|
1947 | declare const UDim: UDimConstructor;
|
1948 |
|
1949 |
|
1950 | interface UDim2 {
|
1951 | |
1952 |
|
1953 |
|
1954 |
|
1955 |
|
1956 |
|
1957 |
|
1958 | readonly _nominal_UDim2: unique symbol;
|
1959 | readonly X: UDim;
|
1960 | readonly Y: UDim;
|
1961 | readonly Width: UDim;
|
1962 | readonly Height: UDim;
|
1963 | Lerp(this: UDim2, goal: UDim2, alpha: number): UDim2;
|
1964 | }
|
1965 |
|
1966 | interface UDim2Constructor {
|
1967 | new (xScale: number, xOffset: number, yScale: number, yOffset: number): UDim2;
|
1968 | new (xDim: UDim, yDim: UDim): UDim2;
|
1969 | new (): UDim2;
|
1970 | fromOffset: (x?: number, y?: number) => UDim2;
|
1971 | fromScale: (x?: number, y?: number) => UDim2;
|
1972 | }
|
1973 |
|
1974 | declare const UDim2: UDim2Constructor;
|
1975 |
|
1976 |
|
1977 | interface Vector2 {
|
1978 | |
1979 |
|
1980 |
|
1981 |
|
1982 |
|
1983 |
|
1984 |
|
1985 | readonly _nominal_Vector2: unique symbol;
|
1986 |
|
1987 | readonly X: number;
|
1988 |
|
1989 | readonly Y: number;
|
1990 |
|
1991 | readonly Unit: Vector2;
|
1992 |
|
1993 | readonly Magnitude: number;
|
1994 |
|
1995 | Dot(this: Vector2, other: Vector2): number;
|
1996 |
|
1997 | Lerp(this: Vector2, goal: Vector2, alpha: number): Vector2;
|
1998 |
|
1999 | Cross(this: Vector2, other: Vector2): number;
|
2000 |
|
2001 | Min(this: Vector2, ...vectors: Array<Vector2>): Vector2;
|
2002 |
|
2003 | Max(this: Vector2, ...vectors: Array<Vector2>): Vector2;
|
2004 | }
|
2005 |
|
2006 | interface Vector2Constructor {
|
2007 | |
2008 |
|
2009 |
|
2010 |
|
2011 |
|
2012 |
|
2013 |
|
2014 |
|
2015 |
|
2016 |
|
2017 | readonly zero: Vector2;
|
2018 | |
2019 |
|
2020 |
|
2021 |
|
2022 |
|
2023 |
|
2024 |
|
2025 |
|
2026 |
|
2027 |
|
2028 | readonly one: Vector2;
|
2029 | |
2030 |
|
2031 |
|
2032 |
|
2033 |
|
2034 |
|
2035 |
|
2036 |
|
2037 |
|
2038 |
|
2039 | readonly xAxis: Vector2;
|
2040 | |
2041 |
|
2042 |
|
2043 |
|
2044 |
|
2045 |
|
2046 |
|
2047 |
|
2048 |
|
2049 |
|
2050 | readonly yAxis: Vector2;
|
2051 |
|
2052 | new (x?: number, y?: number): Vector2;
|
2053 | }
|
2054 |
|
2055 | declare const Vector2: Vector2Constructor;
|
2056 |
|
2057 |
|
2058 | interface Vector2int16 {
|
2059 | |
2060 |
|
2061 |
|
2062 |
|
2063 |
|
2064 |
|
2065 |
|
2066 | readonly _nominal_Vector2int16: unique symbol;
|
2067 | readonly X: number;
|
2068 | readonly Y: number;
|
2069 | }
|
2070 |
|
2071 | type Vector2int16Constructor = new (x?: number, y?: number) => Vector2int16;
|
2072 |
|
2073 | declare const Vector2int16: Vector2int16Constructor;
|
2074 |
|
2075 |
|
2076 | interface Vector3 {
|
2077 | |
2078 |
|
2079 |
|
2080 |
|
2081 |
|
2082 |
|
2083 |
|
2084 | readonly _nominal_Vector3: unique symbol;
|
2085 | readonly X: number;
|
2086 | readonly Y: number;
|
2087 | readonly Z: number;
|
2088 |
|
2089 | readonly Unit: Vector3;
|
2090 |
|
2091 | readonly Magnitude: number;
|
2092 |
|
2093 | Lerp(this: Vector3, goal: Vector3, alpha: number): Vector3;
|
2094 |
|
2095 | Dot(this: Vector3, other: Vector3): number;
|
2096 |
|
2097 | Cross(this: Vector3, other: Vector3): Vector3;
|
2098 |
|
2099 | FuzzyEq(this: Vector3, other: Vector3, epsilon?: number): boolean;
|
2100 |
|
2101 | Min(this: Vector3, ...vectors: Array<Vector3>): Vector3;
|
2102 |
|
2103 | Max(this: Vector3, ...vectors: Array<Vector3>): Vector3;
|
2104 |
|
2105 | Angle(this: Vector3, other: Vector3, axis?: Vector3): number;
|
2106 | }
|
2107 |
|
2108 | interface Vector3Constructor {
|
2109 | |
2110 |
|
2111 |
|
2112 |
|
2113 |
|
2114 |
|
2115 |
|
2116 |
|
2117 |
|
2118 |
|
2119 | readonly zero: Vector3;
|
2120 | |
2121 |
|
2122 |
|
2123 |
|
2124 |
|
2125 |
|
2126 |
|
2127 |
|
2128 |
|
2129 |
|
2130 | readonly one: Vector3;
|
2131 | |
2132 |
|
2133 |
|
2134 |
|
2135 |
|
2136 |
|
2137 |
|
2138 |
|
2139 |
|
2140 |
|
2141 | readonly xAxis: Vector3;
|
2142 | |
2143 |
|
2144 |
|
2145 |
|
2146 |
|
2147 |
|
2148 |
|
2149 |
|
2150 |
|
2151 |
|
2152 | readonly yAxis: Vector3;
|
2153 | |
2154 |
|
2155 |
|
2156 |
|
2157 |
|
2158 |
|
2159 |
|
2160 |
|
2161 |
|
2162 |
|
2163 | readonly zAxis: Vector3;
|
2164 |
|
2165 | FromNormalId: (norm: Enum.NormalId) => Vector3;
|
2166 |
|
2167 | FromAxis: (axis: Enum.Axis) => Vector3;
|
2168 |
|
2169 | new (x?: number, y?: number, z?: number): Vector3;
|
2170 | }
|
2171 |
|
2172 | declare const Vector3: Vector3Constructor;
|
2173 |
|
2174 |
|
2175 | interface Vector3int16 {
|
2176 | |
2177 |
|
2178 |
|
2179 |
|
2180 |
|
2181 |
|
2182 |
|
2183 | readonly _nominal_Vector3int16: unique symbol;
|
2184 | readonly X: number;
|
2185 | readonly Y: number;
|
2186 | readonly Z: number;
|
2187 | }
|
2188 |
|
2189 | type Vector3int16Constructor = new (x?: number, y?: number, z?: number) => Vector3int16;
|
2190 |
|
2191 | declare const Vector3int16: Vector3int16Constructor;
|
2192 |
|
2193 |
|
2194 | interface QFont {}
|
2195 | interface QDir {}
|
2196 |
|
2197 |
|
2198 | declare const game: DataModel;
|
2199 | declare const script: LuaSourceContainer;
|
2200 | declare const shared: object;
|
2201 |
|
2202 | type DelayedCallback =
|
2203 | |
2204 |
|
2205 |
|
2206 |
|
2207 | (delayedTime: number, gameTime: number) => void;
|
2208 |
|
2209 |
|
2210 |
|
2211 |
|
2212 | declare function delay(delayTime: number, callback: DelayedCallback): void;
|
2213 |
|
2214 |
|
2215 |
|
2216 |
|
2217 |
|
2218 | declare function elapsedTime(): number;
|
2219 |
|
2220 |
|
2221 |
|
2222 |
|
2223 | declare function gcinfo(): number;
|
2224 |
|
2225 |
|
2226 |
|
2227 | declare function require(moduleScript: ModuleScript | number): unknown;
|
2228 |
|
2229 |
|
2230 | declare function spawn(callback: DelayedCallback): void;
|
2231 | declare function tick(): number;
|
2232 |
|
2233 | declare function time(): number;
|
2234 | declare function UserSettings(): UserSettings;
|
2235 |
|
2236 |
|
2237 |
|
2238 |
|
2239 |
|
2240 |
|
2241 | declare function version(): string;
|
2242 |
|
2243 |
|
2244 |
|
2245 |
|
2246 |
|
2247 |
|
2248 | declare function wait(seconds?: number): LuaTuple<[number, number]>;
|
2249 |
|
2250 |
|
2251 | declare function warn(...params: Array<unknown>): void;
|
2252 |
|
2253 |
|
2254 | declare namespace math {
|
2255 | |
2256 |
|
2257 |
|
2258 |
|
2259 |
|
2260 |
|
2261 |
|
2262 |
|
2263 |
|
2264 |
|
2265 |
|
2266 |
|
2267 | function noise(x: number, y?: number, z?: number): number;
|
2268 |
|
2269 | function clamp(n: number, min: number, max: number): number;
|
2270 | }
|
2271 |
|
2272 | declare namespace utf8 {
|
2273 |
|
2274 | function char(...codepoints: Array<number>): string;
|
2275 |
|
2276 | function codes(str: string): IterableFunction<LuaTuple<[number, number]>>;
|
2277 |
|
2278 | function codepoint(str: string, i?: number, j?: number): LuaTuple<Array<number>>;
|
2279 |
|
2280 | function len(s: string, i?: number, j?: number): LuaTuple<[number, undefined] | [false, number]>;
|
2281 |
|
2282 | function offset(s: string, n: number, i?: number): number | undefined;
|
2283 |
|
2284 | function graphemes(s: string, i?: number, j?: number): IterableFunction<LuaTuple<[number, number]>>;
|
2285 |
|
2286 | function nfcnormalize(str: string): string;
|
2287 |
|
2288 | function nfdnormalize(str: string): string;
|
2289 |
|
2290 | const charpattern: "[%z\x01-\x7F\xC2-\xF4][\x80-\xBF]*";
|
2291 | }
|
2292 |
|
2293 | declare namespace task {
|
2294 |
|
2295 | function desynchronize(): void;
|
2296 |
|
2297 | function synchronize(): void;
|
2298 |
|
2299 | function defer<T extends Array<any>>(callback: (...args: T) => void, ...args: T): thread;
|
2300 | function defer(thread: thread, ...args: Array<unknown>): thread;
|
2301 |
|
2302 | function delay<T extends Array<any>>(duration: number, callback: (...args: T) => void, ...args: T): thread;
|
2303 | function delay(duration: number, thread: thread, ...args: Array<unknown>): thread;
|
2304 |
|
2305 | function spawn<T extends Array<any>>(callback: (...args: T) => void, ...args: T): thread;
|
2306 | function spawn(thread: thread, ...args: Array<unknown>): thread;
|
2307 |
|
2308 | function wait(duration?: number): number;
|
2309 |
|
2310 | function cancel(thread: thread): void;
|
2311 | }
|
2312 |
|
2313 | interface GettableCores {
|
2314 | AvatarContextMenuEnabled: boolean;
|
2315 | PointsNotificationsActive: boolean;
|
2316 | BadgesNotificationsActive: boolean;
|
2317 | ChatActive: boolean;
|
2318 | ChatWindowSize: UDim2;
|
2319 | ChatWindowPosition: UDim2;
|
2320 | ChatBarDisabled: boolean;
|
2321 | GetBlockedUserIds: Array<number>;
|
2322 | PlayerBlockedEvent: BindableEvent;
|
2323 | PlayerUnblockedEvent: BindableEvent;
|
2324 | PlayerMutedEvent: BindableEvent;
|
2325 | PlayerUnmutedEvent: BindableEvent;
|
2326 | PlayerFriendedEvent: BindableEvent;
|
2327 | PlayerUnfriendedEvent: BindableEvent;
|
2328 | DevConsoleVisible: boolean;
|
2329 | VRRotationIntensity: "Low" | "High" | "Smooth";
|
2330 | }
|
2331 |
|
2332 | interface SettableCores {
|
2333 | ChatActive: boolean;
|
2334 | PointsNotificationsActive: boolean;
|
2335 | BadgesNotificationsActive: boolean;
|
2336 | ResetButtonCallback: boolean | BindableEvent;
|
2337 | ChatMakeSystemMessage: MakeSystemMessageConfig;
|
2338 | ChatWindowSize: UDim2;
|
2339 | ChatWindowPosition: UDim2;
|
2340 | ChatBarDisabled: boolean;
|
2341 | SendNotification: SendNotificationConfig;
|
2342 | TopbarEnabled: boolean;
|
2343 | DevConsoleVisible: boolean;
|
2344 | PromptSendFriendRequest: Player;
|
2345 | PromptUnfriend: Player;
|
2346 | PromptBlockPlayer: Player;
|
2347 | PromptUnblockPlayer: Player;
|
2348 | AvatarContextMenuEnabled: boolean;
|
2349 | AddAvatarContextMenuOption: Enum.AvatarContextMenuOption | [string, BindableFunction];
|
2350 | RemoveAvatarContextMenuOption: Enum.AvatarContextMenuOption | [string, BindableFunction];
|
2351 | CoreGuiChatConnections:
|
2352 | | { [name: string]: BindableEvent | BindableFunction }
|
2353 | | Map<string, BindableEvent | BindableFunction>;
|
2354 | VREnableControllerModels: boolean;
|
2355 | VRLaserPointerMode: "Disabled" | "Pointer" | "Navigation" | "Hidden";
|
2356 | }
|
2357 |
|
2358 |
|
2359 | interface CheckablePrimitives {
|
2360 | nil: undefined;
|
2361 | boolean: boolean;
|
2362 | string: string;
|
2363 | number: number;
|
2364 | table: object;
|
2365 | userdata: unknown;
|
2366 | function: Callback;
|
2367 | thread: thread;
|
2368 | vector: Vector3;
|
2369 | }
|
2370 |
|
2371 |
|
2372 |
|
2373 |
|
2374 |
|
2375 | declare function type(value: unknown): keyof CheckablePrimitives;
|
2376 |
|
2377 |
|
2378 | interface CheckableTypes extends CheckablePrimitives {
|
2379 | Axes: Axes;
|
2380 | BrickColor: BrickColor;
|
2381 | CFrame: CFrame;
|
2382 | Color3: Color3;
|
2383 | ColorSequence: ColorSequence;
|
2384 | ColorSequenceKeypoint: ColorSequenceKeypoint;
|
2385 | DateTime: DateTime;
|
2386 | DockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo;
|
2387 | Enum: Enum;
|
2388 | EnumItem: EnumItem;
|
2389 | Enums: Enums;
|
2390 | Faces: Faces;
|
2391 | FloatCurveKey: FloatCurveKey;
|
2392 | Font: Font;
|
2393 | Instance: Instance;
|
2394 | NumberRange: NumberRange;
|
2395 | NumberSequence: NumberSequence;
|
2396 | NumberSequenceKeypoint: NumberSequenceKeypoint;
|
2397 | OverlapParams: OverlapParams;
|
2398 | PathWaypoint: PathWaypoint;
|
2399 | PhysicalProperties: PhysicalProperties;
|
2400 | Random: Random;
|
2401 | Ray: Ray;
|
2402 | RaycastParams: RaycastParams;
|
2403 | RaycastResult: RaycastResult;
|
2404 | RBXScriptConnection: RBXScriptConnection;
|
2405 | RBXScriptSignal: RBXScriptSignal;
|
2406 | Rect: Rect;
|
2407 | Region3: Region3;
|
2408 | Region3int16: Region3int16;
|
2409 | TweenInfo: TweenInfo;
|
2410 | UDim: UDim;
|
2411 | UDim2: UDim2;
|
2412 | Vector2: Vector2;
|
2413 | Vector2int16: Vector2int16;
|
2414 | Vector3: Vector3;
|
2415 | Vector3int16: Vector3int16;
|
2416 | }
|
2417 |
|
2418 | type AttributeValue =
|
2419 | | string
|
2420 | | boolean
|
2421 | | number
|
2422 | | UDim
|
2423 | | UDim2
|
2424 | | BrickColor
|
2425 | | Color3
|
2426 | | Vector2
|
2427 | | Vector3
|
2428 | | CFrame
|
2429 | | NumberSequence
|
2430 | | ColorSequence
|
2431 | | NumberRange
|
2432 | | Rect
|
2433 | | Font;
|