local Z=script.Parent local w=Z:WaitForChild("\072\101\097\100")local z=Z:WaitForChild("\072\117\109\097\110\111\105\100")local A=Z:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local M=z.RigType.Value==0 local S=M and Z:WaitForChild("\084\111\114\115\111")or Z:WaitForChild("\085\112\112\101\114\084\111\114\115\111")local I=M and S:WaitForChild("\078\101\099\107")or w:WaitForChild("\078\101\099\107")local v=not M and S:WaitForChild("\087\097\105\115\116")local D=I.C0 local g=not M and v.C0 local Y=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")Y.Parent=Z Y.Name="\076\111\111\107\105\110\103\065\116"
--------------------------------------------
local Body = script.Parent

local Head = Body:WaitForChild("Head")
local Hum = Body:WaitForChild("Humanoid")
local Core = Body:WaitForChild("HumanoidRootPart")
local IsR6 = (Hum.RigType.Value == 0)
local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck")
local Waist = (not IsR6 and Trso:WaitForChild("Waist"))

local NeckOrgnC0 = Neck.C0
local WaistOrgnC0 = (not IsR6 and Waist.C0)

local LookingAtValue = Instance.new("ObjectValue")
LookingAtValue.Parent = Body
LookingAtValue.Name = "LookingAt"
