Op Money Dupe
Op Money Dupe
if humanoid then
local clonedHumanoid = humanoid:Clone()
clonedHumanoid.Parent = character
localPlayer.Character = nil
clonedHumanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
clonedHumanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
clonedHumanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false)
humanoid:Destroy()
localPlayer.Character = character
local camera = Workspace.CurrentCamera
camera.CameraSubject = clonedHumanoid
camera.CFrame = camera.CFrame
clonedHumanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
local animate = character:FindFirstChild("Animate")
if animate then
animate.Disabled = true
task.wait(0.07)
animate.Disabled = false
end
clonedHumanoid.Health = clonedHumanoid.MaxHealth
humanoid = clonedHumanoid
humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
end
localPlayer.Idled:Connect(function()
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new())
end)
getgenv().AntiAfkExecuted = true
local AutoFarmUI = Instance.new("ScreenGui")
AutoFarmUI.Name = "AutoFarmUI"
AutoFarmUI.Parent = game.CoreGui
AutoFarmUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
CloseButton.MouseButton1Click:Connect(closeUI)
openUI()
MainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
MainFrame.InputChanged:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch) and dragging then
updateDrag(input)
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
updateDrag(input)
end
end)
task.spawn(function()
while task.wait(0.7) do
local dt = RunService.RenderStepped:Wait()
FPSLabel.Text = "FPS: " .. tostring(math.floor(1 / dt))
end
end)
task.spawn(function()
while task.wait(0.7) do
local perfStats = StatsService:FindFirstChild("PerformanceStats")
if perfStats and perfStats:FindFirstChild("Ping") then
PingLabel.Text = "Ping: " ..
tostring(math.floor(perfStats.Ping:GetValue())) .. "ms"
end
end
end)
task.spawn(function()
while task.wait(1) do
seconds = seconds + 1
if seconds >= 60 then
seconds = 0
minutes = minutes + 1
end
if minutes >= 60 then
minutes = 0
hours = hours + 1
end
TimerLabel.Text = string.format("Time: %02d:%02d:%02d", hours, minutes,
seconds)
end
end)
local cashRegisters = {}
local safes = {}
updateCaches()
Workspace.ChildAdded:Connect(function(child)
if child:IsA("Model") then
if child.Name == "CashRegister" then
table.insert(cashRegisters, child)
elseif child.Name == "Safe" then
table.insert(safes, child)
end
end
end)
Workspace.ChildRemoved:Connect(function(child)
if child:IsA("Model") then
if child.Name == "CashRegister" then
for i = #cashRegisters, 1, -1 do
if cashRegisters[i] == child then
table.remove(cashRegisters, i)
end
end
elseif child.Name == "Safe" then
for i = #safes, 1, -1 do
if safes[i] == child then
table.remove(safes, i)
end
end
end
end
end)
local function checkCashRegister()
if bag.Value >= bagSizeLevel.Value then
moveToTarget()
return false
end
for i = 1, #cashRegisters do
local item = cashRegisters[i]
local openPart = item:FindFirstChild("Open")
if openPart then
humanoidRootPart.CFrame = openPart.CFrame
robEvent:FireServer("Register", {
Part = item:FindFirstChild("Union"),
OpenPart = openPart,
ActiveValue = item:FindFirstChild("Active"),
Active = true
})
return true
end
end
return false
end
RunService.RenderStepped:Connect(function()
if not checkCashRegister() then
checkSafe()
end
end)