Академический Документы
Профессиональный Документы
Культура Документы
mouse.KeyDown:connect(function(Key)
if Key:upper() then
if Key:upper() == keyToStopAndStart:upper() then
toggled = not toggled
if toggled then
Output("Starting.")
Start()
else
Output("Toggling off.")
end
end
end
end)
function Output(str)
if hexusPrintConsole then
printconsole("[INORI] "..str)
else
warn("[INORI] "..str)
end
end
function TeleportToLocation(loc)
for i = 1, 60 do
if toggled and char:FindFirstChild("HumanoidRootPart") then
wait()
char:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(loc)
else
Output("Issue finding RootPart.")
end
end
end
function GetBank(space)
for _, v in pairs(space.Banks:children()) do
if v:IsA("Model") then
return v
end
end
Output("Issue finding Bank.")
toggled = false
end
function Start()
if antiAfk then
local tempCo = coroutine.create(function()
repeat wait(60)
if char:FindFirstChild("Humanoid") then
Output("[-- ANTIAFK --]")
char:FindFirstChild("Humanoid").Jump = true
end
until not toggled
end)
coroutine.resume(tempCo)
end
repeat wait(1)
local bankObj = GetBank(wspace)
local bank = "closed"
if bankObj.Extra:FindFirstChild("Light").Material == Enum.Material.Neon
and toggled then
bank = "open"
print("BANK IS OPEN.")
print("Vector3 values were borrowed from Unlistings vers. of the
autorob script.")
end
if bank == "open" then
--[[
if not toggled then return end
Output("2/4 | EXPLODING VAULT.")
TeleportToLocation(Vector3.new(27, 0.79, 815.97))
wait(2)
--]]
wait(5)
repeat wait(.25)
local maxMoneyRaw =
plr.PlayerGui.MainGui.CollectMoney.Maximum.Text
local curMoneyRaw =
plr.PlayerGui.MainGui.CollectMoney.Money.Text