Weird Glitchy Animations

I’m building a musket weapon system that operates without using ROBLOX’s Tool Instance. I am instead using a Model, parenting it to the Player’s character, and welding it to the torso. All movement of the musket is done through animations, such as equipping it from the shoulder and going through a manual of arms (different postures with the musket).

However, I’ve noticed that whenever the animations are played for the first time, they appear buggy/glitchy. When the animations are played again, this issue resolves. How can I fix it from happening in the first place?

Video of the Issue (Medal.tv)

Your animations not being preloaded for the first time might be an issue, see if this works


local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")


local anim = Instance.new("Animation")
anim.Parent = character
anim.AnimationId = "rbxassetid://123" 

local animationThing = humanoid:LoadAnimation(anim)


animThing:Play()



1 Like