gogo92111

Untitled

May 4th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local Frame_2 = Instance.new("Frame")
  7. local TextButton = Instance.new("TextButton")
  8. local Money = Instance.new("TextButton")
  9. local TextButton_2 = Instance.new("TextButton")
  10. local on = 0
  11. local once = 0
  12. local once2 = 0
  13. --Properties:
  14. ScreenGui.Parent = game.CoreGui
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  19. Frame.Position = UDim2.new(0.430139005, 0, 0.467422128, 0)
  20. Frame.Size = UDim2.new(0, 98, 0, 11)
  21. Frame.Draggable = true;
  22. Frame.Active = true
  23.  
  24. Frame_2.Parent = Frame
  25. Frame_2.BackgroundColor3 = Color3.new(0.54902, 0.54902, 0.54902)
  26. Frame_2.Position = UDim2.new(0, 0, 0.934714556, 0)
  27. Frame_2.Size = UDim2.new(0, 98, 0, 102)
  28.  
  29.  
  30. TextButton.Parent = Frame_2
  31. TextButton.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
  32. TextButton.Position = UDim2.new(0, 0, 0.33066228, 0)
  33. TextButton.Size = UDim2.new(0, 98, 0, 34)
  34. TextButton.Font = Enum.Font.SourceSans
  35. TextButton.Text = "KillAll"
  36. TextButton.TextColor3 = Color3.new(0, 0, 0)
  37. TextButton.TextSize = 14
  38.  
  39. TextButton.MouseButton1Click:connect(function()
  40. print(on)
  41. if once == 0 then
  42. spawn(Kill)
  43. once = 1
  44. end
  45. if on == 0 or on == 1 then
  46. local success, message = pcall(function()
  47. on = on + 1
  48. TextButton.Text = "KillAll:On"
  49. end)
  50.  
  51. end
  52. if on == 2 then
  53.  
  54. on = 0
  55. TextButton.Text = "KillAll:Off"
  56. end
  57. end)
  58. Money.Name = "Money"
  59. Money.Parent = Frame_2
  60. Money.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
  61. Money.Position = UDim2.new(0, 0, 0.0105608776, 0)
  62. Money.Size = UDim2.new(0, 98, 0, 33)
  63. Money.Font = Enum.Font.SourceSans
  64. Money.Text = "MoneyFarm"
  65. Money.TextColor3 = Color3.new(0, 0, 0)
  66. Money.TextSize = 14
  67. Money.MouseButton1Click:connect(function()
  68. function Money()
  69. while wait(0.5) do
  70. local Remote = game.ReplicatedStorage['RemoteEvent']
  71. Remote:FireServer("cash")
  72. end
  73. end
  74. if once2 == 0 then
  75. spawn(Money)
  76. once2 = 1
  77. end
  78. end)
  79.  
  80. TextButton_2.Parent = Frame_2
  81. TextButton_2.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
  82. TextButton_2.Position = UDim2.new(0, 0, 0.663142085, 0)
  83. TextButton_2.Size = UDim2.new(0, 98, 0, 34)
  84. TextButton_2.Font = Enum.Font.SourceSans
  85. TextButton_2.Text = "Inf Ammo"
  86. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  87. TextButton_2.TextSize = 14
  88. TextButton_2.MouseButton1Click:connect(function()
  89. --[[
  90. for _,v in next, debug.getregistry() do
  91. if typeof(v) == "function" then
  92. if debug.getupvalue(v, "ammo") then
  93. a = debug.setupvalue
  94. a(v, "ammo", 999)
  95. print("Ammo Changed")
  96.  
  97. end
  98. end
  99. end
  100. --]]
  101. for _,a in pairs(debug.getregistry()) do
  102. if type(a) == "function" and pcall(function() return debug.getupvalues(a) end) then
  103. for i,v in pairs(debug.getupvalues(a)) do
  104. if tonumber(i) == 4 and type(v) == "number" and v <= 5 then
  105. debug.setupvalue(a,i,math.huge)
  106. end
  107. end
  108. end
  109. end
  110. end)
  111. -- Scripts:
  112. function Kill()
  113.  
  114. while wait(1) do
  115.  
  116. if on == 1 then
  117. local Remote = game.ReplicatedStorage['RemoteEvent']
  118. local yourpos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  119.  
  120. local success, message = pcall(function()
  121.  
  122. while on == 1 do
  123. print("Still runnig?")
  124. local Players = game.Players:GetPlayers()
  125. for i,Player in ipairs (Players) do
  126. wait(0.05)
  127. if game.Players.LocalPlayer.Backpack:FindFirstChild("Gun") then
  128. wait(1)
  129. if on == 1 then
  130. game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Gun)
  131. end
  132. end
  133.  
  134. local Character = Player.Character
  135.  
  136. if Player == game.Players.LocalPlayer and on == 1 then
  137. print("Bypassed killing: ", game.Players.LocalPlayer)
  138. else
  139.  
  140.  
  141. local me = game.Players.LocalPlayer.Character
  142.  
  143. local success, message = pcall(function()
  144. if on == 1 then
  145. for a = 1,15 do
  146. local targetplayer = Character.HumanoidRootPart
  147.  
  148. wait(0.00001)
  149. me.HumanoidRootPart.CFrame = CFrame.new(targetplayer.Position.X, targetplayer.Position.Y + 5, targetplayer.Position.Z)
  150. Remote:FireServer("aim",game.Players.LocalPlayer.Character.Gun,game.Players.LocalPlayer.Character.HumanoidRootPart.Position,Character.UpperTorso,Character.HumanoidRootPart.Position)
  151. end
  152. end
  153. end)
  154.  
  155. if success then
  156.  
  157. else
  158. print("Error!: ", message)
  159. end
  160. end
  161. end
  162. end
  163. end)
  164. if success then
  165.  
  166. else
  167. print("Error!: ", message)
  168. end
  169. else
  170.  
  171. print("Stopped")
  172.  
  173.  
  174. end
  175.  
  176. end
  177.  
  178. end
Add Comment
Please, Sign In to add comment