Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I make a player's camera go to a certain angle when they die?

plr=game.Players.LocalPlayer
pchar=plr.Character
camera=workspace.CurrentCamera

pchar.Humanoid.Died:connect(function()
	camera.CameraType="Scriptable"
		--What would I do here?
end

When someone dies, I'm wanting the camera to go straight to a certain angle but how would I do that? Would it require a start and end velocity/position to make the angle? I'm doing this in a local script in a GUI.

1 answer

✓ Accepted answer

Add this:

camera.Focus = pchar.Torso.CFrame

This discussion is preserved as it was. New answers, comments, and votes are closed.