Crouching support

How would I make it so my camera shifts down, so the player knows that they’re crouching?
Here i’m pressing ctrl to crouch. (Don’t mind the esp lines it’s an april fools thing, i guess it also there to show you that i’m crouching.) also, i’m using a viewModel in case that affects anything.


I’m simply not here to get a full script, I just want to know how it’s done.

You could always tween the camera offset on the y axis down?

The camera offset property can be found in the humanoid and changed with Vector3 values.

2 Likes

I’ve tried to do something like

game.Workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(player.HumanoidRootPart.Position.X,-2,player.HumanoidRootPart.Position.Z))
	game.Workspace.CurrentCamera.CFrame = CFrame.new(game.Workspace.CurrentCamera.CFrame.X,game.Workspace.CurrentCamera.CFrame.Y-2,game.Workspace.CurrentCamera.CFrame.Z)

but they only seem to just to reset the camera position to the position it spawns in.

try changing Humanoid.CameraOffset

this worked, thanks!|

30 char

2 Likes