Character's torso rotate up and down with cam

How could I make the character’s torso rotate up when the player’s camera is looking up and vice versa on server side?

Any help appreciated!

1 Like
torso.CFrame = CFrame.new(torso.Position, workspace.CurrentCamera.CFrame.LookVector)

put this in a renderstepped and it might work idk.

This does not work.

30 letters needed

i tried it on roblox and seems that it didnt work but i found the solutions after testing.

torso.CFrame = CFrame.new(torso.Position, -workspace.CurrentCamera.CFrame.Position)
1 Like

Doesn’t seem to work for me.

local run = game:GetService("RunService")
game.Players.PlayerAdded:Connect(function(player)
    local Character = player.CharacterAdded:Wait()
    local torso = Character.UpperTorso
    run.RenderStepped:Connect(function()
        torso.CFrame = CFrame.new(torso.Position, -workspace.CurrentCamera.CFrame.Position)
    end)
end)
1 Like

Anyone know how I can do this?

You can use IKControls. Though client changes to Motor6Ds do not replicate, so you need to communicate client changes to the server through a RemoteEvent.