Broken Animations in Player but not in Studio

I have this gun system in my game that I’ve heavily modified over a year (from the toolbox) and I have managed to make everything work except the running animation. It works exactly as I intended in Studio but is broken when you play the game. I have got a sprint and crouch system which is separate from the gun system which is probably the cause but I don’t see how they could interfere?

Does anyone know why this is happening? Here’s a video comparing them

Deleting the whole sprint function in the gun system works but it doesn’t look right when the player moves faster and the gun stays the same.

The guns used are WB from the toolbox (M16 and Glock 19)

You can play the game here if you want a first hand experience: Sub-Zero Compound Delta [WIP] - Roblox

Here’s what I compiled after some thought. Before everything though, check the dev console with F9 to see if they’re any errors.
Maybe it’s the latency that’s causing this due to your network? Or maybe because studio and player have ever-changing versions so animations load differently on them?

You could also check the animation priority and the animation ids

1 Like

Thanks for the reply, I have already checked the console but there’s so many warnings that I don’t even understand. But I’ll try to optimise some things later to see if that fixes it - thanks for the reply!

do you have an fps unlocker on in the roblox player? it looks like your viewmodel animations are using run service which uses your fps

1 Like

You are using RunService and when I change my FPS, it allows me to make the animations go faster.

1 Like

Thanks for all the replies I do appreciate it, do you know if there’s any fix? I’m no scripter so if the solution is like rewriting scripts I’ll just remove the sprint animation like I did before

yeah the fix is going to need some scripting, if you want you can post the code on the forum and see if someone might help you, if not then you might want to hire soemone to do it. it isnt too hard though

1 Like

Oh ok thanks, I can post the script later when I’m on my PC though the gun system has like 6 separate scripts all modules so I might just have to send the whole gun

1 Like

Here’s a the file of both guns if anyone wants to give it a go

gunss.rbxm (104.2 KB)