-
What do you want to achieve?
i wanna make an actual aiming for viewmodel -
What is the issue?
its just the aimcf moving not the viewmodel arm,gun and etc
local aiming = false
run.RenderStepped:Connect(function()
mouse.TargetFilter = cam
if vm then
if aiming then
aiming = true
for i = 0,1,.01 do
wait()
vm.aimcf.CFrame = vm.aimcf.CFrame:Lerp(vm.HumanoidRootPart.CFrame, .5)
end
end
end
end)
mouse.Button2Down:Connect(function()
aiming = true
end)
mouse.Button2Up:Connect(function()
aiming = false
end)