#how to export the camera to make a cutscene in moon animator
1 messages · Page 1 of 1 (latest)
Did you include the camera in your r6 / r15 rig
** You are now Level 1! **
Also your script for your camera should be
StarterPlayer pack > StarterPlayerScripts > YourCameraScript [ LOCAL SCRIPT ]
then assuming you've got the other parts of your script down
Set your variables
local cf = game.ReplicatedStorage.Cutscene
local CurrentCamFrame = workspace.CurrentCamera.CFrame```
# Set your camera to scriptable
```lua
Camera.CameraType = Enum.CameraType.Scriptable```
# Turn autorotate for your humanoid to false
```lua
Args.Character.Humanoid.AutoRotate = false```
# Then set your camera cframe data into the cframe animation
```lua
Con = game:GetService("RunService").RenderStepped:Connect(function(DT)
ft *= (DT*60)
local idkm = cf.Frames:FindFirstChild(tonumber(math.ceil(ft)))
if idkm then
Camera.CFrame = Args.Character.HumanoidRootPart.CFrame * idkm.Value
else
Connection:Disconnect()
Args.Character.Humanoid.AutoRotate = true
Camera.CameraType = Enum.CameraType.Custom
Cmaera.CFrame = CurrentCamFrame
end```