Ad
Log in to vote
0

How do I set the camera back to the player?

Asked by 7 days ago

Here is the script so far:

local cameraFolder = workspace.CameraGroup
local cameraPart = workspace.CameraPart
local Camera = workspace.CurrentCamera
local frame = script.Parent.Buttons

Camera.CameraType = Enum.CameraType.Scriptable

Camera.CFrame = cameraPart.Position

if frame.Play.ClickedPlay == true then
    frame.Play.ClickedPlay = false

end

I am confused where the camera position normally is to the player..

1 answer

Log in to vote
0
Answered by 7 days ago

Ok This Is Actually Preety Simple To Do Ok Here Is How To Do It

local cameraFolder = workspace.CameraGroup
local cameraPart = workspace.CameraPart
local Camera = workspace.CurrentCamera
local frame = script.Parent.Buttons

Camera.CameraType = Enum.CameraType.Scriptable

Camera.CFrame = cameraPart.Position

if frame.Play.ClickedPlay == true then
    frame.Play.ClickedPlay = false 
    wait(1)
    Camera.CameraType = Enum.CameraType.Custom -- You can remove The Wait If you Want And Also Can Change the position of Camera.CameraType = Enum.CameraType.Custom 
end
0
you said Preety lol, but ik what u mean poppyloverb 19 — 5d
Ad

Answer this question