Вы находитесь на странице: 1из 3

--[[ Credits:

Unlisting: Vector3 tp values from his released script..


Lau: Helping me find bugs.
Terrikane: Screaming at me in a discord call (moral support on point).
Cronnie: Released a TP bypass, made it much easier to make this script.
How to use:
Execute
Press K
Open Dev Console
--]]

local keyToStopAndStart = "K" --Key to toggle the script.


local antiAfk = false --AntiAfk? (not sure if working)
local hexusPrintConsole = false --Print important messages to hexus console?

local wspace, plrs = game:GetService("Workspace"), game:GetService("Players")


repeat wait() until plrs.LocalPlayer and plrs.LocalPlayer.Character
local plr, char = plrs.LocalPlayer, plrs.LocalPlayer.Character
local mouse = plr:GetMouse()

local toggled = false


local timesRobbed = 0

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 = ghetto bug fixing XD

repeat wait() until plrs.LocalPlayer and


plrs.LocalPlayer.Character
plr, char = plrs.LocalPlayer, plrs.LocalPlayer.Character

if not toggled then return end


Output("1/3 | STARTING ROBBERY.")
TeleportToLocation(Vector3.new(19.44, 18.17, 829.57))
if not toggled then return end
TeleportToLocation(Vector3.new(22.94, 18.17, 842.12))

--[[
if not toggled then return end
Output("2/4 | EXPLODING VAULT.")
TeleportToLocation(Vector3.new(27, 0.79, 815.97))
wait(2)
--]]

local oldMoney = plr.leaderstats.Money.Value

if not toggled then return end


Output("2/3 | COLLECTING MONEY.")
TeleportToLocation(Vector3.new(17.87, 0.77, 816.4))
--wait(45) --planning to check when your bag is full instead of a
manual wait() in a later update --> done.

wait(5)
repeat wait(.25)
local maxMoneyRaw =
plr.PlayerGui.MainGui.CollectMoney.Maximum.Text
local curMoneyRaw =
plr.PlayerGui.MainGui.CollectMoney.Money.Text

local maxMoney = string.sub(maxMoneyRaw, 4)


local curMoney = string.sub(curMoneyRaw, 2)

print("Money stolen: $"..curMoney.."/$"..maxMoney)


if not bankObj.Extra:FindFirstChild("Light").Material ==
Enum.Material.Neon then curMoney, maxMoney = 0, 0 end --ghetto bug fixing.
until curMoney == maxMoney or not toggled

if not toggled then return end


Output("3/3 | RUNNING AWAY LIKE A LITTLE #####.")
TeleportToLocation(Vector3.new(1580.5,49.79,-1756.33) +
Vector3.new(0,2.5,0))
timesRobbed = timesRobbed + 1
local newMoney = plr.leaderstats.Money.Value

if not toggled then return end


Output("Bank robbed: "..timesRobbed.." time(s)")
Output("Approx money received: $"..(newMoney - oldMoney))
for i = 1, 60 do
if not toggled then return end
wait(1)
print("Waiting: "..i.."/60".." seconds.")
end

elseif toggled then


print("BANK IS CLOSED, BANK ROBBED: "..timesRobbed.." time(s) |
Current money: $"..plr.leaderstats.Money.Value)
end
until not toggled
end

Вам также может понравиться