Why does the gun appear differently ingame

I want to animate a gun but
in animation editor the animation plays as it should and gun is the way it should but
in game the gun position and orientation gets messed up
Heres what it looks in the animator editor

and heres what it looks in game

I have tried to edit the tool grip but i dont get a preview so i cant edit it right and i
searched for solutions but all i found was about tutorials

Where’s the code of you playing the animation?

It is in a server script cause i am not sure if playing it locally would make it visible to others

If you have an extra 15 Robux you could try and get CloneTrooper’s tool grip editor plugin which will help A LOT with grips. Even if it doesn’t solve this problem is is a very useful tool.

Yeah i am using CloneTrooper’s tool grip editor

1 Like

You shouldn’t be playing animations through a server script.
I don’t think toolgrip is the problem here.

will it still be visible to other players if its played locally?

Yes. (30 charssssssssssssssss)

It should be in a Local Script, and should look like something like this:

local Character = game.Players.LocalPlayer.Character 
local Humanoid = Character:WaitForChild("Humanoid")
local Animation = Instance.new("Animation")
Animation.AnimationId = "http://www.roblox.com/asset/?id=507771019"
local AnimationTrack = Humanoid:LoadAnimation(Animation)

Should an idle animation’s priority be idle or action