local ReplicatedFirst = game:GetService("ReplicatedFirst")
local TweenService = game:GetService("TweenService")
local Camera = workspace.CurrentCamera
local StarterMenu = script.Parent
-- Pegando a posição inicial da câmera no jogo
local InitialCFrame = Camera.CFrame
local CameraParts = workspace:WaitForChild("CameraParts"):GetChildren()
local CFramePoints = {}
for index, part in ipairs(CameraParts) do
CFramePoints[index] = part.CFrame
end
local function CameraCycle()
Camera.CameraType = Enum.CameraType.Scriptable
while true do
Camera.CFrame = InitialCFrame
for _, cframe in ipairs(CFramePoints) do
local tweeninfo = TweenInfo.new(5)
local tween = TweenService:Create(Camera, tweeninfo, {CFrame = cframe})
tween:Play()
tween.Completed:Wait()
end
task.wait()
end
end
CameraCycle()
** You are now Level 1! **