SHARE
TWEET

LIL SIR MEME VERT

SirMeme Mar 24th, 2019 (edited) 13,872 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _G.Area = "Oddwood" -- Change this to the location you want to farm. 'Farm' 'Residential' 'Oddwood'
  2. _G.ShootCount = 10
  3.  
  4. local Event = game:GetService("ReplicatedStorage")["\240\159\148\165"]
  5. local EntityList = require(game.ReplicatedStorage.Info.EntityList)
  6. local Sell = workspace.Activation.EssenceReturn.Root
  7. local Targets = workspace.DestructableObjects
  8.  
  9. local Player = game.Players.LocalPlayer
  10. local Character = Player.Character
  11.  
  12. local Ability = Player.PlayerGui.MainGui.MainFrame.AbilityButtons.Ability1.aname
  13.  
  14. spawn(function()
  15. while wait() do
  16. Sell.Position = Character.HumanoidRootPart.Position
  17. end
  18. end)
  19.  
  20. while wait() do
  21. local c = Targets:GetChildren()
  22. for i = 1, #c do
  23. if (c[i]:FindFirstChild("ID") and c[i]:FindFirstChild("Alive")) then
  24. if (c[i].Alive.Value == true) then
  25. local EntityOnList = EntityList.Entitys[c[i].ID.Value]
  26. if (EntityOnList and EntityOnList.area == _G.Area) then
  27. local Box = c[i]:FindFirstChild("BoundingBox")
  28. if (Box) then
  29. Character:MoveTo(Box.Position)
  30. for i = 1, _G.ShootCount do
  31. Event:FireServer("UseAbility", Character.Name, Ability.Text, Box.CFrame, Box)
  32. end
  33. wait()
  34. end
  35. end
  36. end
  37. end
  38. end
  39. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top