What do you want to achieve? - so that animations would be identical to the moon animator ones
What is the issue? - i animated the idle, equip and shoot animations of a shotgun mesh that was made by my friend in blender, so i did the animations, saved them to roblox and used up a script that i used on other guns. it does fire animations but the anims itself are not identical as it was in the moon animator
What solutions have you tried so far? - well i guess none by my knowledge, im a beginning scripter
but i did turn on R6 avatar type and standard animations
here is how the animations look in moon animator, you can see that the fire anim is full
and how it looks ingame
below i left the scripts that are used
EQUIP ANIM SCRIPT BELOW
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = 'https://www.roblox.com/Assest?ID=18287903110'
local track
tool.Equipped:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track:Play()
end)
tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)
IDLE ANIM SCRIPT BELOW
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = 'https://www.roblox.com/Assest?ID=18287771354'
local track
tool.Equipped:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track.Looped = true
track:Play()
end)
tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)
SHOOT ANIM SCRIPT BELOW
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = 'https://www.roblox.com/Assest?ID=18287935985'
local track
tool.Activated:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track:Play()
end)