I can't get the C0 property from Motor6D

When I try to get the C0 property of Motor6D it gives an error in the Output, please help me
image

Here is the script:

Script
local Player = game.Players.LocalPlayer

local PlayerMouse = Player:GetMouse()

local Camera = workspace.CurrentCamera

local Character = Player.Character or Player.CharacterAdded:Wait()

local Head = Character:WaitForChild("Head")

local Neck = Head:FindFirstChild("Neck")

local Torso = Character:WaitForChild("UpperTorso")

local Waist = Torso:FindFirstChild("Waist")

local Humanoid = Character:WaitForChild("Humanoid")

local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

wait(1)

local NeckOriginC0 = Head:FindFirstChild("Neck").C0

local WaistOriginC0 = Torso:FindFirstChild("Waist").C0

There is no ‘Neck’ object inside of the head, that would be inside the torso. This is for R6 bodies.

The script is for R15, and I’m using R15, the first time it works, but after I died it gives the error

Well if you die, a new character is created. You should put that script into a CharacterAdded event or something.

1 Like