I'm making a script that makes the head follow the mouse. AANNNND...
I've been receiving this error; CFrame is not a valid member of PlayerMouse
How would i then go about solving this problem?
LOCAL SCRIPT
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local RemoteEvent = game.ReplicatedStorage.RemoteEvent
repeat wait() until Player.Character
local Char = Player.Character
Mouse.Move:Connect(function()
local Head = Player.Character.Head
local Vec = Mouse.CFrame
local Neck = Head.Neck
RemoteEvent:FireServer(Neck, Vec)
end)
SERVERSCRIPT
local Remote = game.ReplicatedStorage.RemoteEvent
Remote.OnServerEvent:Connect(function(player, Neck, Vec)
for i = 0,1,.01 do
wait()
Neck.C0:lerp(Vec, i)
end
end)

2 comments
Incredible job! ITS CONGRATULATIONS ITS A CELEBRATION PARTY ALL DAY ALL YOU'VE BEEN WAITIN
:)) Thank you!