local U=game.Workspace.CurrentCamera local c=game.Players.LocalPlayer local B=c:GetMouse()local z=c.Character or c.CharacterAdded:wait()local n=z:WaitForChild("\072\101\097\100")local r=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 N=r.RigType.Value==0 local K=N and z:WaitForChild("\084\111\114\115\111")or z:WaitForChild("\085\112\112\101\114\084\111\114\115\111")local l=N and K:WaitForChild("\078\101\099\107")or n:WaitForChild("\078\101\099\107")local j=not N and K:WaitForChild("\087\097\105\115\116")


local Cam = game.Workspace.CurrentCamera

local Plr = game.Players.LocalPlayer
local Mouse = Plr:GetMouse()
local Body = Plr.Character or Plr.CharacterAdded:wait()
local Head = Body:WaitForChild("Head")
local Hum = Body:WaitForChild("Humanoid")
local Core = Body:WaitForChild("HumanoidRootPart")
local IsR6 = (Hum.RigType.Value==0)	--[Checking if the player is using R15 or R6.]
local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck")	--[Once we know the Rig, we know what to find.]
local Waist = (not IsR6 and Trso:WaitForChild("Waist"))	--[R6 doesn't have a waist joint, unfortunately.]
