I am making a script for my game so that after 2 seconds it will slowly rotate from facing up then slowly go round to the left hand side like looking at your bedside table in the morning. But no matter how hard I try I can't figure out how to create the effect. Here is the code so far:
local cam = workspace.CurrentCamera cam.CameraSubject = workspace.Intro -- A part in workspae called intro that i want cam to focus on cam.CameraType = "Scriptable" cam.CoordinateFrame = CFrame.new(workspace.Intro.Position) * CFrame.Angles(90, 0, 0) -- make the cam look up at ceiling wait(2) --look to left then right
the effect i'm trying to create is lying on your back in your bed. then tilting your head to the left looking at your clock then the right.