Need help figuring out how to make a animation play with the item that was in the Animation [Moon Animator]

Hey there, so recently I made a animation which opens a vent.
It works and plays once I click on the Vent, now the problem is I added the vent as a Item in the Animation in Moon Animator to move with the rig’s arms, and when it plays the animation in person the vent just stays there in one place.
Is there anything I can do to include the item aka Vent that I moved with the arms in the Animation using Moon Animator.


Any help or conclusion would be appreciated been struggling on this for an hour, here is the code for clicking the Vent and the animation playing.

game.Workspace.VENTOPEN.ClickDetector.MouseClick:Connect(function()
	if debounce == false and HasScrewdriver == true then
		debounce = true
		print("Opening Vent")
		game.ReplicatedStorage.RemoteEvents.VentInteract:FireServer()
		game.ReplicatedStorage.BindableEvent.AnimationScene:Fire()
		wait(1)
		Cam.CameraType = Enum.CameraType.Attach
		Character:MoveTo(venttele.Position)
		script.Parent.Controls_1st.Enabled = false
		Character.HumanoidRootPart.CFrame = venttele.CFrame
		--wait(0.001)
		Player.Character:WaitForChild("Humanoid").WalkSpeed = 0
		Player.Character:WaitForChild("Humanoid").JumpHeight = 0
		Cam.CameraSubject = head
		local anim = Instance.new("Animation")
		anim.AnimationId = "rbxassetid://12912082700"
		local track = animator:LoadAnimation(anim)
		highlightAlright = false
	    track:Play()
		track.Ended:Wait()
		Cam.CameraSubject = head
		Player.CameraMode = Enum.CameraMode.Classic
		Cam.CameraType = Enum.CameraType.Scriptable
		script.Parent.Controls_1st.Enabled = true
		Player.Character:WaitForChild("Humanoid").WalkSpeed = 16
		Player.Character:WaitForChild("Humanoid").JumpHeight = 7.2
		vent.Position = game.Workspace.ventend.Position
	end
end)

uuhhh moon animator doesn’t export animations, only models with motor6ds and Humanoids or Animation Controllers, I recommend doing a CFrame animation for the vent and Tweening the animation

1 Like

Oh yeah, I see what you mean I completely forgot about tweens existing, thank you for answering my question been trying to figure out how to do this properly for a whole hour.
Will do the appropriate tweens.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.