-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6b07c826398b70850344818e"))() end) end) --[[rscripts:analytics:end]] local Players = game:GetService("Players") local VirtualInputManager = nil pcall(function() VirtualInputManager = game:GetService("VirtualInputManager") end) local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local folderRongsok = workspace:WaitForChild("Rongsok") local penjualPul = workspace:WaitForChild("Markas_Daerah1") :WaitForChild("Isi") :WaitForChild("LapakPul") :WaitForChild("Penjual_Pul") local labelKarung = playerGui:WaitForChild("UangHud") :WaitForChild("Frame") :WaitForChild("ChipKarung") :WaitForChild("TextLabel") getgenv().AutoFarmRongsok = true local function resetToastKarungPenuh() local toast = playerGui:FindFirstChild("RongsokToast") if not toast then return end for _, d in ipairs(toast:GetDescendants()) do if d:IsA("TextLabel") and string.find(string.upper(d.Text), "KARUNG PENUH") then d.Visible = false d.Text = "" end end end local function cekStatusKarung() if not labelKarung or not labelKarung.Parent then return nil, nil end local curStr, maxStr = string.match(tostring(labelKarung.Text), "(%d+)%s*/%s*(%d+)") local cur = tonumber(curStr) local maxCap = tonumber(maxStr) return cur, maxCap end local function isKarungPenuh() local cur, maxCap = cekStatusKarung() if cur and maxCap and maxCap > 0 then return cur >= maxCap end return false end local function isTokoUIOpen() local tokoUI = playerGui:FindFirstChild("TokoUI") if not tokoUI then return false end if tokoUI:IsA("ScreenGui") and not tokoUI.Enabled then return false end local img = tokoUI:FindFirstChild("ImageLabel") return img and img:IsA("GuiObject") and img.Visible or false end local function tutupTokoUI() local tokoUI = playerGui:FindFirstChild("TokoUI") if not tokoUI then return end local img = tokoUI:FindFirstChild("ImageLabel") local closeBtn = img and img:FindFirstChild("ImageButton") if closeBtn and closeBtn:IsA("GuiButton") and closeBtn.Visible and closeBtn.Active then pcall(function() if firesignal then firesignal(closeBtn.MouseButton1Click) firesignal(closeBtn.Activated) end if closeBtn.Activate then closeBtn:Activate() end end) end end local function getTargetPart(obj) if not obj then return nil end if obj:IsA("BasePart") then return obj elseif obj:IsA("Attachment") then return obj.Parent and obj.Parent:IsA("BasePart") and obj.Parent or nil elseif obj:IsA("Model") then return obj.PrimaryPart or obj:FindFirstChildWhichIsA("BasePart", true) end return obj:FindFirstChildWhichIsA("BasePart", true) end local function triggerPrompt(prompt) if not prompt or not prompt:IsA("ProximityPrompt") or not prompt.Enabled then return false end prompt.HoldDuration = 0 prompt.RequiresLineOfSight = false local ok = pcall(function() if fireproximityprompt then fireproximityprompt(prompt) else prompt:InputHoldBegin() task.wait(0.08) prompt:InputHoldEnd() end end) return ok end local function klikTombol(btn) if not btn or not btn:IsA("GuiButton") then return false end if not btn.Visible or not btn.Active then return false end if btn.AbsoluteSize.X <= 0 or btn.AbsoluteSize.Y <= 0 then return false end local fired = false pcall(function() if firesignal then firesignal(btn.MouseButton1Down) firesignal(btn.MouseButton1Click) firesignal(btn.Activated) fired = true end end) pcall(function() if btn.Activate then btn:Activate() fired = true end end) if not fired and VirtualInputManager then pcall(function() local cx = btn.AbsolutePosition.X + (btn.AbsoluteSize.X * 0.5) local cy = btn.AbsolutePosition.Y + (btn.AbsoluteSize.Y * 0.5) VirtualInputManager:SendMouseButtonEvent(cx, cy, 0, true, game, 1) task.wait(0.08) VirtualInputManager:SendMouseButtonEvent(cx, cy, 0, false, game, 1) fired = true end) end return fired end local function temukanTombolSetor() local tokoUI = playerGui:FindFirstChild("TokoUI") if not tokoUI then return nil end local labelSetor = tokoUI:FindFirstChild("ImageLabel") and tokoUI.ImageLabel:FindFirstChild("Frame") and tokoUI.ImageLabel.Frame:FindFirstChild("ImageLabel") and tokoUI.ImageLabel.Frame.ImageLabel:FindFirstChild("TextLabel") if labelSetor and labelSetor:IsA("TextLabel") and labelSetor.Visible then local curr = labelSetor.Parent for _ = 1, 4 do if not curr then break end if curr:IsA("GuiButton") then return curr end local btnInside = curr:FindFirstChildWhichIsA("GuiButton", true) if btnInside then return btnInside end curr = curr.Parent end end for _, d in ipairs(tokoUI:GetDescendants()) do if d:IsA("GuiButton") and d.Visible then local lbl = d:FindFirstChildWhichIsA("TextLabel", true) if lbl and string.find(string.lower(lbl.Text), "setor") then return d end end end return nil end local function klikSetorRongsok() local btn = temukanTombolSetor() if not btn then return false end return klikTombol(btn) end local function teleportJualKePul(hrp) local hrpPul = penjualPul:FindFirstChild("HumanoidRootPart") or getTargetPart(penjualPul) if not hrpPul or not hrp or not hrp.Parent then warn("HumanoidRootPart Penjual_Pul atau karakter tidak valid!") return end for _ = 1, 3 do local curBefore = cekStatusKarung() if curBefore ~= nil and curBefore <= 0 then break end hrp.CFrame = hrpPul.CFrame + (hrpPul.CFrame.LookVector * 3) + Vector3.new(0, 1.5, 0) task.wait(0.45) local promptPul = hrpPul:FindFirstChildWhichIsA("ProximityPrompt") or penjualPul:FindFirstChildWhichIsA("ProximityPrompt", true) if promptPul then triggerPrompt(promptPul) end local terbuka = false for _ = 1, 10 do if isTokoUIOpen() then terbuka = true break end task.wait(0.25) end if terbuka then task.wait(0.45) for _ = 1, 5 do local curCheck = cekStatusKarung() if curCheck ~= nil and curCheck <= 0 then break end klikSetorRongsok() task.wait(0.55) local curAfter = cekStatusKarung() if curAfter ~= nil and curAfter <= 0 then break end end task.wait(0.4) tutupTokoUI() task.wait(0.4) end local curFinal = cekStatusKarung() if curFinal ~= nil and curFinal <= 0 then break end task.wait(0.35) end resetToastKarungPenuh() end resetToastKarungPenuh() task.spawn(function() while getgenv().AutoFarmRongsok do local char = player.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local hum = char and char:FindFirstChildOfClass("Humanoid") if hrp and hum and hum.Health > 0 then if isKarungPenuh() then teleportJualKePul(hrp) end for _, desc in ipairs(folderRongsok:GetDescendants()) do if not getgenv().AutoFarmRongsok then break end if not hrp.Parent or hum.Health <= 0 then break end if isKarungPenuh() then break end if desc:IsA("ProximityPrompt") and desc.Enabled then local partRongsok = getTargetPart(desc.Parent) if partRongsok and partRongsok:IsA("BasePart") then hrp.CFrame = partRongsok.CFrame + Vector3.new(0, 3, 0) task.wait(0.12) triggerPrompt(desc) task.wait(0.12) if isKarungPenuh() then teleportJualKePul(hrp) break end end end end end task.wait(0.25) end end)