Animations Working In Studios But Not The Game-

Can someone please help me. I made a scripted gun with animations. Everything works in studios but when I go to test it on Roblox, the animation does not load at all. There is no errors on the Developer Console as well.

Taser & Gun

Animation script:

local Anim = script.Parent.Hold

local Thing

script.Parent.Parent.Equipped:Connect(function(mouse)

Thing = script.Parent.Parent.Parent.Humanoid:LoadAnimation(Anim)
Thing.Priority = Enum.AnimationPriority.Idle
Thing.Looped = false
Thing:Play()

I have looked over the script multiple times and still cant see why this is happening.

If it’s a group game, you need to upload your animations to the group.

2 Likes