Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local Money = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local on = 0
- local once = 0
- local once2 = 0
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0.430139005, 0, 0.467422128, 0)
- Frame.Size = UDim2.new(0, 98, 0, 11)
- Frame.Draggable = true;
- Frame.Active = true
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0.54902, 0.54902, 0.54902)
- Frame_2.Position = UDim2.new(0, 0, 0.934714556, 0)
- Frame_2.Size = UDim2.new(0, 98, 0, 102)
- TextButton.Parent = Frame_2
- TextButton.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
- TextButton.Position = UDim2.new(0, 0, 0.33066228, 0)
- TextButton.Size = UDim2.new(0, 98, 0, 34)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "KillAll"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Click:connect(function()
- print(on)
- if once == 0 then
- spawn(Kill)
- once = 1
- end
- if on == 0 or on == 1 then
- local success, message = pcall(function()
- on = on + 1
- TextButton.Text = "KillAll:On"
- end)
- end
- if on == 2 then
- on = 0
- TextButton.Text = "KillAll:Off"
- end
- end)
- Money.Name = "Money"
- Money.Parent = Frame_2
- Money.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
- Money.Position = UDim2.new(0, 0, 0.0105608776, 0)
- Money.Size = UDim2.new(0, 98, 0, 33)
- Money.Font = Enum.Font.SourceSans
- Money.Text = "MoneyFarm"
- Money.TextColor3 = Color3.new(0, 0, 0)
- Money.TextSize = 14
- Money.MouseButton1Click:connect(function()
- function Money()
- while wait(0.5) do
- local Remote = game.ReplicatedStorage['RemoteEvent']
- Remote:FireServer("cash")
- end
- end
- if once2 == 0 then
- spawn(Money)
- once2 = 1
- end
- end)
- TextButton_2.Parent = Frame_2
- TextButton_2.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
- TextButton_2.Position = UDim2.new(0, 0, 0.663142085, 0)
- TextButton_2.Size = UDim2.new(0, 98, 0, 34)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Inf Ammo"
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextSize = 14
- TextButton_2.MouseButton1Click:connect(function()
- --[[
- for _,v in next, debug.getregistry() do
- if typeof(v) == "function" then
- if debug.getupvalue(v, "ammo") then
- a = debug.setupvalue
- a(v, "ammo", 999)
- print("Ammo Changed")
- end
- end
- end
- --]]
- for _,a in pairs(debug.getregistry()) do
- if type(a) == "function" and pcall(function() return debug.getupvalues(a) end) then
- for i,v in pairs(debug.getupvalues(a)) do
- if tonumber(i) == 4 and type(v) == "number" and v <= 5 then
- debug.setupvalue(a,i,math.huge)
- end
- end
- end
- end
- end)
- -- Scripts:
- function Kill()
- while wait(1) do
- if on == 1 then
- local Remote = game.ReplicatedStorage['RemoteEvent']
- local yourpos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- local success, message = pcall(function()
- while on == 1 do
- print("Still runnig?")
- local Players = game.Players:GetPlayers()
- for i,Player in ipairs (Players) do
- wait(0.05)
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Gun") then
- wait(1)
- if on == 1 then
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Gun)
- end
- end
- local Character = Player.Character
- if Player == game.Players.LocalPlayer and on == 1 then
- print("Bypassed killing: ", game.Players.LocalPlayer)
- else
- local me = game.Players.LocalPlayer.Character
- local success, message = pcall(function()
- if on == 1 then
- for a = 1,15 do
- local targetplayer = Character.HumanoidRootPart
- wait(0.00001)
- me.HumanoidRootPart.CFrame = CFrame.new(targetplayer.Position.X, targetplayer.Position.Y + 5, targetplayer.Position.Z)
- Remote:FireServer("aim",game.Players.LocalPlayer.Character.Gun,game.Players.LocalPlayer.Character.HumanoidRootPart.Position,Character.UpperTorso,Character.HumanoidRootPart.Position)
- end
- end
- end)
- if success then
- else
- print("Error!: ", message)
- end
- end
- end
- end
- end)
- if success then
- else
- print("Error!: ", message)
- end
- else
- print("Stopped")
- end
- end
- end
Add Comment
Please, Sign In to add comment