-
What is the issue? i really dont how to make a part inside the model move the entire model at the camera
-
What solutions have you tried so far? looked multiple forums, tried old scripts and ried Youtube tutorials
this is how my viewmodel is made, the "AimPart" is the part i want to move
Script
runService.RenderStepped:Connect(function()
--Shooting
if inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and tool.Parent == char then
shoot()
end
if inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
--AIM
else
viewmodel:PivotTo(camera.CFrame)
end
end)
thank you!