Help with SCP:CB Death

Hello

I need help on trying to make a effect like in SCP: Containment Breach when a player dies, like example: When the player/client dies the camera looks down to replicate the player falling to the floor

I don’t know how to script it and help would be appriciated

I’d separate it out into little problems. You first want the player to fall to the floor, so ragdoll physics, then locking the players camera to first person. Those are easily searchable (and im sure you can find a solution on the devforum). Split it up into smaller problems, and your life will become much easier.

I mean like a camera animation where it slowly like falls to the ground

I think you can use trigonometry to obtain a circular arch from the player’s eye to the position they would face plant into. The original game flips a coin to determine if the player falls forward or backward, and it rotates the player and camera entity until it hits the floor (source). Doing the same in Roblox would look a bit goofy but depending on your existing codebase it could be much more simpler to just change the pitch rotation of the player’s character using their feet as a pivot. If it’s a multiplayer game, make sure this is done on the client only so others don’t see dying players slowly faceplant.