Animation works in Roblox Studio but not in game

Hello, I have been trying to make a knife similar to Murder Mystery 2 and it was going pretty well until the animation stopped working. Basically, the animation works completely fine in Roblox Studio but when I am in game it doesn’t work. And the code I wrote needs the animation for the knife to work. It is a throwing animation btw. I tried taking a video but my editing software is terrible and can’t render a video under a minute without a million errors.

Here is what my code looks like:

Local Script:

Server Script:

I doubt the server script will help anyone figure this out but I included it anyway

Also, here is my studio settings if this helps:

1 Like

Sounds like an ownership issue. If the game belongs to you, you must be the owner of the animation, if the game belongs to a group, the group must be the owner of the animation, wrong ownership will lead to the animation not playing

2 Likes

ohhhhh. I didn’t know this. I will try uploading the animation to my group instead since that’s what the game is under