You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to play the intro scene I created in Moon Animator 2. Since it is more than 1 rig, (1 Camera, 3 rigs) it is saved in a moon 2 file.
- What is the issue? Include screenshots / videos if possible!
I can’t get it to play, and I have absolutely no errors in output. There is also little to no documentation on this. Which is strange because it seems like an important thing to miss.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried using this post Camera Animations for cutscenes and gameplay! to play it, It simply doesn’t
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
This is the localscript I used for it, running in a script gave me errors on line 3 (local Character)
local RunService = game:GetService("RunService")
local Character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local Camera = workspace.Camera
function Cinematic()
local CinematicsFolder = game.Workspace.Intro -- Path to your folder!
local CurrentCameraCFrame = workspace.CurrentCamera.CFrame
local FrameTime = 0
local Connection
Character.Humanoid.AutoRotate = false
Camera.CameraType = Enum.CameraType.Scriptable
Connection = RunService.RenderStepped:Connect(function(DT)
FrameTime += (DT * 60)
-- This will convert the seconds passed (DT) to the frame of the camera we need.
-- Then it adds it to the total amount of time passed since the animation started
local NeededFrame = CinematicsFolder.Frames:FindFirstChild(tonumber(math.ceil(FrameTime)))
if NeededFrame then
Camera.CFrame = NeededFrame.Value
else
Connection:Disconnect()
Character.Humanoid.AutoRotate = true
Camera.CameraType = Enum.CameraType.Custom
Camera.CFrame = CurrentCameraCFrame
end
end)
end
I had it formated so the moon 2 file is in workspace, and the localscript in workspace.
Any help is appreciated!
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.