I want to know how to make a shotgun rig onto a characters right arm using a script but when i do the animation doesnt play correctly, i cannot just use a plugin to rig it because i want it to rig on, play the animation, then remove the shotgun.
heres my code
local shotty = asset.Shotgun:Clone() shotty.Parent = char local motor = Instance.new("Motor") motor.Name = "Joint" shotty.CFrame = char["Right Arm"].CFrame motor.Parent = shotty motor.Part0 = char["Right Arm"] motor.Part1 = shotty motor.CurrentAngle = ye.WorldOrientation local animload = char.Humanoid:LoadAnimation(script.Animation) animload:Play()
someone please answer?