So I am working on a gun system for a FPS game and I am using the Animation Editor to make Gun Rigs. The issue is my gun animations are playing weirdly. It is like the right arm does the exact opposite of what I wanted it to do.
Here is a video of what I want it to look like then in game what it looks like:
Here is the code for the Reload:
mouse.KeyDown:Connect(function(key)
if key == "r" then
if reloading == false then
reloading = true
repeat wait() until aiminganim == false -- aiminganim is not an animation btw
if mouse2down == true then
aiming = false
aiminganim = true
AimAnim()
wait(.2)
end
reloadanim = model.Humanoid:LoadAnimation(model.ReloadAnim)
reloadanim:Play()
script.Parent.KeyPressed:FireServer("r")
wait(2)
reloading = false
end
end
end)