Created
March 16, 2025 14:34
-
-
Save AzzaDeveloper/8f5a93d147237991362f991e319ad330 to your computer and use it in GitHub Desktop.
Roblox Character Type (courtesy of ffrosfall!)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```lua | |
export type CharacterChildren = { | |
Humanoid: Humanoid & { | |
Animator: Animator, | |
}, | |
Shirt: Shirt, | |
Pants: Pants, | |
["Body Colors"]: BodyColors, | |
["Shirt Graphic"]: ShirtGraphic, | |
HumanoidRootPart: Part & { | |
Climbing: Sound, | |
Died: Sound, | |
FreeFalling: Sound, | |
GettingUp: Sound, | |
Jumping: Sound, | |
Landing: Sound, | |
Running: Sound, | |
Splash: Sound, | |
Swimming: Sound, | |
RootRigAttachment: Attachment, | |
}, | |
Head: MeshPart & { | |
FaceCenterAttachment: Attachment, | |
FaceFrontAttachment: Attachment, | |
HairAttachment: Attachment, | |
HatAttachment: Attachment, | |
NeckRigAttachment: Attachment, | |
Neck: Motor6D, | |
}, | |
LeftFoot: MeshPart & { | |
LeftAnkleRigAttachment: Attachment, | |
LeftFootAttachment: Attachment, | |
LeftFoot: WrapTarget, | |
LeftAnkle: Motor6D, | |
}, | |
RightFoot: MeshPart & { | |
RightAnkleRigAttachment: Attachment, | |
RightFootAttachment: Attachment, | |
RightFoot: WrapTarget, | |
RightAnkle: Motor6D, | |
}, | |
LeftLowerLeg: MeshPart & { | |
LeftLowerLeg: WrapTarget, | |
}, | |
RightLowerLeg: MeshPart & { | |
RightLowerLeg: WrapTarget, | |
}, | |
LeftUpperLeg: MeshPart & { | |
LeftUpperLeg: WrapTarget, | |
}, | |
RightUpperLeg: MeshPart & { | |
RightUpperLeg: WrapTarget, | |
}, | |
LowerTorso: MeshPart & { | |
LowerTorso: WrapTarget, | |
}, | |
UpperTorso: MeshPart & { | |
UpperTorso: WrapTarget, | |
}, | |
RightHand: MeshPart & { | |
RightHand: WrapTarget, | |
}, | |
LeftHand: MeshPart & { | |
LeftHand: WrapTarget, | |
}, | |
RightLowerArm: MeshPart & { | |
RightLowerArm: WrapTarget, | |
}, | |
RightUpperArm: MeshPart & { | |
RightUpperArm: WrapTarget, | |
}, | |
LeftLowerArm: MeshPart & { | |
LeftElbowRigAttachment: Attachment, | |
LeftWristAttachment: Attachment, | |
LeftLowerArm: WrapTarget, | |
LeftElbow: Motor6D, | |
}, | |
LeftUpperArm: MeshPart & { | |
LeftElbowRigAttachment: Attachment, | |
LeftShoulderAttachment: Attachment, | |
LeftShoulderRigAttachment: Attachment, | |
LeftUpperArm: WrapTarget, | |
LeftShoulder: Motor6D, | |
}, | |
} | |
export type R6CharacterChildren = { | |
Humanoid: Humanoid & { | |
Animator: Animator, | |
HumanoidDescription: HumanoidDescription, | |
}, | |
HumanoidRootPart: Part & any, | |
Torso: Part & any, | |
["Left Arm"]: Part, | |
["Right Arm"]: Part, | |
["Left Leg"]: Part, | |
["Right Leg"]: Part, | |
Head: Part, | |
Head: MeshPart & { | |
FaceCenterAttachment: Attachment, | |
FaceFrontAttachment: Attachment, | |
HairAttachment: Attachment, | |
HatAttachment: Attachment, | |
NeckRigAttachment: Attachment, | |
Neck: Motor6D, | |
}, | |
} | |
export type RobloxPlayerType = Player & { | |
PlayerGui: PlayerGui & { | |
BubbleChat: ScreenGui, | |
Chat: ScreenGui, | |
Freecam: ScreenGui, | |
}, | |
PlayerScripts: PlayerScripts & { | |
BubbleChat: LocalScript, | |
ChatScript: LocalScript, | |
PlayerScriptsLoader: LocalScript, | |
RbxCharacterSounds: LocalScript, | |
PlayerModule: ModuleScript, | |
}, | |
} | |
export type Character = Model & Instance & R6CharacterChildren | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment