local g=script.Parent local G=g:WaitForChild("\072\101\097\100")local F=g:WaitForChild("\072\117\109\097\110\111\105\100")local C=g:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local a=F.RigType.Value==0 local N=a and g:WaitForChild("\084\111\114\115\111")or g:WaitForChild("\085\112\112\101\114\084\111\114\115\111")local u=a and N:WaitForChild("\078\101\099\107")or G:WaitForChild("\078\101\099\107")local o=not a and N:WaitForChild("\087\097\105\115\116")local f=u.C0 local R=not a and o.C0 local l=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")l.Parent=g l.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"