Animation Is Not Playing

I have made a very basic animation:

And it does play when using this code:

function Attack()
	Damage = DamageValues.SlashDamage
	script.Parent.Handle.Slash:Play()
	
	if Humanoid then
		if Humanoid.RigType == Enum.HumanoidRigType.R15 then
			local Anim = Tool:FindFirstChild("R15Slash")
			if Anim then
				local Track = Humanoid:LoadAnimation(Anim)
				Track:Play(0)
			end
		end
	end	
end

But when I try to play this, it doesn’t show it at all. Animation that I am having problems with:

Here is also the video of this animation in Roblox Studio:

Can someone tell me what’s the problem in this animation? Why it doesn’t seems to play but actually it does? Every help will be appreciated. Thanks!

3 Likes

Is your game a group game? I know Animations used for group games need to be uploaded through the group to work, even though it works in studio :3 not sure if that will help?

Sadly no. My game is uploaded by me not my Dev Group. Thanks fot the help.

2 Likes