Advertisement
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 Ninja = Instance.new("Frame")
- local BarA = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local BarB = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local Farm = Instance.new("TextButton")
- local Sell = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Ninja.Name = "Ninja"
- Ninja.Parent = ScreenGui
- Ninja.BackgroundColor3 = Color3.new(0, 0, 0)
- Ninja.Position = UDim2.new(0.336457372, 0, 0.310756981, 0)
- Ninja.Size = UDim2.new(0, 349, 0, 190)
- BarA.Name = "BarA"
- BarA.Parent = Ninja
- BarA.BackgroundColor3 = Color3.new(1, 1, 1)
- BarA.BorderSizePixel = 0
- BarA.Size = UDim2.new(0, 349, 0, 33)
- Title.Name = "Title"
- Title.Parent = BarA
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0.212034389, 0, 0, 0)
- Title.Size = UDim2.new(0, 200, 0, 33)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "Ninja Master Auto Farm"
- Title.TextColor3 = Color3.new(0, 0, 0)
- Title.TextSize = 33
- BarB.Name = "BarB"
- BarB.Parent = Ninja
- BarB.BackgroundColor3 = Color3.new(1, 1, 1)
- BarB.BorderSizePixel = 0
- BarB.Position = UDim2.new(0, 0, 0.826315761, 0)
- BarB.Size = UDim2.new(0, 349, 0, 33)
- Close.Name = "Close"
- Close.Parent = Ninja
- Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- Close.Position = UDim2.new(0.936962724, 0, 0, 0)
- Close.Size = UDim2.new(0, 22, 0, 33)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 23
- Farm.Name = "Farm"
- Farm.Parent = Ninja
- Farm.BackgroundColor3 = Color3.new(1, 1, 1)
- Farm.Position = UDim2.new(0.303724945, 0, 0.236842066, 0)
- Farm.Size = UDim2.new(0, 137, 0, 35)
- Farm.Font = Enum.Font.SourceSans
- Farm.Text = "Auto Farm"
- Farm.TextColor3 = Color3.new(0, 0, 0)
- Farm.TextSize = 30
- Sell.Name = "Sell"
- Sell.Parent = Ninja
- Sell.BackgroundColor3 = Color3.new(1, 1, 1)
- Sell.Position = UDim2.new(0.303724915, 0, 0.578947365, 0)
- Sell.Size = UDim2.new(0, 137, 0, 35)
- Sell.Font = Enum.Font.SourceSans
- Sell.Text = "Auto Sell"
- Sell.TextColor3 = Color3.new(0, 0, 0)
- Sell.TextSize = 30
- -- Scripts:
- Farm.MouseButton1Down:connect(function()
- local Options = {
- ["Start Area Back"] = true, -- Starting Area (true if you wanna farm it)
- ["Autumn"] = true, -- Autumn Area (true if you wanna farm it)
- ["Frostland"] = true, -- Frostland Area (true if you wanna farm it)
- ["Inferno"] = true, -- Inferno Zone (true if you wanna farm it)
- ["Voidland"] = true,
- ["Skyland"] = true,
- ["Grassland"] = true,
- ["Iceland"] = true,
- }
- local Weapon;
- _G.StopFarming = false
- function GetWeapon()
- local Found = false
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- if v:FindFirstChild("Katana") then
- Weapon = v
- Found = true
- end
- end
- end
- if Found == false then
- for a,b in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if b:IsA("Tool") then
- if b:FindFirstChild("Katana") then
- b.Parent = game.Players.LocalPlayer.Character
- Weapon = b
- Found = true
- end
- end
- end
- end
- end
- GetWeapon()
- function CheckWeapon()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- if v:FindFirstChild("Katana") then
- Weapon = v
- return true
- else
- return false
- end
- end
- end
- end
- local NotDoneYet = false
- repeat
- wait()
- for i,v in pairs(game.Workspace.NPCs.Spawns:GetChildren()) do
- if v.Name == "Start Area Back" and Options["Start Area Back"] == true or v.Name == "Autumn" and Options["Autumn"] == true or v.Name == "Frostland" and Options["Frostland"] == true or v.Name == "Inferno" and Options["Inferno"] == true or v.Name == "Voidland" and Options["Voidland"] == true or v.Name == "Skyland" and Options["Skyland"] == true or v.Name == "Grassland" and Options["Grassland"] == true or v.Name == "Iceland" and Options["Iceland"] == true then
- local a = v:GetChildren()
- for i=1,#a do
- if a[i].Name:match("Ninja") then
- if a[i]:FindFirstChild("Humanoid") and a[i].Humanoid.Health > 0 and a[i]:FindFirstChild("HumanoidRootPart") then
- local ItsNil = false
- repeat
- wait()
- if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and a[i]:FindFirstChild("HumanoidRootPart") then
- if CheckWeapon() then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a[i].HumanoidRootPart.CFrame + a[i].HumanoidRootPart.CFrame.lookVector * -3
- wait()
- Weapon:Activate()
- wait()
- Weapon:Deactivate()
- else
- GetWeapon()
- end
- else
- ItsNil = true
- end
- until ItsNil == true or a[i].Humanoid.Health <= 0 or _G.StopFarming == true
- if _G.StopFarming == false then
- wait(0.9)
- else
- wait()
- end
- if _G.StopFarming == true and NotDoneYet == false then
- NotDoneYet = true
- wait(1)
- end
- end
- end
- end
- end
- end
- until _G.StopFarming == true
- end)
- Sell.MouseButton1Click:Connect(function()
- _G.sell = true
- while _G.sell do
- wait()
- game.Workspace.Rings.Sell.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end
- end)
- Close.MouseButton1Down:connect(function()
- ScreenGui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement