Advertisement
Waffle212

Untitled

Mar 28th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local jailbreak = Instance.new("Frame")
  6. local autofarm = Instance.new("TextButton")
  7. local close = Instance.new("TextButton")
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. jailbreak.Name = "jailbreak"
  13. jailbreak.Parent = ScreenGui
  14. jailbreak.Active = true
  15. jailbreak.BackgroundColor3 = Color3.new(1, 0, 0)
  16. jailbreak.Position = UDim2.new(0.114014231, 0, 0.774524093, 0)
  17. jailbreak.Size = UDim2.new(0, 160, 0, 128)
  18. jailbreak.Visible = false
  19.  
  20. autofarm.Name = "autofarm"
  21. autofarm.Parent = jailbreak
  22. autofarm.BackgroundColor3 = Color3.new(0.152941, 0.12549, 1)
  23. autofarm.Position = UDim2.new(-0.00570652634, 0, 0.211250007, 0)
  24. autofarm.Size = UDim2.new(0, 138, 0, 100)
  25. autofarm.Font = Enum.Font.SourceSans
  26. autofarm.Text = "AutoFarm"
  27. autofarm.TextColor3 = Color3.new(0, 0, 0)
  28. autofarm.TextScaled = true
  29. autofarm.TextSize = 14
  30. autofarm.TextWrapped = true
  31.  
  32. close.Name = "close"
  33. close.Parent = jailbreak
  34. close.BackgroundColor3 = Color3.new(1, 1, 1)
  35. close.Position = UDim2.new(0.480707645, 0, 0, 0)
  36. close.Size = UDim2.new(0, 83, 0, 11)
  37. close.Font = Enum.Font.SourceSans
  38. close.Text = "CLOSE"
  39. close.TextColor3 = Color3.new(0, 0, 0)
  40. close.TextScaled = true
  41. close.TextSize = 14
  42. close.TextWrapped = true
  43. -- Scripts:
  44. function SCRIPT_EBZX87_FAKESCRIPT() -- autofarm.LocalScript
  45. local script = Instance.new('LocalScript')
  46. script.Parent = autofarm
  47. script.Parent.MouseButton1Click:Connect(function()
  48. loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
  49. end)
  50.  
  51. end
  52. coroutine.resume(coroutine.create(SCRIPT_EBZX87_FAKESCRIPT))
  53. function SCRIPT_WZIS66_FAKESCRIPT() -- jailbreak.LocalScript
  54. local script = Instance.new('LocalScript')
  55. script.Parent = jailbreak
  56. local UserInputService = game:GetService("UserInputService")
  57.  
  58. local gui = script.Parent
  59.  
  60. local dragging
  61. local dragInput
  62. local dragStart
  63. local startPos
  64.  
  65. local function update(input)
  66. local delta = input.Position - dragStart
  67. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  68. end
  69.  
  70. gui.InputBegan:Connect(function(input)
  71. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  72. dragging = true
  73. dragStart = input.Position
  74. startPos = gui.Position
  75.  
  76. input.Changed:Connect(function()
  77. if input.UserInputState == Enum.UserInputState.End then
  78. dragging = false
  79. end
  80. end)
  81. end
  82. end)
  83.  
  84. gui.InputChanged:Connect(function(input)
  85. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  86. dragInput = input
  87. end
  88. end)
  89.  
  90. UserInputService.InputChanged:Connect(function(input)
  91. if input == dragInput and dragging then
  92. update(input)
  93. end
  94. end)
  95.  
  96. end
  97. coroutine.resume(coroutine.create(SCRIPT_WZIS66_FAKESCRIPT))
  98. function SCRIPT_PCWY67_FAKESCRIPT() -- close.LocalScript
  99. local script = Instance.new('LocalScript')
  100. script.Parent = close
  101. script.Parent.MouseButton1Click:Connect(function()
  102. script.Parent.Parent.Visible = false
  103. end)
  104.  
  105. end
  106. coroutine.resume(coroutine.create(SCRIPT_PCWY67_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement