Cameras Script
Key RequiredUniversal

Cameras Script

Universal ScriptScriptsMakerScriptsMaker 1.2K views 263 executesUpdated Jun 29, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•95 lines (3127 chars)
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")

local player = Players.LocalPlayer
local camera = Workspace.CurrentCamera
local playerGui = player:WaitForChild("PlayerGui")

-- Настройки стиля
local BG_COLOR = Color3.fromRGB(25, 25, 25)
local ACCENT_COLOR = Color3.fromRGB(50, 50, 50)
local VIEW_COLOR = Color3.fromRGB(80, 50, 50)
local TEXT_COLOR = Color3.new(1, 1, 1)

-- Создание GUI
local screenGui = Instance.new("ScreenGui", playerGui)
screenGui.Name = "CameraSystemGUI"

local mainFrame = Instance.new("Frame", screenGui)
mainFrame.Size = UDim2.new(0, 200, 0, 300)
mainFrame.Position = UDim2.new(0.02, 0, 0.3, 0)
mainFrame.BackgroundColor3 = BG_COLOR
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true

local corner = Instance.new("UICorner", mainFrame)
corner.CornerRadius = UDim.new(0, 10)

-- Заголовок
local title = Instance.new("TextLabel", mainFrame)
title.Text = "Camera System"
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundTransparency = 1
title.TextColor3 = TEXT_COLOR
title.Font = Enum.Font.GothamBold
title.TextSize = 18

-- Кнопка создания
local addBtn = Instance.new("TextButton", mainFrame)
addBtn.Text = "+ Create Camera"
addBtn.Size = UDim2.new(0.9, 0, 0, 35)
addBtn.Position = UDim2.new(0.05, 0, 0, 50)
addBtn.BackgroundColor3 = ACCENT_COLOR
addBtn.TextColor3 = TEXT_COLOR
-- ИЗМЕНЕНИЯ ТУТ: Шрифт жирный, размер больше
addBtn.Font = Enum.Font.GothamBold
addBtn.TextSize = 16 
Instance.new("UICorner", addBtn).CornerRadius = UDim.new(0, 8)

-- Скролл-список
local scrollFrame = Instance.new("ScrollingFrame", mainFrame)
scrollFrame.Size = UDim2.new(0.9, 0, 0.7, -60)
scrollFrame.Position = UDim2.new(0.05, 0, 0, 95)
scrollFrame.BackgroundTransparency = 1
scrollFrame.ScrollBarThickness = 4

local listLayout = Instance.new("UIListLayout", scrollFrame)
listLayout.Padding = UDim.new(0, 5)

-- Логика
local isViewing = false
local cameraCount = 0

addBtn.MouseButton1Click:Connect(function()
    cameraCount += 1
    local camData = { CFrame = camera.CFrame }
    
    local camBtn = Instance.new("TextButton", scrollFrame)
    camBtn.Text = "Camera " .. cameraCount
    camBtn.Size = UDim2.new(1, 0, 0, 35) -- Чуть выше, чтобы текст поместился
    camBtn.BackgroundColor3 = ACCENT_COLOR
    camBtn.TextColor3 = TEXT_COLOR
    -- ИЗМЕНЕНИЯ ТУТ: Шрифт жирный, размер больше
    camBtn.Font = Enum.Font.GothamBold
    camBtn.TextSize = 16 
    
    Instance.new("UICorner", camBtn).CornerRadius = UDim.new(0, 6)
    
    camBtn.MouseButton1Click:Connect(function()
        if not isViewing then
            camera.CameraType = Enum.CameraType.Scriptable
            camera.CFrame = camData.CFrame
            camBtn.Text = "Stop Viewing"
            camBtn.BackgroundColor3 = VIEW_COLOR
            isViewing = true
        else
            camera.CameraType = Enum.CameraType.Custom
            camBtn.Text = "Camera " .. cameraCount
            camBtn.BackgroundColor3 = ACCENT_COLOR
            isViewing = false
        end
    end)
    
    scrollFrame.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y)
end)

Features & Information

Place your cameras and change between those! no limit for cameras TUT Move your character to the location you want to monitor. Adjust your camera to the desired angle (works in third-person view). Click "+ Create Camera" to save your view. Use the list to toggle between your cameras.
#OP#Universal#Brookhaven

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts