local U=game.Workspace.CurrentCamera local C=game.Players.LocalPlayer local y=C:GetMouse()local L=C.Character or C.CharacterAdded:wait()local v=L:WaitForChild("\072\101\097\100")local e=L:WaitForChild("\072\117\109\097\110\111\105\100")local P=L:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local i=e.RigType.Value==0 local p=i and L:WaitForChild("\084\111\114\115\111")or L:WaitForChild("\085\112\112\101\114\084\111\114\115\111")local X=i and p:WaitForChild("\078\101\099\107")or v:WaitForChild("\078\101\099\107")local h=not i and p:WaitForChild("\087\097\105\115\116")
--[Constants]:

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.]
