I’ve typed out the system but the thing is that aiming down sights is refusing to work.
when ever the button is clicked the script will fire but the gun will not move at all
here’s the local script
vm.ChildAdded:Connect(function(child)
if weaponModules:FindFirstChild(child.Name) then
rs.RenderStepped:Connect(function(dt)
child.AimPart.CFrame = child.AimPart.CFrame:Lerp(vm.CameraBone.CFrame, game.ReplicatedStorage.Values.AimAlpha.Value)
end)