Advertisement
racemodex

prison break AUTO ROB (open source)

May 24th, 2020
816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.99 KB | None | 0 0
  1. if not getconnections then
  2.     game.Players.LocalPlayer:kick("Your Exploit Can't Support The Gui")
  3.     return
  4. end
  5.  
  6. local library = loadstring(game:HttpGet(('https://pastebin.com/raw/7KRRizCw')))()
  7. local w = library:CreateWindow("Prison Break")
  8. local b = w:CreateFolder("Auto Rob")
  9. b:Label("Statue : Loading",Color3.fromRGB(38,38,38),Color3.fromRGB(255,0,0))
  10.  
  11. b:Toggle("Toggle",function(bool)
  12.     shared.toggle = bool
  13. end)
  14.  
  15.  
  16. function changestatue(message,color)
  17.     pcall(function()
  18.     for i,v in pairs(game.CoreGui:GetDescendants()) do
  19.         if v.Name == "HiI'mSexyDon'tTouchMePls" then
  20.             local gui = v.Parent
  21.             gui:FindFirstChild("TopBar").Content.Section.Label.Title.Text = "Statue : "..message
  22.             gui:FindFirstChild("TopBar").Content.Section.Label.Title.TextScaled = true
  23.             if color == "red" then
  24.             gui:FindFirstChild("TopBar").Content.Section.Label.Title.TextColor3 = Color3.fromRGB(255,0,0)
  25.             elseif color == "green" then
  26.             gui:FindFirstChild("TopBar").Content.Section.Label.Title.TextColor3 = Color3.fromRGB(0,200,0)
  27.              end
  28.         end
  29.     end
  30. end)
  31. end
  32.  
  33.  
  34. while wait() do
  35. if shared.toggle == true then
  36. if game.Players.LocalPlayer.Team.Name == "Criminal" then
  37. pcall(function()
  38. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.WorkspaceGUI_Storage:GetChildren()) do
  39. if v:IsA("BillboardGui") and v.Name == "Rob_BBGui" then
  40. v.Adornee = game.Players.LocalPlayer.Character.HumanoidRootPart
  41. changestatue(tostring("Searching"),"green")
  42. if v.Enabled == true or v:FindFirstChild("Enabled").Value == true and shared.toggle == true then
  43. for i3,v3 in pairs(getconnections(v.Detector_TxtBtn.MouseButton1Down))do
  44. v3:Fire()
  45. changestatue(tostring("Robbing"),"green")
  46. wait(4)
  47. end
  48. for i4,v4 in pairs(getconnections(v.Detector_TxtBtn.MouseButton1Up))do
  49. v4:Fire()
  50. return
  51. end
  52. end
  53. end
  54. end
  55. end)
  56. else
  57. changestatue(tostring("Be a Criminal"),"red")
  58. end
  59. else
  60. changestatue(tostring("Not Toggled"),"red")
  61. end
  62. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement