{
	"credit": "Created by FreshLX for Fresh Animations",
	"textureSize": [32, 32],
	"models": [
		{
			"part":"root",
			"id":"root",
			"model":"bat_animations.jpm",
			"attach":"true"
		},
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Fresh_Animations",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			]
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -7, 0],
			"boxes": [
				{"coordinates": [-1.5, 2, -1, 3, 5, 2], "textureOffset": [0, 0]}
			],
			"submodels": [
				{
					"id": "head2",
					"invertAxis": "xy",
					"translate": [0, 7, 0],
					"boxes": [
						{"coordinates": [-2, 0, -1, 4, 3, 2], "textureOffset": [0, 7]}
					],
					"submodels": [
						{
							"id": "left_eyelid",
							"invertAxis": "xy",
							"translate": [-1, 2.025, 0],
							"boxes": [
								{"coordinates": [-1.025, -1.025, -1.025, 1, 1, 1], "textureOffset": [4, 12], "sizeAdd": 0.025}
							]
						},
						{
							"id": "right_eyelid",
							"invertAxis": "xy",
							"translate": [1, 2.025, 0],
							"boxes": [
								{"coordinates": [0.025, -1.025, -1.025, 1, 1, 1], "textureOffset": [0, 12], "sizeAdd": 0.025}
							]
						},
						{
							"id": "left_ear",
							"invertAxis": "xy",
							"translate": [-1, 2, 0],
							"boxes": [
								{
									"coordinates": [-3, -1, 0, 3, 5, 0.01],
									"uvNorth": [8, 15, 11, 20],
									"uvSouth": [11, 15, 14, 20]
								}
							]
						},
						{
							"id": "right_ear",
							"invertAxis": "xy",
							"translate": [1, 2, 0],
							"boxes": [
								{
									"coordinates": [0, -1, 0, 3, 5, 0.01],
									"uvNorth": [1, 15, 4, 20],
									"uvSouth": [4, 15, 7, 20]
								}
							]
						}
					]
				},
				{
					"id": "left_pivot",
					"invertAxis": "xy",
					"translate": [-1.5, 6, 0],
					"submodels": [
						{
							"id": "left_wing2",
							"invertAxis": "xy",
							"translate": [0, 0, 0],
							"boxes": [
								{
									"coordinates": [-2, -4, -0.01, 2, 7, 0.01],
									"uvNorth": [12, 7, 14, 14],
									"uvSouth": [14, 7, 16, 14]
								}
							],
							"submodels": [
								{
									"id": "outer_left_wing2",
									"invertAxis": "xy",
									"translate": [-2, 1, 0],
									"boxes": [
										{
											"coordinates": [-6, -6, -0.01, 6, 8, 0.01],
											"uvNorth": [16, 8, 22, 16],
											"uvSouth": [22, 8, 28, 16]
										}
									]
								}
							]
						}
					]
				},
				{
					"id": "right_pivot",
					"invertAxis": "xy",
					"translate": [1.5, 6, 0],
					"submodels": [
						{
							"id": "right_wing2",
							"invertAxis": "xy",
							"translate": [0, 0, 0],
							"boxes": [
								{
									"coordinates": [0, -4, -0.01, 2, 7, 0.01],
									"uvNorth": [12, 0, 14, 7],
									"uvSouth": [14, 0, 16, 7]
								}
							],
							"submodels": [
								{
									"id": "outer_right_wing2",
									"invertAxis": "xy",
									"translate": [2, 1, 0],
									"boxes": [
										{
											"coordinates": [0, -6, -0.01, 6, 8, 0.01],
											"uvNorth": [16, 0, 22, 8],
											"uvSouth": [22, 0, 28, 8]
										}
									]
								}
							]
						}
					]
				},
				{
					"id": "feet2",
					"invertAxis": "xy",
					"translate": [0, 2, 0],
					"boxes": [
						{
							"coordinates": [-1.5, -2, 0, 3, 2, 0.01],
							"uvNorth": [16, 16, 19, 18],
							"uvSouth": [19, 16, 22, 18]
						}
					]
				}
			]
		},
		{
			"part": "left_wing",
			"id": "left_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "outer_left_wing",
			"id": "outer_left_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "right_wing",
			"id": "right_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "outer_right_wing",
			"id": "outer_right_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "feet",
			"id": "feet",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
	    {
		    "part": "body",
			"id": "gyroscope",
			"model": "bat_health_bar.jpm",
            "attach": "true",
			"scale": "1",
			"animations": [
	            {
				   "this.visible": "!is_ridden",
				   "gyroscope.rx": "-body.rx",
				   "gyroscope.ry": "-body.ry",
				   "gyroscope.rz": "-body.rz",
				   "health_bar.ty": "-11.5",
				   "health_bar.ry": "player_rot_y - rot_y + torad(180)",
				   "health_bar.rx": "-player_rot_x"
		        }
		    ]
		}
	]
}