So, i recently was testing out Motor6D's, but i had a lot of problems with it, i'm trying to make a head movement, but i don't know what's wrong with it
This is a LocalScript on StarterCharacterScripts
local Plr = game:GetService("Players").LocalPlayer
local Mouse = Plr:GetMouse()
local Head = script.Parent.Head
local Neck = Head.Neck
local Offset = Neck.C1.Position
while true do
wait()
local CF = CFrame.new(Neck.C1.Position, Mouse.Hit.Position) - Neck.C1.Position + Offset
Neck.C1 = CF
end
This is what happens when i play
