I have this gun system for a roleplay game and everything works fine except the animations. For some reason, they look fine on the client, but when looking at them from other players screen, it looks weird. Here is a link to the video:
Here is a snippet of the animation script, in a local script inside the tool:
local Player = game:GetService('Players').LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Humanoid = Character:WaitForChild('Humanoid') local Mouse = Player:GetMouse() local Animations = Tool:WaitForChild('Animations') local Idle = Humanoid:LoadAnimation(Animations.Idle) function LoadAnimations(Typ) if (Typ == 'Load') then if CurrentIdle == 1 then Idle:Play() elseif CurrentIdle == 2 then Idle2:Play() elseif CurrentIdle == 3 then Idle3:Play() end elseif (Typ == 'Unload') then Idle:Stop() Idle2:Stop() Idle3:Stop() Fire:Stop() Fire2:stop() Fire3:Stop() Ease:Stop() end end Tool.Equipped:Connect(function() Equipped = true LoadAnimations('Load') end)
Here is where all the animations are located:
Any help would be greatly appreciated!