local o=script.Parent.Parent local T=o:WaitForChild("\072\101\097\100")local u=o:WaitForChild("\072\117\109\097\110\111\105\100")local z=o:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local W=u.RigType.Value==0 local S=W and o:WaitForChild("\084\111\114\115\111")or o:WaitForChild("\085\112\112\101\114\084\111\114\115\111")local C=W and S:WaitForChild("\078\101\099\107")or T:WaitForChild("\078\101\099\107")local s=not W and S:WaitForChild("\087\097\105\115\116")local a=C.C0 local n=not W and s.C0 local m=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")m.Parent=o m.Name="\076\111\111\107\105\110\103\065\116"
--------------------------------------------
local Body = script.Parent.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"
