Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sign = workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal
- local plrs = game:GetService("Players")
- local lp = plrs.LocalPlayer
- local plr = game:GetService("Players").LocalPlayer
- local char = lp.Character
- local hrp = char.HumanoidRootPart
- local outjewel = CFrame.new(143.35,18,1351)
- local pos = Instance.new("CFrameValue")
- local delay = false
- local cam = workspace.CurrentCamera
- local bankOut = CFrame.new(11.6, 18.7, 794.17)
- local bankIn = CFrame.new(41.8, 18.9, 857.1)
- local vaultDoor = CFrame.new(29, 1.6, 816)
- local inVault = CFrame.new(22.4, 1.6, 806)
- local crimBase = CFrame.new(-222, 18, 1575)
- local moneyMax = plr.PlayerGui.MainGui.CollectMoney.Maximum
- local money = plr.PlayerGui.MainGui.CollectMoney.Money
- local banksign = game:GetService('Workspace').Banks:GetChildren()[1].Extra.Sign.Decal
- local copdetection = true
- local base = CFrame.new(-222,18,1576)
- local box1 = CFrame.new(139,18,1342)
- local box2 = CFrame.new(111,18,1320)*CFrame.Angles(0,math.pi/2,0)
- local box3 = CFrame.new(123.5,18,1320)*CFrame.Angles(0,math.pi/-1,0)
- local box4 = CFrame.new(138,18,1316)*CFrame.Angles(0,math.pi/-2.25,0)
- local box5 = CFrame.new(139,18,1323)*CFrame.Angles(0,math.pi/-2.25,0)
- local box6 = CFrame.new(136.5,18,1308)*CFrame.Angles(0,math.pi/-2.25,0)
- function punch()
- for i = 1,7 do
- keypress(0x46)
- keyrelease(0x46)
- wait(.5)
- end
- end
- function crimBaseTP()
- pos.Value = hrp.CFrame
- hrp.CFrame = hrp.CFrame * CFrame.new(0,19,0)
- wait(.1)
- hrp.CFrame = pos.Value
- for i = 1,40 do
- wait()
- hrp.CFrame = crimBase
- end
- end
- while delay == false and wait(1) do
- --Train Autorob
- if workspace:FindFirstChild("Trains") then
- if workspace.Trains:FindFirstChild("BoxCar") then
- local delay = true
- train = workspace.Trains.BoxCar.Model.Box.Roof
- function trainteleport()
- for i = 1,100 do
- wait()
- hrp.CFrame = train.CFrame * CFrame.new(0,-5,-3)
- keypress(0x45)
- end
- end
- if plr:DistanceFromCharacter(train.Position) > 350 then
- pos = Instance.new("CFrameValue")
- pos.Value = hrp.CFrame
- hrp.CFrame = pos.Value * CFrame.new(0,19,0)
- wait(.2)
- hrp.CFrame = pos.Value
- wait(4.5)
- end
- if char:FindFirstChild("Humanoid") then
- char.Humanoid.Name = "Humanoi"
- end
- weld = Instance.new("Weld",train)
- weld.Part0 = hrp
- weld.Part1 = train
- keyrelease(0x45)
- cam.CameraSubject = train
- trainteleport()
- keyrelease(0x45)
- cam.CameraSubject = workspace.Trains.BoxCar.Model.Rob.Doorframe
- trainteleport()
- keyrelease(0x45)
- cam.CameraSubject = plr.Character.Humanoi
- weld:Destroy()
- while char.Humanoi.Health ~= 0 and wait() do
- hrp.CFrame = workspace.Trains.BoxCar.Model.Rob.Gold.CFrame * CFrame.new(-2,0,-2)
- if plr.PlayerGui.MainGui.CollectMoney.Maximum.Text == "/ $1,500" then
- if plr.PlayerGui.MainGui.CollectMoney.Money.Text == "$1,500" then
- plr.PlayerGui.MainGui.CollectMoney.Money.Text = "$1,OOO"
- hrp.CFrame = hrp.CFrame * CFrame.new(10,0,0)
- break
- end
- else
- if plr.PlayerGui.MainGui.CollectMoney.Money.Text == "$4,000" then
- plr.PlayerGui.MainGui.CollectMoney.Money.Text = "$4,OOO"
- hrp.CFrame = hrp.CFrame * CFrame.new(10,0,0)
- break
- end
- end
- end
- workspace.Trains.BoxCar.Name = "BoxThicc"
- if char:FindFirstChild("Humanoi") then
- char.Humanoi.Name = "Humanoid"
- end
- wait(6)
- local delay = false
- end
- end
- --Jewelry Autorob
- if sign.Transparency ~= 0 then
- local delay = true
- pos.Value = hrp.CFrame
- hrp.CFrame = pos.Value * CFrame.new(0,19,0)
- wait(.2)
- hrp.CFrame = pos.Value
- hrp.CFrame = outjewel
- wait(5)
- hrp.CFrame = box1
- punch()
- hrp.CFrame = box2
- punch()
- hrp.CFrame = box3
- punch()
- hrp.CFrame = box4
- punch()
- hrp.CFrame = box5
- punch()
- hrp.CFrame = box6
- punch()
- crimBaseTP()
- wait(6)
- local delay = false
- --Bank Autorob
- if banksign.Transparency ~= 0 then
- spawn(function()
- while copdetection == true and wait(.1) do
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Team == game:GetService("Teams").Police then
- if v.Character ~= nil then
- if v.Character:FindFirstChild("HumanoidRootPart") then
- if plr:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 15 then
- crimBaseTP()
- copdetection = false
- end
- end
- end
- end
- end
- end
- end)
- pos.Value = hrp.CFrame
- hrp.CFrame = hrp.CFrame * CFrame.new(0,19,0)
- wait(.1)
- hrp.CFrame = pos.Value
- hrp.CFrame = bankOut
- wait(6)
- if char:FindFirstChild("Humanoid") then
- char.Humanoid.Name = "Humanoi"
- end
- hrp.CFrame = bankIn
- wait(.5)
- hrp.CFrame = vaultDoor
- wait(.5)
- hrp.CFrame = inVault
- if char:FindFirstChild("Humanoi") then
- char.Humanoi.Name = "Humanoid"
- end
- money.Text = "$1,OOO"
- while char.Humanoid.Health ~= 0 and wait() do
- if copdetection == false then
- break;
- end
- if moneyMax.Text == ("/ $1,000") then
- if money.Text == ("$1,000") then
- crimBaseTP()
- copdetection = false
- while wait() do
- if banksign.Transparency == 0 then
- local delay = false
- break;
- end
- end
- end
- else
- if money.Text == ("$3,000") then
- crimBaseTP()
- copdetection = false
- while wait() do
- if banksign.Transparency == 0 then
- local delay = false
- break;
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement