local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local GunIdleR6 = Tool:WaitForChild("GunIdleR6") local GunIdleR15 = Tool:WaitForChild("GunIdleR15") Tool.Equipped:Connect(function() local Character = Tool.Parent local Humanoid = Character.Humanoid if Humanoid.RigType == Enum.HumanoidRigType.R6 then Humanoid:LoadAnimation(GunIdleR6) else Humanoid:LoadAnimation(GunIdleR15) end end)
local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local GunIdleR6 = Tool:WaitForChild("GunIdleR6") local GunIdleR15 = Tool:WaitForChild("GunIdleR15") Tool.Equipped:Connect(function() local Character = Tool.Parent local Humanoid = Character.Humanoid if Humanoid.RigType == Enum.HumanoidRigType.R6 then local play1 = Humanoid:LoadAnimation(GunIdleR6) play1:Play() else local play2 = Humanoid:LoadAnimation(GunIdleR15) play2:Play() end end)
Should work