The question I have had for so long, and the question that has never been answered.
How do I create a realistic gun scope system?
I do not want to use viewports. (or viewmodels)
My System
My gun system does not consist of viewports, it uses a first person camera. It is in R6, here is the link to the game another gun systm - Roblox
The system already has an FOV decrease when scoping, here is the code:
Mouse.Button2Down:Connect(function()
if GloballyEnabled == false then
return
end
HoldingMB2 = true
if HoldingShift == true then
return
end
Humanoid.Parent.WSD.Value = WSD/1.5
Humanoid.Parent.CameraBobbing.Disabled = true
local t = game.TweenService:Create(Camera,TweenInfo.new(.5),{FieldOfView = ScopeFOV})
t:Play()
t.Completed:Connect(function()
t:Destroy()
end)
end)
WSD is the Walk speed subtraction, in which gets lower when aiming since it focuses your camera.