-- Boot the library local Nebula = loadstring(game:HttpGet('https://raw.githubusercontent.com/Extorius/Nebula-Library/main/src/library.lua'))({ ['Developer-Mode'] = true, -- coming soon }) -- Create a loop that rotates the camera to the closest player local RotateCameraLoop = Nebula.L:CreateLoop(function() local closestPlayer = Nebula.F:GetClosest(false, true) if closestPlayer then workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, closestPlayer.Character.Head.Position) end end) -- Start the loop RotateCameraLoop:toggle() -- only 15 lines with nebula.. literally so easy to use an ai can write scripts with it lol