Advertisement
FilterYT

Untitled

Nov 21st, 2018
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. local sign = workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal
  2. local plrs = game:GetService("Players")
  3. local lp = plrs.LocalPlayer
  4. local plr = game:GetService("Players").LocalPlayer
  5. local char = lp.Character
  6. local hrp = char.HumanoidRootPart
  7. local outjewel = CFrame.new(143.35,18,1351)
  8. local pos = Instance.new("CFrameValue")
  9. local delay = false
  10. local cam = workspace.CurrentCamera
  11. local bankOut = CFrame.new(11.6, 18.7, 794.17)
  12. local bankIn = CFrame.new(41.8, 18.9, 857.1)
  13. local vaultDoor = CFrame.new(29, 1.6, 816)
  14. local inVault = CFrame.new(22.4, 1.6, 806)
  15. local crimBase = CFrame.new(-222, 18, 1575)
  16. local moneyMax = plr.PlayerGui.MainGui.CollectMoney.Maximum
  17. local money = plr.PlayerGui.MainGui.CollectMoney.Money
  18. local banksign = game:GetService('Workspace').Banks:GetChildren()[1].Extra.Sign.Decal
  19. local copdetection = true
  20. local base = CFrame.new(-222,18,1576)
  21. local box1 = CFrame.new(139,18,1342)
  22. local box2 = CFrame.new(111,18,1320)*CFrame.Angles(0,math.pi/2,0)
  23. local box3 = CFrame.new(123.5,18,1320)*CFrame.Angles(0,math.pi/-1,0)
  24. local box4 = CFrame.new(138,18,1316)*CFrame.Angles(0,math.pi/-2.25,0)
  25. local box5 = CFrame.new(139,18,1323)*CFrame.Angles(0,math.pi/-2.25,0)
  26. local box6 = CFrame.new(136.5,18,1308)*CFrame.Angles(0,math.pi/-2.25,0)
  27.  
  28. function punch()
  29. for i = 1,7 do
  30. keypress(0x46)
  31. keyrelease(0x46)
  32. wait(.5)
  33. end
  34. end
  35.  
  36. function crimBaseTP()
  37. pos.Value = hrp.CFrame
  38. hrp.CFrame = hrp.CFrame * CFrame.new(0,19,0)
  39. wait(.1)
  40. hrp.CFrame = pos.Value
  41. for i = 1,40 do
  42. wait()
  43. hrp.CFrame = crimBase
  44. end
  45. end
  46.  
  47. while delay == false and wait(1) do
  48. --Train Autorob
  49. if workspace:FindFirstChild("Trains") then
  50. if workspace.Trains:FindFirstChild("BoxCar") then
  51. local delay = true
  52. train = workspace.Trains.BoxCar.Model.Box.Roof
  53. function trainteleport()
  54. for i = 1,100 do
  55. wait()
  56. hrp.CFrame = train.CFrame * CFrame.new(0,-5,-3)
  57. keypress(0x45)
  58. end
  59. end
  60. if plr:DistanceFromCharacter(train.Position) > 350 then
  61. pos = Instance.new("CFrameValue")
  62. pos.Value = hrp.CFrame
  63. hrp.CFrame = pos.Value * CFrame.new(0,19,0)
  64. wait(.2)
  65. hrp.CFrame = pos.Value
  66. wait(4.5)
  67. end
  68. if char:FindFirstChild("Humanoid") then
  69. char.Humanoid.Name = "Humanoi"
  70. end
  71. weld = Instance.new("Weld",train)
  72. weld.Part0 = hrp
  73. weld.Part1 = train
  74. keyrelease(0x45)
  75. cam.CameraSubject = train
  76. trainteleport()
  77. keyrelease(0x45)
  78. cam.CameraSubject = workspace.Trains.BoxCar.Model.Rob.Doorframe
  79. trainteleport()
  80. keyrelease(0x45)
  81. cam.CameraSubject = plr.Character.Humanoi
  82. weld:Destroy()
  83. while char.Humanoi.Health ~= 0 and wait() do
  84. hrp.CFrame = workspace.Trains.BoxCar.Model.Rob.Gold.CFrame * CFrame.new(-2,0,-2)
  85. if plr.PlayerGui.MainGui.CollectMoney.Maximum.Text == "/ $1,500" then
  86. if plr.PlayerGui.MainGui.CollectMoney.Money.Text == "$1,500" then
  87. plr.PlayerGui.MainGui.CollectMoney.Money.Text = "$1,OOO"
  88. hrp.CFrame = hrp.CFrame * CFrame.new(10,0,0)
  89. break
  90. end
  91. else
  92. if plr.PlayerGui.MainGui.CollectMoney.Money.Text == "$4,000" then
  93. plr.PlayerGui.MainGui.CollectMoney.Money.Text = "$4,OOO"
  94. hrp.CFrame = hrp.CFrame * CFrame.new(10,0,0)
  95. break
  96. end
  97. end
  98. end
  99. workspace.Trains.BoxCar.Name = "BoxThicc"
  100. if char:FindFirstChild("Humanoi") then
  101. char.Humanoi.Name = "Humanoid"
  102. end
  103. wait(6)
  104. local delay = false
  105. end
  106. end
  107. --Jewelry Autorob
  108. if sign.Transparency ~= 0 then
  109. local delay = true
  110. pos.Value = hrp.CFrame
  111. hrp.CFrame = pos.Value * CFrame.new(0,19,0)
  112. wait(.2)
  113. hrp.CFrame = pos.Value
  114. hrp.CFrame = outjewel
  115. wait(5)
  116. hrp.CFrame = box1
  117. punch()
  118. hrp.CFrame = box2
  119. punch()
  120. hrp.CFrame = box3
  121. punch()
  122. hrp.CFrame = box4
  123. punch()
  124. hrp.CFrame = box5
  125. punch()
  126. hrp.CFrame = box6
  127. punch()
  128. crimBaseTP()
  129. wait(6)
  130. local delay = false
  131. --Bank Autorob
  132. if banksign.Transparency ~= 0 then
  133. spawn(function()
  134. while copdetection == true and wait(.1) do
  135. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  136. if v.Team == game:GetService("Teams").Police then
  137. if v.Character ~= nil then
  138. if v.Character:FindFirstChild("HumanoidRootPart") then
  139. if plr:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 15 then
  140. crimBaseTP()
  141. copdetection = false
  142. end
  143. end
  144. end
  145. end
  146. end
  147. end
  148. end)
  149. pos.Value = hrp.CFrame
  150. hrp.CFrame = hrp.CFrame * CFrame.new(0,19,0)
  151. wait(.1)
  152. hrp.CFrame = pos.Value
  153. hrp.CFrame = bankOut
  154. wait(6)
  155. if char:FindFirstChild("Humanoid") then
  156. char.Humanoid.Name = "Humanoi"
  157. end
  158. hrp.CFrame = bankIn
  159. wait(.5)
  160. hrp.CFrame = vaultDoor
  161. wait(.5)
  162. hrp.CFrame = inVault
  163. if char:FindFirstChild("Humanoi") then
  164. char.Humanoi.Name = "Humanoid"
  165. end
  166. money.Text = "$1,OOO"
  167. while char.Humanoid.Health ~= 0 and wait() do
  168. if copdetection == false then
  169. break;
  170. end
  171. if moneyMax.Text == ("/ $1,000") then
  172. if money.Text == ("$1,000") then
  173. crimBaseTP()
  174. copdetection = false
  175. while wait() do
  176. if banksign.Transparency == 0 then
  177. local delay = false
  178. break;
  179. end
  180. end
  181. end
  182. else
  183. if money.Text == ("$3,000") then
  184. crimBaseTP()
  185. copdetection = false
  186. while wait() do
  187. if banksign.Transparency == 0 then
  188. local delay = false
  189. break;
  190. end
  191. end
  192. end
  193. end
  194. end
  195. end
  196. end
  197. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement