Nova355killer

Jew and bank notification

Nov 12th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2.  
  3. local TpMethod = 2
  4.  
  5. function JailbreakTp(...)
  6. getfenv()["TpMethod" .. TpMethod](...)
  7. end
  8.  
  9. function TpMethod1(...)
  10. local char = plr.Character
  11. local root = char.HumanoidRootPart
  12. local args = {...}
  13. for i=0,1,0.05 do
  14. wait()
  15. root.CFrame = root.CFrame:lerp(CFrame.new(unpack(args,1,3)), i)
  16. end
  17. end
  18.  
  19. function TpMethod2(...)
  20. local args = {...}
  21. local char = plr.Character
  22. local target = Vector3.new(unpack(args,1,3))
  23. local dist = (char:WaitForChild"HumanoidRootPart".Position - target).magnitude
  24. dist = math.floor(dist / 100) + 1
  25. for i=0,dist * 4 do
  26. wait()
  27. char:MoveTo(Vector3.new(...))
  28. end
  29. if args[#args] == true then
  30. wait()
  31. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(unpack(args,1,#args - 1))
  32. end
  33. end
  34.  
  35. function Tween(obj, t, properties)
  36. local TweenService = game:GetService("TweenService")
  37. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  38. local tween = TweenService:Create(obj,tweenInfo,properties)
  39. tween:Play()
  40. return tween
  41. end
  42. -- Instances:
  43. local Jailbreakerv14 = Instance.new("ScreenGui")
  44. local Main = Instance.new("Frame")
  45. local TextLabel = Instance.new("TextLabel")
  46. local ImageLabel = Instance.new("ImageLabel")
  47. local Name = Instance.new("TextLabel")
  48. local Version = Instance.new("TextLabel")
  49. local Open = Instance.new("TextButton")
  50. local Close = Instance.new("TextButton")
  51. local PlayerTP = Instance.new("Frame")
  52. local PlayerTP_Input = Instance.new("TextBox")
  53. local PlayerTP_Teleport = Instance.new("TextButton")
  54. local PTPTEXT = Instance.new("TextLabel")
  55. local NameCredits = Instance.new("TextLabel")
  56. local OTH = Instance.new("Frame")
  57. local AutoArrest = Instance.new("TextButton")
  58. local Btools = Instance.new("TextButton")
  59. local CarFly = Instance.new("TextButton")
  60. local Gravity = Instance.new("TextButton")
  61. local InfiniteHealth = Instance.new("TextButton")
  62. local InfiniteNitro = Instance.new("TextButton")
  63. local Infiniteammo = Instance.new("TextButton")
  64. local Noclip = Instance.new("TextButton")
  65. local RemoveALL = Instance.new("TextButton")
  66. local Walkspeed = Instance.new("TextButton")
  67. local OTHTEXT = Instance.new("TextLabel")
  68. local TPS = Instance.new("Frame")
  69. local BankFront = Instance.new("TextButton")
  70. local BankVault = Instance.new("TextButton")
  71. local JewIn = Instance.new("TextButton")
  72. local JewOut = Instance.new("TextButton")
  73. local Museum = Instance.new("TextButton")
  74. local MuseumTop = Instance.new("TextButton")
  75. local crim1 = Instance.new("TextButton")
  76. local crim2 = Instance.new("TextButton")
  77. local donut = Instance.new("TextButton")
  78. local gas = Instance.new("TextButton")
  79. local train = Instance.new("TextButton")
  80. local TPTEXT = Instance.new("TextLabel")
  81. local Guns = Instance.new("Frame")
  82. local AK47 = Instance.new("TextButton")
  83. local M4A4 = Instance.new("TextButton")
  84. local Pistol = Instance.new("TextButton")
  85. local Shotgun = Instance.new("TextButton")
  86. local GUNSTEXT = Instance.new("TextLabel")
  87. local AutoRob = Instance.new("Frame")
  88. local BankAutoRobBtn = Instance.new("TextButton")
  89. local AuTEXT = Instance.new("TextLabel")
  90. local JewelryStatus = Instance.new("TextLabel")
  91. local BankStatus = Instance.new("TextLabel")
  92. --Properties:
  93. Jailbreakerv14.Name = "Jailbreaker v1.4"
  94. Jailbreakerv14.Parent = game.CoreGui
  95.  
  96. AutoRob.Name = "Auto Rob"
  97. AutoRob.Parent = Jailbreakerv14
  98. AutoRob.Active = true
  99. AutoRob.BackgroundColor3 = Color3.new(1, 0, 0)
  100. AutoRob.BackgroundTransparency = 1
  101. AutoRob.BorderSizePixel = 0
  102. AutoRob.Position = UDim2.new(0.579999983, 0, 0.104000002, 0)
  103. AutoRob.Size = UDim2.new(0, 150, 0, 400)
  104. AutoRob.Visible = false
  105.  
  106. BankAutoRobBtn.Name = "BankAutoRobBtn"
  107. BankAutoRobBtn.Parent = AutoRob
  108. BankAutoRobBtn.BackgroundColor3 = Color3.new(1, 0, 0)
  109. BankAutoRobBtn.Size = UDim2.new(0, 150, 0, 30)
  110. BankAutoRobBtn.Font = Enum.Font.ArialBold
  111. BankAutoRobBtn.Text = "Bank Auto Rob"
  112. BankAutoRobBtn.TextScaled = true
  113. BankAutoRobBtn.TextSize = 14
  114. BankAutoRobBtn.TextWrapped = true
  115. BankAutoRobBtn.MouseButton1Click:connect(function()
  116. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  117. local Info = Bank.Extra.Sign
  118. if Info.Decal.Transparency == 0 then
  119. game:GetService("StarterGui"):SetCore("SendNotification",{
  120. Title = "Bank is closed!",
  121. Text = "You need to wait for the bank to open!",
  122. Duration = 7,
  123. Button1 = "Dismiss",
  124. })
  125. return
  126. end
  127. local bankpos = Vector3.new(Info.Position.X,0,Info.Position.Z)
  128. local root = plr.Character.HumanoidRootPart
  129. local plrpos = Vector3.new(root.Position.X,0,root.Position.Z)
  130.  
  131. if (bankpos - plrpos).magnitude > 150 then
  132. local cb = Instance.new"BindableFunction"
  133.  
  134. cb.OnInvoke = function(arg)
  135. if arg == "Teleport" then
  136. JailbreakTp(10, 18, 784)
  137. end
  138. end
  139.  
  140. game:GetService("StarterGui"):SetCore("SendNotification",{
  141. Title = "You are too far!",
  142. Text = "You need to get closer to the bank (use tp)",
  143. Duration = 7,
  144. Button1 = "Dismiss",
  145. Button2 = "Teleport",
  146. Callback = cb
  147. })
  148. else
  149. RobTheBank()
  150. end
  151. end)
  152.  
  153. AuTEXT.Name = "AuTEXT"
  154. AuTEXT.Parent = AutoRob
  155. AuTEXT.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  156. AuTEXT.Position = UDim2.new(0, 0, -0.0799999982, 0)
  157. AuTEXT.Size = UDim2.new(0, 150, 0, 30)
  158. AuTEXT.Font = Enum.Font.Cartoon
  159. AuTEXT.Text = "AutoRob"
  160. AuTEXT.TextColor3 = Color3.new(1, 1, 1)
  161. AuTEXT.TextScaled = true
  162. AuTEXT.TextSize = 14
  163. AuTEXT.TextWrapped = true
  164.  
  165. JewelryStatus.Name = "JewelryStatus"
  166. JewelryStatus.Parent = Jailbreakerv14
  167. JewelryStatus.BackgroundColor3 = Color3.new(0, 0.384314, 1)
  168. JewelryStatus.Position = UDim2.new(0.879999995, 0, 0.296000004, 0)
  169. JewelryStatus.Size = UDim2.new(0, 150, 0, 26)
  170. JewelryStatus.Font = Enum.Font.SourceSans
  171. JewelryStatus.Text = "Jewelry:"
  172. JewelryStatus.TextColor3 = Color3.new(0, 0, 0)
  173. JewelryStatus.TextSize = 14
  174.  
  175. BankStatus.Name = "BankStatus"
  176. BankStatus.Parent = Jailbreakerv14
  177. BankStatus.BackgroundColor3 = Color3.new(0, 0.384314, 1)
  178. BankStatus.Position = UDim2.new(0.879999995, 0, 0.349000007, 0)
  179. BankStatus.Size = UDim2.new(0, 150, 0, 26)
  180. BankStatus.Font = Enum.Font.SourceSans
  181. BankStatus.Text = "Bank:"
  182. BankStatus.TextColor3 = Color3.new(0, 0, 0)
  183. BankStatus.TextSize = 14
  184. -- Scripts:
  185.  
  186. PlayerTP_Teleport.MouseButton1Down:connect(function()
  187. local tp_namedplayer = PlayerTP_Input.Text
  188. local tp_player = game:GetService("Players")[tp_namedplayer]
  189. local PLR = game:GetService("Players").LocalPlayer
  190. local p = PlayerTP_Input.Text
  191.  
  192. if tp_player then
  193. for i = 1,20 do
  194. wait()
  195. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
  196. end
  197. end
  198. end)
  199.  
  200.  
  201.  
  202.  
  203. --AutoRob stuff--
  204. local DuffelBag = game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 2219040)
  205. local BankAutoRob = {
  206. {
  207. Pos = {51, 18.06, 856.5},
  208. Yield = 2,
  209. Status = "Starting the robbery"
  210. },
  211. {
  212. Pos = {29.71, 0.73, 815.25},
  213. Yield = 15,
  214. Status = "Opening the vault"
  215. },
  216. {
  217. Pos = {18.37, 0.7659, 822.25},
  218. Yield = DuffelBag and 50 or 49,
  219. Status = "Collecting $$$"
  220. },
  221. {
  222. Pos = {10, 18, 784},
  223. Status = "Finishing the robbery"
  224. }
  225. }
  226.  
  227. local function Tp(...)
  228. local char = plr.Character
  229. for i=1,2 do
  230. wait()
  231. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(...)
  232. end
  233. end
  234.  
  235. function RobTheBank()
  236. for _,v in pairs(BankAutoRob) do
  237. Tp(unpack(v.Pos))
  238. wait(v.Yield)
  239. end
  240. end
  241.  
  242. --Bank notification--
  243. pcall(function()
  244. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  245. local Info = Bank.Extra.Sign.Decal
  246. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  247. if Info.Transparency ~= 0 then
  248. BankStatus.Text = "Bank:Open"
  249. BankStatus.TextColor3 = Color3.new(0,1,0)
  250. BankAutoRobBtn.BackgroundColor3 = Color3.new(0,1,0)
  251. local cb = Instance.new("BindableFunction")
  252. cb.OnInvoke = function(arg)
  253. if arg == "Teleport" then
  254. JailbreakTp(10, 18, 784)
  255. elseif arg == "AutoRob" then
  256. RobTheBank()
  257. end
  258. end
  259. game:GetService("StarterGui"):SetCore("SendNotification",{
  260. Title = "Bank is ready!",
  261. Text = "Bank is ready!",
  262. Duration = 15,
  263. Button1 = "Dismiss",
  264. Button2 = (Vector3.new(Info.Parent.Position.X,0,Info.Parent.Position.Z) - Vector3.new(plr.Character.HumanoidRootPart.Position.X,0,plr.Character.HumanoidRootPart.Position.Z)).magnitude < 150 and "AutoRob" or "Teleport",
  265. Callback = cb
  266. })
  267. else
  268. BankStatus.Text = "Bank:Closed"
  269. BankStatus.TextColor3 = Color3.new(1,0,0)
  270. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,1,1)
  271. end
  272. end)
  273. BankStatus.Text = Info.Transparency == 0 and "Bank:Closed" or "Bank:Open"
  274. BankStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,1,1) or Color3.new(0,1,0)
  275. BankAutoRobBtn.BackgroundColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  276. end)
  277. --Jewelry notification--
  278. pcall(function()
  279. local Jewelry = workspace:FindFirstChild("Jewelrys"):GetChildren()[1]
  280. local Info = Jewelry.Extra.Sign.Decal
  281. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  282. if Info.Transparency ~= 0 then
  283. JewelryStatus.Text = "Jewelry:Open"
  284. JewelryStatus.TextColor3 = Color3.new(0,1,0)
  285. BankStatus.TextColor3 = Color3.new(0,1,0)
  286. local cb = Instance.new("BindableFunction")
  287. cb.OnInvoke = function(arg)
  288. if arg == "Teleport" then
  289. JailbreakTp(142, 18, 1365)
  290. end
  291. end
  292. game:GetService("StarterGui"):SetCore("SendNotification",{
  293. Title = "Jewelry is ready!",
  294. Text = "Jewelry is ready!",
  295. Duration = 15,
  296. Button1 = "Dismiss",
  297. Button2 = "Teleport",
  298. Callback = cb
  299. })
  300. else
  301. JewelryStatus.Text = "Jewelry:Closed"
  302. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  303. end
  304. end)
  305. JewelryStatus.Text = Info.Transparency == 0 and "Jewelry:Closed" or "Jewelry:Open"
  306. JewelryStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,1,1) or Color3.new(0,1,0)
  307. end)
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314. function SCRIPT_UOJS84_FAKESCRIPT() -- ImageLabel.LocalScript
  315. getfenv().script = Instance.new('LocalScript', ImageLabel)
  316.  
  317. script.Parent.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userId=" .. game.Players.LocalPlayer.UserId
  318.  
  319. end
  320. coroutine.resume(coroutine.create(SCRIPT_UOJS84_FAKESCRIPT))
  321. function SCRIPT_SEDR75_FAKESCRIPT() -- Name.LocalScript
  322. getfenv().script = Instance.new('LocalScript', Name)
  323.  
  324. script.Parent.Text = game.Players.LocalPlayer.Name
  325.  
  326. end
  327. coroutine.resume(coroutine.create(SCRIPT_SEDR75_FAKESCRIPT))
Add Comment
Please, Sign In to add comment