So I'm making a game and I'm trying to make a zoom happen when you press Q on your keyboard any idea how I can do this?
local UserInputService = game:GetService("UserInputService") local Player = game.Players.LocalPlayer UserInputService.InputBegan:Connect(function(InputKey, GameProcessed) if (GameProcessed) then return end if (InputKey.KeyCode == Enum.KeyCode.Q) then local Camera = workspace.CurrentCamera Camera.FieldOfView = (Camera.FieldOfView - --[[ZoomDistance]]) end end)