So, wrote a gun script, there's a few animations for holding the gun, reloading, and holding it at your side. None of them display. All of them display fine in Studio, in Play and Server. However, when I join the game, they don't play. Everything else works fine, no errors are displayed, but the animations do not play.

I'd like some help, please

It's a long script so I'll shorten it to the part that makes the animation.

tool.Equipped:connect(function(mouse)
	--Tool equipped
	toolEquipped = true
	mouse.Icon = "http://www.roblox.com/asset?id=" .. mouseIcon
	local character = player.Character
	local Humanoid = character.Humanoid
	animTrack = character.Humanoid:LoadAnimation(holdGun)
	animTrack:Play()

	--more goes on blah blah yes i end the function properly

Yes, the animation priority is set to movement, and it loops. I do not believe it was a problem with the creation of the animation, as it worked fine on Studio Play and Studio Server.

1 comment

0

So, the problem's fixed. Didn't like that I was uploading to a group place for some unknown reason. Odd.