Basically, when aiming with a gun in first person and walking, your arms move slightly up due to the 'new' Roblox walking animation, and ends up blocking the gun. So I made it so it uses the old Roblox walking animation, and it fixes the aiming, but my legs occasionally won't move at all. Am I using the wrong old walking animation ID or is this script wrong? I used this to replace the idle animation which worked but am not sure why it won't fix the walking. I only walk normally for about a second then all my limbs freeze and don't move while my character is moving. I just sort of slide.
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) while not player.Character do wait() end local character = player.Character local animateScript = character.Animate animateScript.walk.WalkAnim.AnimationId = 'http://www.roblox.com/asset/?id=161210451' end) end)
This error can either be caused by the animation, or the fact that your gun you use may change the animation. The script isn't wrong, and the animation id is not wrong, but your issue is probably what I said above. I wouldn't be able to answer this question confidentaly since I don't even know what the gun does upon using it.
EDIT: You don't need line 3, because that event fires when the player loads.
I hope this helped!
Sincerely, jmanrock123
Use a local script like this in starterpack
--First we get the player local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:wait() --we must wait for character for this to work online repeat wait() until character local animate = character.Animate -- get the animate animate.walk.WalkAnim.AnimationId = "rbxassetid://Your id numbers here"
this should work perfectly hope I helped :D ~KIHeros