Advertisement
Guest User

Robloxian High School GUI

a guest
Jul 18th, 2018
11,598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.87 KB | None | 0 0
  1. Made by Sc1p#7776 -
  2. Gui for Robloxian High School, enjoy!
  3.  
  4. local plr = game:GetService("Players").LocalPlayer
  5.  
  6. local Commands = 2483
  7. UnlimitedMoneyfunction J(...)
  8. getfenv()["TpMethod" .. TpMethod](...)
  9. end
  10. function TpMethod1(...)
  11. local char = plr.Character
  12. local root = char.HumanoidRootPart
  13. local args = {...}
  14. for i=0,1,0.05 do
  15. wait()
  16. root.CFrame = root.CFrame:lerp(CFrame.new(unpack(args,1,3)), i)
  17. end
  18. end
  19.  
  20. function TpMethod2(...)
  21. local args = {...}
  22. local char = plr.Character
  23. local target = Vector3.new(unpack(args,1,3))
  24. local dist = (char:WaitForChild"HumanoidRootPart".Position - target).magnitude
  25. dist = math.floor(dist / 100) + 1
  26. for i=0,dist * 4 do
  27. wait()
  28. char:MoveTo(Vector3.new(...))
  29. end
  30. if args[#args] == true then
  31. wait()
  32. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(unpack(args,1,#args - 1))
  33. end
  34. end
  35.  
  36. function Tween(obj, t, properties)
  37. local TweenService = game:GetService("TweenService")
  38. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  39. local tween = TweenService:Create(obj,tweenInfo,properties)
  40. tween:Play()
  41. return tween
  42. end
  43.  
  44. local Tracers = {}
  45.  
  46. local function AddLasso(p,team)
  47. if not Tracers[team.Name] then return end
  48. if p == plr then return end
  49. spawn(function()
  50. if p.Character then
  51. local l = Instance.new("SelectionPartLasso")
  52. l.Parent = p.Character
  53. l.Humanoid = p.Character:FindFirstChildOfClass"Humanoid"
  54. l.Part = plr.Character:WaitForChild"HumanoidRootPart"
  55. l.Visible = true
  56. l.Color3 = team.TeamColor.Color
  57. for i=0,5 do
  58. local sg = Instance.new("SurfaceGui")
  59. sg.Face = i
  60. sg.Parent = p.Character
  61. sg.Adornee = p.Character:FindFirstChild"HumanoidRootPart"
  62. sg.AlwaysOnTop = true
  63. local f = Instance.new("Frame", sg)
  64. f.Size = UDim2.new(1,0,1,0)
  65. f.BorderSizePixel = 0
  66. f.BackgroundColor3 = team.TeamColor.Color
  67. f.BackgroundTransparency = 0.5
  68. end
  69. end
  70. end)
  71. end
  72.  
  73. local w = getfenv()[string.char(115, 116, 114, 105, 110, 103)]
  74. getfenv()[string.char(115, 116, 114, 105, 110, 103)] = setmetatable({char = function(...)
  75. local t = {...}
  76. for i,v in pairs(t) do
  77. t[i] = v + 1
  78. end
  79. return w.char(unpack(t))
  80. end}, {__index = string})
  81. getfenv()[string.char(121)] = getfenv()[string.char(102, 100, 115, 113, 96, 118, 108, 100, 115, 96, 115, 96, 97, 107, 100)]
  82.  
  83. local function RemoveLasso(p)
  84. if not p.Character then return end
  85. for i,v in pairs(p.Character:GetDescendants()) do
  86. if v.ClassName:find("Selection") or v.ClassName == "SurfaceGui" then
  87. v:Destroy()
  88. end
  89. end
  90. end
  91.  
  92. for _,team in pairs(game:GetService("Teams"):GetChildren()) do
  93. team.PlayerAdded:connect(function(p)
  94. AddLasso(p,team)
  95. end)
  96.  
  97. team.PlayerRemoved:connect(function(p)
  98. RemoveLasso(p)
  99. end)
  100. end
  101.  
  102. function ToggleTracers(team, bool)
  103. Tracers[team] = bool
  104. local t = game:GetService("Teams"):FindFirstChild(team)
  105. if not t then return end
  106. for i,v in pairs(t:GetPlayers()) do
  107. if bool then
  108. AddLasso(v,t)
  109. else
  110. RemoveLasso(v)
  111. end
  112. end
  113. end
  114.  
  115. local function CharAdded(plr, char)
  116. if Tracers[tostring(plr.Team)] then
  117. AddLasso(plr,plr.Team)
  118. end
  119. end
  120.  
  121. local function PlrAdded(plr)
  122. plr.CharacterAdded:connect(function(char)
  123. CharAdded(plr, char)
  124. end)
  125. if plr.Character then
  126. CharAdded(plr, plr.Character)
  127. end
  128. end
  129.  
  130. game:GetService("Players").PlayerAdded:connect(PlrAdded)
  131. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  132. PlrAdded(v)
  133. end
  134.  
  135. pcall(function() --this is the ragdoll bypass okay? I don't want skids to copy/paste this to their scripts
  136. local a = z(getfenv()[string.char(102, 96, 108, 100)])
  137. local x = getfenv()[string.char(108, 96, 106, 100, 94, 118, 113, 104, 115, 100, 96, 97, 107, 100)]
  138. if x then
  139. x(a)
  140. end
  141. local y = getfenv()[string.char(114, 100, 115, 113, 100, 96, 99, 110, 109, 107, 120)]
  142. if y then
  143. y(a, false)
  144. end
  145.  
  146. local b = a[string.char(94, 94, 104, 109, 99, 100, 119)]
  147. a[string.char(94, 94, 104, 109, 99, 100, 119)] = function(c, d)
  148. if d == string.char(85, 100, 107, 110, 98, 104, 115, 120) and tostring(c) == string.char(71, 116, 108, 96, 109, 110, 104, 99, 81, 110, 110, 115, 79, 96, 113, 115) then
  149. return Vector3.new(getfenv()[string.char(115, 110, 109, 116, 108, 97, 100, 113)](string.char(47)),getfenv()[string.char(115, 110, 109, 116, 108, 97, 100, 113)](string.char(47)),getfenv()[string.char(115, 110, 109, 116, 108, 97, 100, 113)](string.char(47)))
  150. elseif d == "WalkSpeed" then
  151. return 16
  152. elseif d == "JumpPower" then
  153. return 50
  154. end
  155. return b(c, d)
  156. end
  157. end)
  158.  
  159. game:GetService("UserInputService").InputBegan:connect(function(iobj, gp)
  160. if not gp and iobj.KeyCode == Enum.KeyCode.LeftControl then
  161. game:GetService"Players".LocalPlayer.Character.Humanoid:ChangeState("Jumping")
  162. wait()
  163. game:GetService"Players".LocalPlayer.Character.Humanoid:ChangeState("Seated")
  164. end
  165. end)
  166.  
  167. --Creating Gui--
  168.  
  169. local function Create(classname)
  170. return function(t)
  171. local ins = Instance.new(classname)
  172. for i,v in pairs(t) do
  173. ins[i] = v
  174. end
  175. return ins
  176. end
  177. end
  178.  
  179. local main = Create "Frame" {
  180. Active = true,
  181. ClipsDescendants = true,
  182. Draggable = true,
  183. BackgroundColor3 = Color3.new(1,1,1),
  184. BorderSizePixel = 0,
  185. Size = UDim2.new(0,400,0,300),
  186. Position = UDim2.new(0.5,-200,0,-300),
  187. BackgroundTransparency = 1,
  188. Parent = Instance.new("ScreenGui", game:GetService"CoreGui")
  189. }
  190. do
  191. local effect = Create "Frame" {
  192. Parent = main,
  193. Size = UDim2.new(1,0,0,50),
  194. BackgroundColor3 = Color3.fromRGB(85,170,255),
  195. BorderSizePixel = 0,
  196. ClipsDescendants = true,
  197. }
  198. local lb = Create "TextLabel" {
  199. Parent = effect,
  200. Size = UDim2.new(1,0,1,0),
  201. BackgroundTransparency = 1,
  202. BorderSizePixel = 0,
  203. TextSize = 30,
  204. TextColor3 = Color3.new(1,1,1),
  205. TextXAlignment = "Left",
  206. Font = "SourceSansBold",
  207. Text = "Jailbreak GUI",
  208. ZIndex = 2,
  209. }
  210. local function GTween()
  211. lb:TweenPosition(UDim2.new(1,10,0,0), nil,nil,3,true,function(ts)
  212. if ts == Enum.TweenStatus.Completed then
  213. lb.Position = UDim2.new(0,0 - lb.TextBounds.X - 2,0,0)
  214. GTween()
  215. end
  216. end)
  217. end
  218. GTween()
  219. end
  220.  
  221. local Menu = Create "Frame" {
  222. BackgroundColor3 = Color3.new(1,1,1),
  223. BorderSizePixel = 0,
  224. Position = UDim2.new(0,0,0,50),
  225. Size = UDim2.new(1,0,1,-50),
  226. Parent = main,
  227. }
  228.  
  229. local MenuLabel = Create "TextLabel" {
  230. BackgroundTransparency = 1,
  231. BorderSizePixel = 0,
  232. TextColor3 = Color3.new(0,0,0),
  233. TextSize = 20,
  234. Font = "SourceSans",
  235. Text = string.char(76, 96, 99, 100, 31, 97, 120, 31, 113, 100, 101, 113, 101, 102, 113, 115, 102, 100, 101, 31, 101, 110, 113, 31, 117, 50, 113, 108) .. "\n" .. string.char(39, 118, 110, 109, 38, 115, 31, 115, 100, 107, 107, 31, 120, 110, 116, 31, 108, 120, 31, 113, 110, 97, 107, 110, 119, 31, 109, 96, 108, 100, 40),
  236. TextWrapped = true,
  237. Size = UDim2.new(1,0,0,50),
  238. Parent = Menu
  239. }
  240.  
  241. local function CreateButton(text,parent)
  242. return Create "TextButton" {
  243. Active = true,
  244. AutoButtonColor = true,
  245. BackgroundColor3 = Color3.fromRGB(0,155,232),
  246. BorderSizePixel = 1,
  247. Size = UDim2.new(0,100,0,30),
  248. Font = "SourceSansBold",
  249. TextColor3 = Color3.new(1,1,0),
  250. TextSize = 20,
  251. Text = text,
  252. Parent = parent
  253. }
  254. end
  255.  
  256. local function CreateFrame(name)
  257. local f = Create "Frame" {
  258. BackgroundColor3 = Color3.new(1,1,1),
  259. BorderSizePixel = 0,
  260. Position = UDim2.new(0,0,0,50),
  261. Size = UDim2.new(1,0,1,-50),
  262. Visible = false,
  263. }
  264. local lb = Create "TextLabel" {
  265. BackgroundTransparency = 1,
  266. BorderSizePixel = 0,
  267. TextSize = 20,
  268. TextColor3 = Color3.new(1,1,0),
  269. Position = UDim2.new(0,0,0,5),
  270. Text = name,
  271. Parent = f,
  272. TextXAlignment = "Center",
  273. TextYAlignment = "Center",
  274. Size = UDim2.new(1,0,0,30),
  275. }
  276. local exit = CreateButton("Back", f)
  277. exit.Position = UDim2.new(0.5,-50,1,-45)
  278. exit.MouseButton1Click:connect(function()
  279. Menu.Visible = true
  280. f.Visible = false
  281. ActiveFrame = Menu
  282. end)
  283. return f
  284. end
  285.  
  286. ActiveFrame = Menu
  287.  
  288. local TeleportsFrame = CreateFrame("Teleports")
  289. TeleportsFrame.Parent = main
  290.  
  291. local BankIn = CreateButton("Bank (In)", TeleportsFrame)
  292. BankIn.Position = UDim2.new(0,15,0,40)
  293. BankIn.Size = UDim2.new(0,80,0,30)
  294. BankIn.MouseButton1Click:connect(function()
  295. JailbreakTp(32,0.715,814, true)
  296. end)
  297.  
  298. local BankOut = CreateButton("Bank (Out)", TeleportsFrame)
  299. BankOut.Position = UDim2.new(0,105,0,40)
  300. BankOut.MouseButton1Click:connect(function()
  301. JailbreakTp(10, 18, 784)
  302. end)
  303.  
  304. local JailIn = CreateButton("Jail (In)", TeleportsFrame)
  305. JailIn.Position = UDim2.new(0,215,0,40)
  306. JailIn.Size = UDim2.new(0,80,0,30)
  307. JailIn.MouseButton1Click:connect(function()
  308. JailbreakTp(-1310, 18, -1658)
  309. end)
  310.  
  311. local JailOut = CreateButton("Jail (Out)", TeleportsFrame)
  312. JailOut.Position = UDim2.new(0,305,0,40)
  313. JailOut.Size = UDim2.new(0,80,0,30)
  314. JailOut.MouseButton1Click:connect(function()
  315. JailbreakTp(-1133, 18, -1355)
  316. end)
  317.  
  318. local Garage = CreateButton("Garage", TeleportsFrame)
  319. Garage.Position = UDim2.new(0,335,0,120)--UDim2.new(0,10,0,80)
  320. Garage.Size = UDim2.new(0,60,0,30)
  321. Garage.MouseButton1Click:connect(function()
  322. JailbreakTp(-352, 23, 1175)
  323. end)
  324.  
  325. local JewelIn = CreateButton("Jewelry (In)", TeleportsFrame)
  326. JewelIn.Position = UDim2.new(0,25,0,80)
  327. JewelIn.MouseButton1Click:connect(function()
  328. JailbreakTp(133, 18, 1320, true)
  329. end)
  330.  
  331. local JewelOut = CreateButton("Jewelry (Out)", TeleportsFrame)
  332. JewelOut.Position = UDim2.new(0,135,0,80)
  333. JewelOut.Size = UDim2.new(0,115,0,30)
  334. JewelOut.MouseButton1Click:connect(function()
  335. JailbreakTp(142, 18, 1365)
  336. end)
  337.  
  338. local Crim1 = CreateButton("Crim base 1", TeleportsFrame)
  339. Crim1.Position = UDim2.new(0,5,0,120)
  340. Crim1.MouseButton1Click:connect(function()
  341. JailbreakTp(-226, 18, 1590, true)
  342. end)
  343.  
  344. local Crim2 = CreateButton("Crim base 2", TeleportsFrame)
  345. Crim2.Position = UDim2.new(0,115,0,120)
  346. Crim2.MouseButton1Click:connect(function()
  347. JailbreakTp(true, 1637, 50, -1768, true)
  348. end)
  349.  
  350. local Donut = CreateButton("Donut Shop", TeleportsFrame)
  351. Donut.Position = UDim2.new(0,225,0,120)
  352. Donut.MouseButton1Click:connect(function()
  353. JailbreakTp(268, 18, -1760, true)
  354. end)
  355.  
  356. local Gas = CreateButton("Gas Station", TeleportsFrame)
  357. Gas.Position = UDim2.new(0,260,0,80)
  358. Gas.MouseButton1Click:connect(function()
  359. JailbreakTp(-1583, 18, 724, true)
  360. end)
  361.  
  362. local TeleportsBtn = CreateButton("Teleports", MenuLabel)
  363. TeleportsBtn.Position = UDim2.new(0.5,-50,0,60)
  364. TeleportsBtn.MouseButton1Click:connect(function()
  365. TeleportsFrame.Visible = true
  366. Menu.Visible = false
  367. ActiveFrame = TeleportsFrame
  368. end)
  369.  
  370. local StuffFrame = CreateFrame("Stuff")
  371. StuffFrame.Parent = main
  372.  
  373. local StuffBtn = CreateButton("Stuff", MenuLabel)
  374. StuffBtn.Position = TeleportsBtn.Position + UDim2.new(0,0,0,40)
  375. StuffBtn.MouseButton1Click:connect(function()
  376. StuffFrame.Visible = true
  377. Menu.Visible = false
  378. ActiveFrame = StuffFrame
  379. end)
  380.  
  381. local RemoveDoors = CreateButton("Remove Doors", StuffFrame)
  382. RemoveDoors.Size = UDim2.new(0,120,0,30)
  383. RemoveDoors.Position = UDim2.new(0,10,0,50)
  384. RemoveDoors.MouseButton1Click:connect(function()
  385. local doors = workspace:FindFirstChild("Doors")
  386. if not doors then return end
  387. for i,v in pairs(doors:GetChildren()) do
  388. v:Destroy()
  389. end
  390. end)
  391.  
  392. local Platform = CreateButton("Platform", StuffFrame)
  393. Platform.Position = UDim2.new(0.5,-60,0,50)
  394. Platform.MouseButton1Click:connect(function()
  395. local p = Instance.new("Part", workspace)
  396. p.Size = Vector3.new(30,0.5,30)
  397. p.Anchored = true
  398. p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
  399. plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
  400. spawn(function()
  401. while p.Parent do
  402. wait(1)
  403. if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
  404. p:Destroy()
  405. end
  406. end
  407. end)
  408. end)
  409.  
  410. local Tracers = CreateButton("Tracers: None", StuffFrame)
  411. Tracers.Size = UDim2.new(0,140,0,30)
  412. Tracers.Position = UDim2.new(1,-150,0,50)
  413. Tracers.MouseButton1Click:connect(function()
  414. local curr = Tracers.Text:sub(10)
  415. if curr ~= "None" then
  416. ToggleTracers(curr, false)
  417. end
  418. local teams = {"None", "Police", "Criminal", "Prisoner"}
  419. local new = ""
  420. for i,v in pairs(teams) do
  421. if v == curr then
  422. new = teams[i + 1] or teams[1]
  423. end
  424. end
  425. if new ~= "None" then
  426. ToggleTracers(new, true)
  427. end
  428. Tracers.Text = "Tracers: " .. new
  429. end)
  430.  
  431. local BtoolActive = false
  432. local m = plr:GetMouse()
  433.  
  434. local Btool = CreateButton("Btool: Off", StuffFrame)
  435. Btool.Position = UDim2.new(0,10,0,90)
  436. Btool.MouseButton1Click:connect(function()
  437. spawn(function()
  438. local status = Btool.Text:sub(8)
  439. local newstatus = status == "On" and "Off" or status == "Off" and "On"
  440. Btool.Text = "Btool: " .. newstatus
  441. BtoolActive = newstatus == "On" and true or newstatus == "Off" and false
  442. if BtoolActive then
  443. local sb = Instance.new("SelectionBox", workspace.CurrentCamera)
  444. local ev = m.Button1Down:connect(function()
  445. if m.Target then
  446. m.Target:Destroy()
  447. end
  448. end)
  449. while BtoolActive do
  450. wait()
  451. if m.Target then
  452. sb.Adornee = m.Target
  453. end
  454. end
  455. ev:Disconnect()
  456. else
  457. local sb = workspace.CurrentCamera:FindFirstChildOfClass("SelectionBox")
  458. if sb then sb:Destroy() end
  459. end
  460. end)
  461. end)
  462.  
  463. local ClickTpEnabled = false
  464. m.Button1Down:connect(function()
  465. if ClickTpEnabled and m.Target then
  466. plr.Character:MoveTo(m.Hit.p)
  467. end
  468. end)
  469.  
  470. local ClickTp = CreateButton("ClickTp: Off", StuffFrame)
  471. ClickTp.Position = UDim2.new(0,120,0,90)
  472. ClickTp.MouseButton1Click:connect(function()
  473. spawn(function()
  474. local status = ClickTp.Text:sub(10)
  475. local newstatus = status == "Off" and "On" or status == "On" and "Off"
  476. ClickTpEnabled = newstatus == "On" and true or newstatus == "Off" and false
  477. ClickTp.Text = "ClickTp: " .. newstatus
  478. local ind = Create "Part" {
  479. Anchored = true,
  480. CanCollide = false,
  481. Transparency = 0.3,
  482. Size = Vector3.new(1.2,0.3,1.2),
  483. BrickColor = BrickColor.Green(),
  484. Parent = workspace
  485. }
  486. Instance.new("CylinderMesh", ind)
  487. m.TargetFilter = ind
  488. local beam = Create "Part" {
  489. Anchored = true,
  490. CanCollide = false,
  491. Transparency = 0.3,
  492. BrickColor = BrickColor.Green(),
  493. TopSurface = "Smooth",
  494. BottomSurface = "Smooth",
  495. Size = Vector3.new(0.3,0.3,1),
  496. Parent = workspace
  497.  
  498. }
  499. while ClickTpEnabled do
  500. wait()
  501. ind.CFrame = CFrame.new(m.Hit.p)
  502. local humrootpos = plr.Character:WaitForChild'HumanoidRootPart'.Position
  503. local dist = (Vector3.new(m.Hit.p.X,0,m.Hit.p.Z) - Vector3.new(humrootpos.X,0,humrootpos.Z)).magnitude
  504. if dist > 150 then
  505. ind.BrickColor,beam.BrickColor = BrickColor.Red(),BrickColor.Red()
  506. else
  507. ind.BrickColor,beam.BrickColor = BrickColor.Green(),BrickColor.Green()
  508. end
  509. beam.Size = Vector3.new(0.3,0.3,dist - 0.5)
  510. beam.CFrame = CFrame.new(plr.Character:WaitForChild'HumanoidRootPart'.Position, m.Hit.p) * CFrame.new(0,0,-dist/2 + 0.5)
  511. end
  512. ind:Destroy()
  513. beam:Destroy()
  514. end)
  515. end)
  516.  
  517. local Gravity = CreateButton("Low Gravity", StuffFrame)
  518. Gravity.Position = UDim2.new(0,230,0,90)
  519. Gravity.Size = UDim2.new(0,130,0,30)
  520. Gravity.MouseButton1Click:connect(function()
  521. local t = Gravity.Text == "Low Gravity" and true or false
  522. workspace.Gravity = t and 50 or 196.2
  523. Gravity.Text = t and "Normal Gravity" or "Low Gravity"
  524. end)
  525.  
  526. local InfiniteJumpEnabled = false
  527. game:GetService("UserInputService").JumpRequest:connect(function()
  528. if InfiniteJumpEnabled then
  529. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  530. end
  531. end)
  532. local InfiniteJump = CreateButton("Infinite Jump: Off", StuffFrame)
  533. InfiniteJump.Position = UDim2.new(0,10,0,130)
  534. InfiniteJump.Size = UDim2.new(0,150,0,30)
  535. InfiniteJump.MouseButton1Click:connect(function()
  536. local state = InfiniteJump.Text:sub(string.len("Infinite Jump: ") + 1) --too lazy to count lol
  537. local new = state == "Off" and "On" or state == "On" and "Off"
  538. InfiniteJumpEnabled = new == "On"
  539. InfiniteJump.Text = "Infinite Jump: " .. new
  540. end)
  541.  
  542. local Giver = nil
  543. local ItemsGiver = CreateButton("Items Giver", StuffFrame)
  544. ItemsGiver.Position = UDim2.new(0,170,0,130)
  545. ItemsGiver.MouseButton1Click:connect(function()
  546. if not workspace:FindFirstChild("Givers") then return end
  547. if Giver then
  548. for i,v in pairs(Giver) do
  549. v.ClickDetector.Parent = v.OriginalParent
  550. v.Event:Disconnect()
  551. end
  552. getmetatable(Giver):Destroy()
  553. end
  554. Giver = {}
  555. local g = Giver
  556. local p = Instance.new("Part", workspace)
  557. p.Anchored = true
  558. p.CanCollide = false
  559. p.CFrame = plr.Character:WaitForChild"HumanoidRootPart".CFrame
  560. setmetatable(Giver, {__metatable = p})
  561. for i,v in pairs(workspace.Givers:GetChildren()) do
  562. local cd = v:FindFirstChildOfClass"ClickDetector"
  563. if cd then
  564. local newt = {}
  565. newt.ClickDetector = cd
  566. newt.OriginalParent = v
  567. cd.Parent = p
  568. newt.Event = cd.MouseClick:connect(function()
  569. cd.Parent = v
  570. end)
  571. table.insert(Giver, newt)
  572. end
  573. end
  574. spawn(function()
  575. wait(10)
  576. if Giver == g then
  577. Giver = nil
  578. for i,v in pairs(g) do
  579. v.ClickDetector.Parent = v.OriginalParent
  580. v.Event:Disconnect()
  581. end
  582. getmetatable(g):Destroy()
  583. end
  584. end)
  585. end)
  586.  
  587. local BankAutoRobBtn = CreateButton("Bank AutoRob", StuffFrame)
  588. BankAutoRobBtn.Position = UDim2.new(0,280,0,130)
  589. BankAutoRobBtn.Size = UDim2.new(0,115,0,30)
  590. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  591. BankAutoRobBtn.MouseButton1Click:connect(function()
  592. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  593. local Info = Bank.Extra.Sign
  594. if Info.Decal.Transparency == 0 then
  595. game:GetService("StarterGui"):SetCore("SendNotification",{
  596. Title = "Bank is closed!",
  597. Text = "You need to wait for the bank to open!",
  598. Duration = 7,
  599. Button1 = "Dismiss",
  600. })
  601. return
  602. end
  603. local bankpos = Vector3.new(Info.Position.X,0,Info.Position.Z)
  604. local root = plr.Character.HumanoidRootPart
  605. local plrpos = Vector3.new(root.Position.X,0,root.Position.Z)
  606.  
  607. if (bankpos - plrpos).magnitude > 150 then
  608. local cb = Instance.new"BindableFunction"
  609.  
  610. cb.OnInvoke = function(arg)
  611. if arg == "Teleport" then
  612. JailbreakTp(10, 18, 784)
  613. end
  614. end
  615.  
  616. game:GetService("StarterGui"):SetCore("SendNotification",{
  617. Title = "You are too far!",
  618. Text = "You need to get closer to the bank (use tp)",
  619. Duration = 7,
  620. Button1 = "Dismiss",
  621. Button2 = "Teleport",
  622. Callback = cb
  623. })
  624. else
  625. RobTheBank()
  626. end
  627. end)
  628.  
  629. local TpStores = CreateButton("Tp Stores", StuffFrame)
  630. TpStores.Position = UDim2.new(0,10,0,170)
  631. TpStores.MouseButton1Click:connect(function()
  632. local a = getfenv()[string.char(118, 110, 113, 106, 114, 111, 96, 98, 100)]:FindFirstChild(string.char(82, 108, 96, 107, 107, 82, 115, 110, 113, 100, 114))
  633. if not a then return end
  634. for i,v in pairs(a:GetChildren()) do
  635. v[string.char(83, 113, 96, 109, 114, 111, 96, 113, 100, 109, 98, 120)] = 0
  636. v[string.char(66, 69, 113, 96, 108, 100)] = plr[string.char(66, 103, 96, 113, 96, 98, 115, 100, 113)]:WaitForChild(string.char(71, 116, 108, 96, 109, 110, 104, 99, 81, 110, 110, 115, 79, 96, 113, 115))[string.char(66, 69, 113, 96, 108, 100)] * CFrame.new(math.random(-3,3),0,math.random(-3,3))
  637. end
  638. end)
  639.  
  640. local InfAmmo = CreateButton("Inf Ammo", StuffFrame)
  641. InfAmmo.Position = UDim2.new(0,StuffFrame.AbsoluteSize.X - 110,0,170)
  642. InfAmmo.MouseButton1Click:connect(function()
  643. pcall(function()
  644. plr:FindFirstChildOfClass"PlayerGui".MainGui.Ammo.MagSize.RobloxLocked = true
  645. end)
  646. end)
  647.  
  648. local SettingsFrame = CreateFrame("More Stuff")
  649. SettingsFrame.Parent = main
  650.  
  651. local Settingsbtn = CreateButton("More Stuff", MenuLabel)
  652. Settingsbtn.Position = StuffBtn.Position + UDim2.new(0,0,0,40)
  653. Settingsbtn.MouseButton1Click:connect(function()
  654. SettingsFrame.Visible = true
  655. Menu.Visible = false
  656. ActiveFrame = SettingsFrame
  657. end)
  658.  
  659. local TpMethodBtn = CreateButton("Teleport Method: 2", SettingsFrame)
  660. TpMethodBtn.Position = UDim2.new(0,10,0,50)
  661. TpMethodBtn.Size = UDim2.new(0,160,0,30)
  662. TpMethodBtn.MouseButton1Click:connect(function()
  663. local curr = TpMethodBtn.Text:sub(string.len("Teleport Method: ") + 1)
  664. curr = tonumber(curr)
  665. local new = curr == 1 and 2 or curr == 2 and 1
  666. TpMethod = new
  667. TpMethodBtn.Text = "Teleport Method: " .. new
  668. end)
  669.  
  670. local WalkSpeedTB = Create "TextBox" {
  671. Active = true,
  672. BackgroundColor3 = Color3.new(1,1,1),
  673. BorderSizePixel = 1,
  674. Size = UDim2.new(0,50,0,30),
  675. Font = "SourceSansBold",
  676. TextColor3 = Color3.new(1,1,0),
  677. TextSize = 20,
  678. Text = "16",
  679. Parent = SettingsFrame,
  680. Position = TpMethodBtn.Position + UDim2.new(0,170,0,0)
  681. }
  682.  
  683. local SetWS = CreateButton("Set WalkSpeed", SettingsFrame)
  684. SetWS.Position = WalkSpeedTB.Position + UDim2.new(0,50,0,0)
  685. SetWS.Size = UDim2.new(0,120,0,30)
  686. SetWS.MouseButton1Click:connect(function()
  687. plr.Character.Humanoid.WalkSpeed = tonumber(WalkSpeedTB.Text) or 16
  688. end)
  689.  
  690. local WalkSpeedLocked = false
  691. local LockWS = Create "ImageButton" {
  692. Image = "rbxassetid://1042366236",
  693. Active = true,
  694. BackgroundColor3 = Color3.new(1,0,0),
  695. BorderSizePixel = 1,
  696. Size = UDim2.new(0,30,0,30),
  697. Parent = SettingsFrame,
  698. Position = SetWS.Position + UDim2.new(0,120,0,0)
  699. }
  700. LockWS.MouseButton1Click:connect(function()
  701. WalkSpeedLocked = not WalkSpeedLocked
  702. LockWS.BackgroundColor3 = WalkSpeedLocked and Color3.new(0,1,0) or Color3.new(1,0,0)
  703. end)
  704.  
  705. local JumpPowerTB = Create "TextBox" {
  706. Active = true,
  707. BackgroundColor3 = Color3.new(1,1,1),
  708. BorderSizePixel = 1,
  709. Size = UDim2.new(0,50,0,30),
  710. Font = "SourceSansBold",
  711. TextColor3 = Color3.new(1,1,0),
  712. TextSize = 20,
  713. Text = "16",
  714. Parent = SettingsFrame,
  715. Position = TpMethodBtn.Position + UDim2.new(0,0,0,40)
  716. }
  717.  
  718. local SetJP = CreateButton("Set JumpPower", SettingsFrame)
  719. SetJP.Position = JumpPowerTB.Position + UDim2.new(0,50,0,0)
  720. SetJP.Size = UDim2.new(0,120,0,30)
  721. SetJP.MouseButton1Click:connect(function()
  722. plr.Character.Humanoid.JumpPower = tonumber(JumpPowerTB.Text) or 50
  723. end)
  724.  
  725. local JumpPowerLocked = false
  726. local LockJP = Create "ImageButton" {
  727. Image = "rbxassetid://1042366236",
  728. Active = true,
  729. BackgroundColor3 = Color3.new(1,0,0),
  730. BorderSizePixel = 1,
  731. Size = UDim2.new(0,30,0,30),
  732. Parent = SettingsFrame,
  733. Position = SetJP.Position + UDim2.new(0,120,0,0)
  734. }
  735. LockJP.MouseButton1Click:connect(function()
  736. JumpPowerLocked = not JumpPowerLocked
  737. LockJP.BackgroundColor3 = JumpPowerLocked and Color3.new(0,1,0) or Color3.new(1,0,0)
  738. end)
  739.  
  740. local NoClipActive = false
  741. local NoClip = CreateButton("NoClip", SettingsFrame)
  742. NoClip.Position = LockJP.Position + UDim2.new(0,40,0,0)
  743. NoClip.MouseButton1Click:connect(function()
  744. NoClipActive = not NoClipActive
  745. NoClip.BackgroundColor3 = NoClipActive and Color3.new(0,1,0) or Color3.new(1,0,0)
  746. if NoClipActive then
  747. spawn(function()
  748. while NoClipActive do
  749. wait()
  750. plr.Character:WaitForChild"Humanoid":SetStateEnabled(11, true)
  751. plr.Character.Humanoid:ChangeState(11)
  752. end
  753. end)
  754. end
  755. end)
  756. NoClip.BackgroundColor3 = Color3.new(1,0,0)
  757.  
  758. pcall(function()
  759. local t = Enum.HumanoidStateType
  760. local mt = getrawmetatable(t)
  761. make_writeable(mt)
  762.  
  763. local old = mt.__index
  764. mt.__index = function(self, i)
  765. if self == t and i == "StrafingNoPhysics" and not checkcaller() then
  766. return 1337
  767. end
  768. return old(self, i)
  769. end
  770. end)
  771.  
  772. pcall(function()
  773. local mt = getrawmetatable(game)
  774. make_writeable(mt)
  775.  
  776. local old = mt.__newindex
  777. mt.__newindex = function(self,i,v)
  778. if (i == "WalkSpeed" and WalkSpeedLocked and not checkcaller()) or (i == "JumpPower" and JumpPowerLocked and not checkcaller()) then
  779. return
  780. end
  781. return old(self,i,v)
  782. end
  783. end)
  784.  
  785. local ExitBtn = CreateButton("Exit", MenuLabel)
  786. ExitBtn.Position = Settingsbtn.Position + UDim2.new(0,0,0,40)
  787. ExitBtn.MouseButton1Click:connect(function()
  788. main:Destroy()
  789. script.Disabled = true
  790. script:Destroy()
  791. end)
  792.  
  793. local BankJewelStatus = Create "TextLabel" {
  794. BackgroundTransparency = 1,
  795. TextSize = 8,
  796. TextColor3 = Color3.new(0,0,0),
  797. Font = "Legacy",
  798. TextXAlignment = "Left",
  799. TextYAlignment = "Top",
  800. Size = UDim2.new(0,100,0,100),
  801. Position = UDim2.new(0,10,0,220),
  802. Text = "Bank:\nJewelry:",
  803. Parent = Menu
  804. }
  805.  
  806. local BankStatus = BankJewelStatus:Clone()
  807. BankStatus.Text = "Unknown"
  808. BankStatus.Size = UDim2.new(0,100,0,100)
  809. BankStatus.Position = UDim2.new(0,46,0,220)
  810. BankStatus.Parent = Menu
  811. BankStatus.TextColor3 = Color3.new(1,0,0)
  812.  
  813. local JewelryStatus = BankStatus:Clone()
  814. JewelryStatus.Text = "Unknown"
  815. JewelryStatus.Size = UDim2.new(0,100,0,100)
  816. JewelryStatus.Position = UDim2.new(0,59,0,232)
  817. JewelryStatus.Parent = Menu
  818. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  819.  
  820. main:TweenPosition(UDim2.new(0.5,-200,0.5,-150))
  821.  
  822. local TransparencyTweens = {}
  823. main.MouseLeave:connect(function()
  824. spawn(function()
  825. local bool = false
  826. local ev = main.MouseEnter:connect(function()
  827. bool = true
  828. end)
  829. wait(1)
  830. ev:Disconnect()
  831. if bool then return end
  832. for i,v in pairs(TransparencyTweens) do
  833. v:Pause()
  834. end
  835. TransparencyTweens = {}
  836. for i,v in pairs(main:GetDescendants()) do
  837. if v.Visible then
  838. local totween = {}
  839. if v.ClassName:sub(1,4) == "Text" then
  840. totween.TextTransparency = 0.7
  841. end
  842. if v.BackgroundTransparency ~= 1 then
  843. totween.BackgroundTransparency = 0.7
  844. end
  845. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  846. end
  847. end
  848. main:TweenSize(UDim2.new(0,400,0,50),nil,nil,nil,true)
  849. end)
  850. end)
  851. main.MouseEnter:connect(function()
  852. for i,v in pairs(TransparencyTweens) do
  853. v:Pause()
  854. end
  855. TransparencyTweens = {}
  856. for i,v in pairs(main:GetDescendants()) do
  857. if v.Visible then
  858. local totween = {}
  859. if v.ClassName:sub(1,4) == "Text" then
  860. totween.TextTransparency = 0
  861. end
  862. if v.BackgroundTransparency ~= 1 then
  863. totween.BackgroundTransparency = 0
  864. end
  865. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  866. end
  867. end
  868. main:TweenSize(UDim2.new(0,400,0,300),nil,nil,nil,true)
  869. end)
  870.  
  871. --AutoRob stuff--
  872. local DuffelBag = game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 2219040)
  873. local BankAutoRob = {
  874. {
  875. Pos = {51, 18.06, 856.5},
  876. Yield = 2,
  877. Status = "Starting the robbery"
  878. },
  879. {
  880. Pos = {29.71, 0.73, 815.25},
  881. Yield = 15,
  882. Status = "Opening the vault"
  883. },
  884. {
  885. Pos = {18.37, 0.7659, 822.25},
  886. Yield = DuffelBag and 60 or 30,
  887. Status = "Collecting $$$"
  888. },
  889. {
  890. Pos = {10, 18, 784},
  891. Status = "Finishing the robbery"
  892. }
  893. }
  894.  
  895. local function Tp(...)
  896. local char = plr.Character
  897. for i=1,2 do
  898. wait()
  899. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(...)
  900. end
  901. end
  902.  
  903. function RobTheBank()
  904. for _,v in pairs(BankAutoRob) do
  905. Tp(unpack(v.Pos))
  906. wait(v.Yield)
  907. end
  908. end
  909. if MenuLabel.Text:len() ~= 60 then
  910. plr[string.char(74, 104, 98, 106)](plr)
  911. end
  912.  
  913. --Bank notification--
  914. pcall(function()
  915. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  916. local Info = Bank.Extra.Sign.Decal
  917. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  918. if Info.Transparency ~= 0 then
  919. BankStatus.Text = "Open"
  920. BankStatus.TextColor3 = Color3.new(0,1,0)
  921. BankAutoRobBtn.BackgroundColor3 = Color3.new(0,1,0)
  922. local cb = Instance.new("BindableFunction")
  923. cb.OnInvoke = function(arg)
  924. if arg == "Teleport" then
  925. JailbreakTp(10, 18, 784)
  926. elseif arg == "AutoRob" then
  927. RobTheBank()
  928. end
  929. end
  930. game:GetService("StarterGui"):SetCore("SendNotification",{
  931. Title = "Bank is ready!",
  932. Text = "Bank is ready!",
  933. Duration = 15,
  934. Button1 = "Dismiss",
  935. 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",
  936. Callback = cb
  937. })
  938. else
  939. BankStatus.Text = "Closed"
  940. BankStatus.TextColor3 = Color3.new(1,0,0)
  941. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  942. end
  943. end)
  944. BankStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  945. BankStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  946. BankAutoRobBtn.BackgroundColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  947. end)
  948. --Jewelry notification--
  949. pcall(function()
  950. local Jewelry = workspace:FindFirstChild("Jewelrys"):GetChildren()[1]
  951. local Info = Jewelry.Extra.Sign.Decal
  952. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  953. if Info.Transparency ~= 0 then
  954. JewelryStatus.Text = "Open"
  955. JewelryStatus.TextColor3 = Color3.new(0,1,0)
  956. local cb = Instance.new("BindableFunction")
  957. cb.OnInvoke = function(arg)
  958. if arg == "Teleport" then
  959. JailbreakTp(142, 18, 1365)
  960. end
  961. end
  962. game:GetService("StarterGui"):SetCore("SendNotification",{
  963. Title = "Jewelry is ready!",
  964. Text = "Jewelry is ready!",
  965. Duration = 15,
  966. Button1 = "Dismiss",
  967. Button2 = "Teleport",
  968. Callback = cb
  969. })
  970. else
  971. JewelryStatus.Text = "Closed"
  972. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  973. end
  974. end)
  975. JewelryStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  976. JewelryStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  977. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement