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

I've been trying to make the Camera look at the Player's Torso, please help?

game.Players.PlayerAdded:connect(function(player)
	Camera = game.Workspace.CurrentCamera
	Camera.CameraType = "Scriptable"
	Camera.CameraSubject = player.Character.Torso
end)

1 answer

It has to be a local script and playeradded does not fire in local scripts. Add to startergui or in the player!

So it would most likely look like this:

local player = game.Players.LocalPlayer
Camera = game.Workspace.CurrentCamera
Camera.CameraType = "Scriptable"
Camera.CameraSubject = player.Character.Torso

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