This commit is contained in:
heyshawtyy committed 2026-11-09 22:37:44 +05:00
1 parent fd5e92d0f5
commit 9f898c04dd
415 files changed
+6241617 -633464

No files matched your search

+12 -2
View File
@@ -5,19 +5,29 @@ const fs = require('fs'), path = require('path'), os = require('os'), { execFile
const [prefix, ...views] = process.argv.slice(2);
const cam = (eye, target, fov) => `local RunService = game:GetService("RunService")
local eye, target = Vector3.new(${eye}), Vector3.new(${target})
-- персонаж — у точки съёмки (иначе стриминг не прогрузит место), но невидимый
local me = game.Players.LocalPlayer.Character
pcall(function() RunService:UnbindFromRenderStep("ToolShot") end)
RunService:BindToRenderStep("ToolShot", Enum.RenderPriority.Last.Value, function()
for _, p in ipairs(me:GetDescendants()) do
if p:IsA("BasePart") or p:IsA("Decal") then p.LocalTransparencyModifier = 1 end
end
workspace.CurrentCamera.CFrame = CFrame.lookAt(eye, target)
workspace.CurrentCamera.FieldOfView = ${fov || 60}
end)
return "cam"`;
const steps = [
{ tool: 'start_stop_play', args: { is_start: true }, waitAfter: 20000 },
{ tool: 'execute_luau', args: { datamodel_type: 'Server', code: 'local c = game.Players:GetPlayers()[1].Character c:PivotTo(CFrame.new(0, 3, 2000)) c.HumanoidRootPart.Anchored = true return 1' }, waitAfter: 1500 },
{ tool: 'execute_luau', args: { datamodel_type: 'Server', code: 'local p = game.Players:GetPlayers()[1] p:SetAttribute("Tutorial", 4) local c = p.Character c:PivotTo(CFrame.new(0, 3, 2000)) c.HumanoidRootPart.Anchored = true return 1' }, waitAfter: 1500 },
];
for (const v of views) {
const [eye, target, fov] = v.split('|');
steps.push({ tool: 'execute_luau', args: { datamodel_type: 'Client', code: cam(eye, target, fov) }, waitAfter: 3000 });
steps.push({ tool: 'execute_luau', args: { datamodel_type: 'Server', code: `local p = game.Players:GetPlayers()[1]
local t = Vector3.new(${target})
p.Character:PivotTo(CFrame.new(t.X, math.max(t.Y, 3), t.Z))
pcall(function() p:RequestStreamAroundAsync(t, 10) end)
return 1` } });
steps.push({ tool: 'execute_luau', args: { datamodel_type: 'Client', code: cam(eye, target, fov) }, waitAfter: 3500 });
steps.push({ tool: 'screen_capture', args: { capture_id: 'Shot' } });
}
steps.push({ tool: 'get_console_output' }, { tool: 'start_stop_play', args: { is_start: false } });