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

How do I make the camera go somewhere when you join the game?

So I recently saw some games on roblox, when you join the cameras goes to a specific part and like slowly zooms in the place you want it to be can anyone help?

1 answer

✓ Accepted answer

You're looking for Camera Manipulation. https://developer.roblox.com/en-us/articles/Camera-manipulation

local cam = game.Workspace.CurrentCamera
wait(3)
game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
cam.CameraSubject = game.Workspace.Part
cam.CameraType = "Fixed" 

wait(5)
cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
cam.CameraType = "Follow" 

(Put this in a StarterPlayerScripts and in a local script)

(If you want a camera to not focus on a part please go to this link v v v https://developer.roblox.com/en-us/api-reference/property/Camera/CFrame )

If you want to learn more about Camera Manipulation here's the link to do so. https://developer.roblox.com/en-us/articles/Camera-manipulation

Have a nice day!

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