I am currently making a targeting pod for a plane im working on, I have all the targeting stuff done and now I’ve come to the realization I need to implement the actual camera section
local uis = game:GetService(“UserInputService”)
local camera = workspace.CurrentCamera
local part = script.Parent
uis.InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.ModifierKey.Ctrl then
repeat wait()
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
camera.CFrame = part.CFrame
end
end)
this is the current code I have for the camera section