I made a gun script, and when I right click to aim, it works fine, but it wont let me move my camera while im aiming.
Problem: https://imgur.com/gallery/7MR5HR4
Script
local Gun = script.Parent.Parent.MusketTest local AimPart = script.Parent.AimPart local Main = script.Parent.Main local Cam = game.Workspace.Camera local Hum = game.Players:FindFirstChild("HumanoidRootPart") Gun.Equipped:Connect(function(mouse) mouse.Button2Down:Connect(function() Cam.CameraSubject = Gun.AimPart Cam.CFrame = Gun.AimPart.CFrame * CFrame.Angles(0, 0, 0) end) end)
Thank you for youre feedback!