So I have this gun that im trying to get to aim down in 3rd person. And I have tried cframe, and am now testing shoulder cameras. But nothing is working. I also seem to have an issue with the way I do the cameras. I have the Character look at camera script edited to stop once a certain tool was pulled out, and then activate a part that makes the player follow the mouse with that tool. And so I run into a few problems here, any help? Heres part of the script im trying.
function inputEnded2(input2)
if input2.UserInputType == InputType.MouseButton2 then
Camera.CameraType = Enum.CameraType.Custom
end
end
function inputBegan2(input2)
if input2.UserInputType == InputType.MouseButton2 then
Camera.CameraType = Enum.CameraType.Scriptable
local c = workspace.CurrentCamera
end
end