Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------- [Quick Settings] ------------------------------------------
- -- note: changing this values can make this script unstable
- Movment = false -- Enables or disables player movment (by default in false to avoid bugs)
- Noclip = true -- Not toggable
- Invisible = false -- Not aviable in this version
- bank_cooldown = 3000
- cratedrop_cooldown = 2000
- nightclub_cooldown = 6000
- casino_cooldown = 4000
- cant_rob = "Can't rob the %s because %s"
- -------------------------------------------------------------------------------------------------
- local busy = false
- local busy_with = "busy_with"
- local thing = "thing"
- local robbingBank = false
- local robbingNightclub = false
- local robbingCasino = false
- local robbingJewerly = false
- function noclip()
- game:GetService("RunService").Stepped:connect(function()
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
- end)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Changed:connect(function()
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
- end)
- end
- function movment()
- if Movment == false then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- warn("Movment disabled")
- else
- --girlfriend:Kiss()
- end
- end
- local robCashRegister = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "CashRegister" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing cash registers"
- wait(1.5)
- local pos = v.SmashCash.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.5)
- if v.SmashCash.SmashCash.Event then
- v.SmashCash.SmashCash.Event:FireServer()
- else
- busy = false
- end
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "cash registers", busy_with))
- end
- end)
- end
- end)
- local robDiamondBox = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "DiamondBox" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing diamond boxes"
- wait(1.5)
- local pos = v.SmashCash.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.SmashCash.SmashCash.Event:FireServer()
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "diamond boxes", busy_with))
- end
- end)
- end
- end)
- local robSafe = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "Safe" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing safes"
- wait(5)
- local pos = v.SmashCash.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.SmashCash.SmashCash.Event:FireServer()
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "safes", busy_with))
- end
- end)
- end
- end)
- local robTipJar = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "TipJar" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name == "SmashCash" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing tip jars"
- local pos = v.SmashCash.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.SmashCash.SmashCash.Event:FireServer()
- wait(2)
- if part.Name == "SmashCash" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "tip jars", busy_with))
- end
- end)
- end
- end)
- local robCash = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "Cash" then
- local part = v:FindFirstChildOfClass("MeshPart")
- if part.Name == "Cash" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing cash"
- local pos = v.Cash.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.Cash.Cash.Event:FireServer()
- wait(2)
- if part.Name == "Cash" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "cash", busy_with))
- end
- end)
- end
- end)
- local robTv = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "TV" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing TVs"
- wait(3)
- local pos = v.StealTV.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.StealTV.StealTV.Event:FireServer()
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "TVs", busy_with))
- end
- end)
- end
- end)
- local robDropCrate = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "DropCrate" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing drop crates"
- local pos = v.DropCrate.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.DropCrate.DropCrate.Event:FireServer()
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "drop crates", busy_with))
- end
- end)
- end
- end)
- local robAtm = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "ATM" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing ATMs"
- wait(1.5)
- local pos = v.ATM.Position
- for i = 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.3)
- v.ATM.ATM.Event:FireServer()
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "ATMs", busy_with))
- end
- end)
- end
- end)
- local robSlotmachine = coroutine.create(function()
- while wait(5) do
- pcall(function()
- if busy == false and robbingBank == false and robbingNightclub == false then
- for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
- if v.Name == "SlotMachine" then
- local part = v:FindFirstChildOfClass("Part")
- if part.Name ~= "Nope" and part.name == "SlotMachine" and robbingBank == false and robbingNightclub == false then
- busy = true
- busy_with = "robbing slot machines"
- wait(1.5)
- local pos = v.SlotMachine.Position
- for i = 1, 1,10 do
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(0.5)
- if v.SlotMachine.SlotMachine then
- v.SlotMachine.SlotMachine.Event:FireServer()
- else
- busy = false
- end
- wait(2)
- if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
- else
- busy = false
- end
- end
- end
- end
- else
- print(string.format(cant_rob, "slot machines", busy_with))
- end
- end)
- end
- end)
- local robBank = coroutine.create(function()
- while wait(1) do
- pcall(function()
- if game.ReplicatedStorage.HeistStatus.Bank.Locked.Value == false and robbingNightclub == false then
- robbingBank = true
- busy = true
- busy_with = "robbing bank"
- warn("All robs have been paused to rob the bank")
- wait(5)
- --[[for i, v in pairs (workspace.ObjectSelection:GetChildren()) do
- if v.Name == "HackComputer" then
- for i = 1,10 do
- wait(1.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(636.778, 27.5895, 529.505)
- v.HackComputer.HackComputer.Event:FireServer()
- end
- v.HackComputer.HackComputer.Event:FireServer()
- wait(1)
- v.HackComputer.HackComputer.Event:FireServer()
- wait(1.5)
- return
- end
- wait(3)
- break
- end]]
- for i = 1,10 do
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(739,0,488)
- end
- wait(.5)
- local pos = workspace.Bank.MoneyBags["Money Bag"].Position
- for i = 1,10 do
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
- end
- wait(25)
- for i = 1,10 do
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
- end
- robbingBank = false
- busy = false
- wait(bank_cooldown)
- else
- warn(string.format(cant_rob, "bank", "it's closed"))
- end
- end)
- end
- end)
- local robNightclub = coroutine.create(function()
- while wait(1) do
- pcall(function()
- if game.ReplicatedStorage.HeistStatus.Club.Locked.Value == false then
- robbingNightclub = true
- busy = true
- busy_with = "robbing night club"
- wait(5)
- warn("All robs have been paused to rob the night club")
- for i = 1,10 do
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1363,43,-151)
- end
- wait(3)
- for i = 1,10 do
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1349,142,-100)
- end
- wait(0.3)
- workspace.ObjectSelection.HackKeyPad.HackKeyPad.HackKeyPad.Event:FireServer()
- wait(3)
- for i = 1,10 do
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1361,142,-155)
- end
- wait(35)
- for i = 1,10 do
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
- end
- robbingNightclub = false
- busy = false
- wait(nightclub_cooldown)
- else
- warn(string.format(cant_rob, "night club", "it's closed"))
- end
- end)
- end
- end)
- local robCasino = coroutine.create(function()
- while wait(1) do
- pcall(function()
- if game.ReplicatedStorage.HeistStatus.Casino.Locked.Value == false then
- robbingCasino = true
- busy = true
- busy_with = "robbing casino"
- --[[for i, v in pairs (workspace.ObjectSelection:GetChildren()) do
- if v.Name == "HackComputer" then
- for i = 1,10 do
- wait(1.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(636.778, 27.5895, 529.505)
- v.HackComputer.HackComputer.Event:FireServer()
- end
- v.HackComputer.HackComputer.Event:FireServer()
- wait(1)
- v.HackComputer.HackComputer.Event:FireServer()
- wait(1.5)
- return
- end
- wait(15)
- break
- end]]
- warn("All robs have been paused to rob the casino")
- wait(5)
- for i = 1,10 do
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1646,142,-155)
- end
- wait(35)
- for i = 1,10 do
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
- end
- robbingCasino = false
- busy = false
- wait(casino_cooldown)
- else
- warn(string.format(cant_rob, "casino", "it's closed"))
- end
- end)
- end
- end)
- noclip()
- movment()
- wait(0.5)
- coroutine.resume(robNightclub)
- wait(1)
- coroutine.resume(robBank)
- coroutine.resume(robCashRegister)
- coroutine.resume(robDiamondBox)
- coroutine.resume(robSafe)
- coroutine.resume(robTipJar)
- coroutine.resume(robCash)
- coroutine.resume(robTv)
- --coroutine.resume(robDropCrate)
- coroutine.resume(robAtm)
- coroutine.resume(robSlotmachine)
- while wait(10) do
- movment()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement