local LP = game:GetService("Players").LocalPlayer local RS = game:GetService("ReplicatedStorage") local function waitChar() local t0 = os.clock() while os.clock() - t0 < 20 do local c = LP.Character local h = c and c:FindFirstChildOfClass("Humanoid") local hrp = c and c:FindFirstChild("HumanoidRootPart") if h and hrp and h.Health > 0 then return c, hrp, h end task.wait(0.3) end end local char, hrp, hum = waitChar() if not char then print("no char") return end local Cash = workspace.BankItems:FindFirstChild("Cash") local Grab, Part, Snd for _, M in ipairs(Cash:GetChildren()) do if M:IsA("Model") then Snd = M:FindFirstChild("takeItem") for _, D in ipairs(M:GetDescendants()) do if D:IsA("ProximityPrompt") then Grab = D Part = D.Parent:IsA("BasePart") and D.Parent or D.Parent:FindFirstChildWhichIsA("BasePart") break end end if Grab then break end end end print("grab:", Grab:GetFullName(), "sound:", Snd and Snd:GetFullName() or "none") if Snd then Snd.Played:Connect(function() print(" !! takeItem sound PLAYED") end) Snd:GetPropertyChangedSignal("Playing"):Connect(function() print(" !! sound Playing ->", Snd.Playing) end) end local added = {} workspace.DescendantAdded:Connect(function(D) print(" workspace+ " .. D.ClassName .. " " .. D.Name) end) LP.Backpack.ChildAdded:Connect(function(D) print(" backpack+ " .. D.ClassName .. " " .. D.Name) end) LP.Character.ChildAdded:Connect(function(D) print(" char+ " .. D.ClassName .. " " .. D.Name) end) local t0 = os.clock() while LP:GetAttribute("LastACPos") and os.clock() - t0 < 1.5 do task.wait() end hrp.CFrame = Part.CFrame + Vector3.new(0, 3, 0) task.wait(0.8) print("dist:", (hrp.Position - Part.Position).Magnitude) print("firing grab...") pcall(fireproximityprompt, Grab) task.wait(1.5) print("bag:", (function() local B = LP.Character:FindFirstChild("DuffelBag") or LP.Backpack:FindFirstChild("DuffelBag") if not B then return "no bag" end local t = {} for _, D in ipairs(B:GetDescendants()) do if D:IsA("ValueBase") and (D.Name == "gold" or D.Name == "items") then t[#t+1] = D.Name.."="..tostring(D.Value) end end return table.concat(t, " ") end)()) print("money:", LP.stored.Money.Value, "bank:", LP.stored.Bank.Value, "filthy:", LP.stored.FilthyStack.Value)