--// SERVICES local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer --// GUI local gui = Instance.new("ScreenGui") gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 320, 0, 200) frame.Position = UDim2.new(0.5, -160, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.Active = true frame.Draggable = true frame.Parent = gui local input = Instance.new("TextBox") input.Size = UDim2.new(0.8, 0, 0, 30) input.Position = UDim2.new(0.1, 0, 0.3, 0) input.Text = "1" input.Parent = frame local toggle = Instance.new("TextButton") toggle.Size = UDim2.new(0.8, 0, 0, 30) toggle.Position = UDim2.new(0.1, 0, 0.6, 0) toggle.Text = "Start" toggle.Parent = frame --// STATE local running = false --// CAMERA REMOTE (Compact Camera in Backpack) local function getCameraRemote() local backpack = player:WaitForChild("Backpack") local cameraTool = backpack:WaitForChild("Compact Camera", 5) -- 5 second timeout if not cameraTool then warn("Compact Camera not found in Backpack!") return nil end return cameraTool:WaitForChild("RemoteEvent") end --// SELL REMOTE local sellRemote = ReplicatedStorage:WaitForChild("Events"):WaitForChild("DataEvent") -- Updated arguments you provided local photoArgs = { "GivePhotoTool", { CFrame.new(-322.901611328125, 45.401695251464844, -0.37628138065338135, -0.8775712847709656, -0.0007074501481838524, 0.47944575548171997, -0.0000012002185485471273, 0.999998927116394, 0.0014733498683199286, -0.47944629192352295, 0.001292391330935061, -0.8775703310966492), 1.9832000999999764 } } local calculateArgs = { "CalculateValue", { { -- List of parts (cleaned up - you can add/remove as needed) workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Map"):WaitForChild("Part"), workspace:WaitForChild("Map"):WaitForChild("Part"), workspace:WaitForChild("Map"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Stud"), workspace:WaitForChild("Objects"):WaitForChild("FlowerTree"):WaitForChild("Part"), workspace:WaitForChild("Map"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Stud"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Stud"), workspace:WaitForChild("Objects"):WaitForChild("Sycamore Tree"):WaitForChild("Stud"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part"), workspace:WaitForChild("Objects"):WaitForChild("Pine"):WaitForChild("Part") }, CFrame.new(-322.901611328125, 45.401695251464844, -0.37628138065338135, -0.8775712847709656, -0.0007074501481838524, 0.47944575548171997, -0.0000012002185485471273, 0.999998927116394, 0.0014733498683199286, -0.47944629192352295, 0.001292391330935061, -0.8775703310966492), 1.9832000999999764 } } --// MAIN LOOP local function loop() while running do local delayTime = tonumber(input.Text) or 1 local char = player.Character or player.CharacterAdded:Wait() local camRemote = getCameraRemote() if not camRemote then warn("Camera Remote not found - stopping loop") running = false toggle.Text = "Start" break end -- 1. Give Photo Tool camRemote:FireServer(unpack(photoArgs)) task.wait(delayTime) -- 2. Calculate Value camRemote:FireServer(unpack(calculateArgs)) task.wait(delayTime) -- 3. Sell Inventory sellRemote:FireServer("Sell Inventory") task.wait(delayTime) end end --// BUTTON toggle.MouseButton1Click:Connect(function() running = not running toggle.Text = running and "Stop" or "Start" if running then task.spawn(loop) end end)