I’m trying to make a shield that has a custom put away, and holding animation.
I’ve seen other posts on the dev forum about things similar to this however they are all too hard for me to follow along with. On top of that i’m doing this with roblox’s build in animation editor so I couldn’t use any moon animator tutorials.
(I forgot to include this when I first posted this but I do have animations created and exported to roblox.)
How can I go about this? Any bit of help is appreciated!
First, you have to get the animation id. Do that by going to your item in the Roblox marketplace. Once you do that look at the address bar and copy the numbers
(Obviously don’t use the numbers in the picture, use the ones in your id)
Then you will add an “Animation” to the shield, and put a script in that plays the animation when clicked.
Here’s a simple script you can use to change all animations of a tool. This can be used to switch between different poses/animations local tool = script.Parent
local animation = Instance.new(“Animation”)
animation.Name = “idle”
animation.AnimationId = “rbxassetid://animationid”
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local animtrack = char.Humanoid:LoadAnimation(animation)
animtrack:Play()