Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local workspace = game:GetService("Workspace")
- local players = game:GetService("Players")
- local lp = players.LocalPlayer
- local character = lp.Character
- local enemies = {}
- _G.Farm = true
- _G.Find = false
- local function farm()
- for i, k in pairs(workspace.Live:GetChildren()) do
- local strennemies = k.Name
- strennemies = strennemies:lower()
- if strennemies:find("snake l") then
- if k:FindFirstChild("Humanoid") then
- if k.Humanoid.Health ~= 0 and _G.Find == false then
- local New_CFrame = CFrame.new(k.HumanoidRootPart.CFrame.Position)
- local ts = game:GetService("TweenService")
- local uis = game:GetService("UserInputService")
- local char = game.Players.LocalPlayer.Character
- local part = char.HumanoidRootPart
- local ti = TweenInfo.new(1, Enum.EasingStyle.Linear)
- local tp = {CFrame = New_CFrame}
- ts:Create(part, ti, tp):Play()
- wait(1)
- _G.Find = true
- elseif k.Humanoid.Health ~= 0 and _G.Find == true then
- character.CFrame = CFrame.new(k.HumanoidRootPart.CFrame.Position)
- local A_1 =
- {
- [1] = "ml"
- }
- local A_2 = CFrame.new(-6066.57227, 18.9874878, -4477.7959, -0.542069972, -0.178259745, 0.821208596, -0, 0.977241457, 0.212129787, -0.840333402, 0.114989184, -0.529733241)
- local A_3 = nil -- Path contained an invalid instance
- local A_4 = false
- local Event = lp.Backpack.ServerTraits.Input
- Event:FireServer(A_1, A_2, A_3, A_4)
- else
- _G.Find = false
- k:remove()
- farm()
- end
- break
- else
- _G.Find = false
- wait()
- farm()
- end
- end
- end
- end
- while _G.Farm do
- wait()
- farm()
- end
Advertisement
Add Comment
Please, Sign In to add comment