I was creating a gun, but I really wanted to create an ADS (Aim-Down-Sights). So, I did this in a LocalScript, then wrote:

mouse.Button2Down:Connect(function()
	if equipped == true then
		workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
		workspace.CurrentCamera:Interpolate(script.Parent.Handle.ZoomCam.CFrame,script.Parent.Handle.ZoomCam1.CFrame,0.5)
		for i = 70,60,-2.5 do
			camera.FieldOfView = i
			wait()
		end
	end
end)
mouse.Button2Up:Connect(function()
	if equipped == true then
		workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
		for i = 60,70,2.5 do
			camera.FieldOfView = i
			wait()
		end
	end
end)

However, it does work, but the camera is fixed in one position, while the player is free to move out of the camera. It's supposed to work, by my standards...

I'm not asking for any scripts, but I'm really asking for help and explanations.

Help please..?

4 comments

0

At what mouse click it not fixed in one position? Up or Down?

0

Sorry.. what are you trying to say @123nabilben123?

0

i think i know why you can't turn because right click is how to turn

0

im saying if your in 3rd person you need to hold right click to turn around