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!
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!
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)
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)
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.