Professional Documents
Culture Documents
Cash Grab Sim AFK Farm
Cash Grab Sim AFK Farm
uis.InputBegan:connect(function(data,gpe)
if not gpe and data.UserInputType == Enum.UserInputType.Keyboard then
local press = data.KeyCode.Name:lower();
if key == press then
enabled = not enabled;
print('bot is now',enabled and 'enabled' or 'disabled');
end
end
end)
coroutine.resume(coroutine.create(function()
while wait(1/15) do
if enabled then
if backpackIsFull(tonumber(hasMax(true))/10) then
local cf = plr.Character.HumanoidRootPart.CFrame;
plr.Character.HumanoidRootPart.CFrame = dep.CFrame;
wait(1/20)
plr.Character.HumanoidRootPart.CFrame = cf;
end
end
end
end))
while wait() do
if enabled then
if not hasMax() then
for i,v in ipairs(workspace.customers:children()) do
if v:FindFirstChild('properties') and
v.properties:FindFirstChild('owner') and not v.properties.owner.Value and not
hasMax() and (plr.Character.HumanoidRootPart.CFrame.p-
v.HumanoidRootPart.CFrame.p).magnitude < 100 then
rem:FireServer(v);
wait(.5);
end
end
end
end
end