Yeah so I have a shooting animation, but I don't know how to play it. Here is my code that I got from my tutorial.

local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://10857396288"
local track
tool.Equipped:Connect(function(mouse)
	track = script.Parent.Parent.Humanoid:LoadAnimation(Anim)
	track.Priority = Enum.AnimationPriority.Action
	track.Looped = false
	track:Play()

2 comments

0

is your game that uses this script a group game?

0

no