How to make a custom camera

how do i code a custom camera that works exactly as roblox’s default camera