Skip to content

Common ​

Types ​

JointState type ​

luau
type JointState = {
	joint: Instance?,
	jointIsWeld: boolean?,
	origin: CFrame?,
}

Properties ​

TINT_TOLERANCE ​

luau
Common.TINT_TOLERANCE: number

Functions ​

assetNumber ​

luau
Common.assetNumber(raw: any): number?

sameTint ​

luau
Common.sameTint(a: Color3, b: Color3, tolerance: number?): boolean

readHandleInfo ​

luau
Common.readHandleInfo(acc: Instance): (string?, number?, number?, number?, Color3?, number?)

attachAccessory ​

luau
Common.attachAccessory(character: Model, acc: Accessory)

makeHatBuilder ​

luau
Common.makeHatBuilder(buildFn: () -> Accessory?): () -> Accessory?

resolveAccessoryJoint ​

luau
Common.resolveAccessoryJoint(state: JointState, handle: BasePart): boolean

placeAccessory ​

luau
Common.placeAccessory(state: JointState, handle: BasePart, offset: CFrame)

restoreAccessoryJoint ​

luau
Common.restoreAccessoryJoint(state: JointState)

isBulkItemPurchased ​

luau
Common.isBulkItemPurchased(item: any): boolean

isFxReduced Client ​

luau
Common.isFxReduced(localPlayer: Player?): boolean