Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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?

Closed as Not Constructive by hiimgoodpack and Fifkee

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

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!

Ad