Advertisement
nguyenminhnghia

a

Mar 3rd, 2019
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. sunflower=false;dan=false;blue=false;mush=false;spider=false
  2. local l__I=Instance.new("ScreenGui")local _I=Instance.new("ImageLabel")
  3. local _lI=Instance.new("ImageLabel")local __II=Instance.new("TextLabel")
  4. local II=Instance.new("ScrollingFrame")local lI=Instance.new("TextButton")
  5. local _ll=Instance.new("TextButton")local __Il=Instance.new("TextButton")
  6. local Il=Instance.new("TextButton")local ll=Instance.new("TextButton")
  7. local ___l=Instance.new("TextButton")local _l__l=Instance.new("ImageLabel")
  8. local __I__l=Instance.new("TextLabel")
  9. l__I.Parent=game.Players.LocalPlayer:WaitForChild("PlayerGui")l__I.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;_I.Name="Main"
  10. _I.Parent=l__I;_I.BackgroundColor3=Color3.new(1,1,1)_I.BackgroundTransparency=1
  11. _I.Position=UDim2.new(0.47131148,0,0.125,0)_I.Size=UDim2.new(0,407,0,346)
  12. _I.Image="rbxassetid://2260429633"_I.ImageColor3=Color3.new(0.137255,0.137255,0.137255)
  13. _I.ScaleType=Enum.ScaleType.Slice;_I.SliceCenter=Rect.new(12,12,13,13)_lI.Parent=_I
  14. _lI.BackgroundColor3=Color3.new(1,1,1)_lI.BackgroundTransparency=1;_lI.BorderSizePixel=0
  15. _lI.Size=UDim2.new(0,407,0,30)_lI.Image="rbxassetid://2260429633"
  16. _lI.ImageColor3=Color3.new(0.0705882,0.0705882,0.0705882)_lI.ScaleType=Enum.ScaleType.Slice
  17. _lI.SliceCenter=Rect.new(12,12,13,13)__II.Parent=_lI;__II.BackgroundColor3=Color3.new(1,1,1)
  18. __II.BackgroundTransparency=1
  19. __II.Position=UDim2.new(0.0797313377,0,-0.00402683765,0)__II.Size=UDim2.new(0,341,0,25)
  20. __II.Font=Enum.Font.Arcade;__II.Text="Bee Swarm Simulator | Auto Farm"
  21. __II.TextColor3=Color3.new(1,0.666667,0)__II.TextSize=17;II.Parent=_I
  22. II.BackgroundColor3=Color3.new(0.0156863,0.0156863,0.0156863)II.BorderSizePixel=0
  23. II.Position=UDim2.new(0.547911525,0,0.559452236,0)II.Size=UDim2.new(0,169,0,137)
  24. II.CanvasSize=UDim2.new(0,0,20,0)lI.Name="Sun"lI.Parent=II
  25. lI.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)lI.BorderSizePixel=0
  26. lI.Position=UDim2.new(0.0591715984,0,0.00126757706,0)lI.Size=UDim2.new(0,139,0,26)lI.Font=Enum.Font.Arcade
  27. lI.Text="Sunflower"lI.TextColor3=Color3.new(1,0.666667,0)lI.TextSize=14
  28. _ll.Name="Dan"_ll.Parent=II
  29. _ll.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)_ll.BorderSizePixel=0
  30. _ll.Position=UDim2.new(0.0591715984,0,0.00661439775,0)_ll.Size=UDim2.new(0,139,0,26)_ll.Font=Enum.Font.Arcade
  31. _ll.Text="Dandelion"_ll.TextColor3=Color3.new(1,0.666667,0)_ll.TextSize=14
  32. __Il.Name="Mush"__Il.Parent=II
  33. __Il.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)__Il.BorderSizePixel=0
  34. __Il.Position=UDim2.new(0.0591715984,0,0.0121057276,0)__Il.Size=UDim2.new(0,139,0,26)
  35. __Il.Font=Enum.Font.Arcade;__Il.Text="Mushroom"
  36. __Il.TextColor3=Color3.new(1,0.666667,0)__Il.TextSize=14;Il.Name="Blue"Il.Parent=II
  37. Il.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)Il.BorderSizePixel=0
  38. Il.Position=UDim2.new(0.0591715984,0,0.0177415647,0)Il.Size=UDim2.new(0,139,0,26)Il.Font=Enum.Font.Arcade
  39. Il.Text="Blue Flower"Il.TextColor3=Color3.new(1,0.666667,0)Il.TextSize=14
  40. ll.Name="Bamboo"ll.Parent=II
  41. ll.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)ll.BorderSizePixel=0
  42. ll.Position=UDim2.new(0.0591715947,0,0.0236664191,0)ll.Size=UDim2.new(0,139,0,26)ll.Font=Enum.Font.Arcade
  43. ll.Text="Bamboo"ll.TextColor3=Color3.new(1,0.666667,0)ll.TextSize=14
  44. ___l.Name="Spider"___l.Parent=II
  45. ___l.BackgroundColor3=Color3.new(0.243137,0.243137,0.243137)___l.BorderSizePixel=0
  46. ___l.Position=UDim2.new(0.0591715947,0,0.0294467658,0)___l.Size=UDim2.new(0,139,0,26)
  47. ___l.Font=Enum.Font.Arcade;___l.Text="Spider"___l.TextColor3=Color3.new(1,0.666667,0)
  48. ___l.TextSize=14;_l__l.Parent=_I;_l__l.BackgroundColor3=Color3.new(1,1,1)
  49. _l__l.BackgroundTransparency=1;_l__l.BorderSizePixel=0
  50. _l__l.Position=UDim2.new(0.59705162,0,0.488439292,0)_l__l.Size=UDim2.new(0,119,0,21)
  51. _l__l.Image="rbxassetid://2260429633"
  52. _l__l.ImageColor3=Color3.new(0.0705882,0.0705882,0.0705882)_l__l.ScaleType=Enum.ScaleType.Slice
  53. _l__l.SliceCenter=Rect.new(12,12,13,13)__I__l.Parent=_l__l;__I__l.BackgroundColor3=Color3.new(1,1,1)
  54. __I__l.BackgroundTransparency=1
  55. __I__l.Position=UDim2.new(0.15126051,0,-0.0325985849,0)__I__l.Size=UDim2.new(0,92,0,21)
  56. __I__l.Font=Enum.Font.Arcade;__I__l.Text="Auto Farm "
  57. __I__l.TextColor3=Color3.new(1,0.666667,0)__I__l.TextSize=17
  58. lI.MouseButton1Down:connect(function()
  59. if sunflower==true then
  60. local I__l=game:GetService("Players").LocalPlayer;while I__l==nil do wait(0.5)end
  61. local l__l=I__l.Character.HumanoidRootPart;if farmzoneswitched and not viciousbeedetected then PollenFarmActive=false
  62. farmzoneswitchback=true end
  63. I__l=game:GetService("Players").LocalPlayer;local __l_l
  64. I__l.Character.Humanoid.Died:connect(function()resethive=true
  65. PollenFarmActive=false
  66. print("Player: "..tostring(I__l.Name).." has died")end)
  67. local _l_l_l=I__l.Character:FindFirstChild("ProgressLabel",true)if not _l_l_l then print("Backpack not found")end
  68. local __I_l_l=tonumber(_l_l_l.Text:match("%d+$"))
  69. local I_l_l=I__l.Character:FindFirstChildOfClass("Tool")or
  70. I__l.Backpack:FindFirstChildOfClass("Tool")
  71. if
  72. I_l_l==nil or I_l_l:FindFirstChild("ClickEvent")==nil then print("Tool not found")end
  73. if PollenFarmActive then
  74. if Field1AFActive==true then
  75. fieldpos={Vector3.new(-204,3.4,142),Vector3.new(-210,3.4,174),Vector3.new(
  76. -210,3.4,200)}print("Farming Sunflower Field")
  77. if __I_l_l<9999 then
  78. fieldpos={Vector3.new(-220,3.3,220),Vector3.new(
  79. -220,4,180),Vector3.new(-220,4,140),Vector3.new(-220,4,100),Vector3.new(
  80. -190,4,126),Vector3.new(-190,4,166),Vector3.new(-190,4,206)}print("Farming Sunflower Field")else
  81. fieldpos={Vector3.new(93.2,175.35,-188.49),Vector3.new(93.2,175.35,
  82. -141.98),Vector3.new(59.12,175.35,-141.98),Vector3.new(59.12,175.35,
  83. -188.49)}print("Farming Mountain Top Field")end end end;local l_l_l=0;I_l_l.Parent=I__l.Character
  84. workspace.Collectibles.ChildAdded:Connect(function(___I_l)
  85. if
  86. PollenFarmActive then
  87. local _l__I_l=game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  88. if
  89. tostring(___I_l)==tostring(game.Players.LocalPlayer.Name)or tostring(___I_l)=="C"then
  90. if __l_l and
  91. (
  92. ___I_l.Position-_l__I_l.Position).magnitude<=60 then
  93. _l__I_l.CFrame=CFrame.new(___I_l.Position.x,_l__I_l.Position.y,___I_l.Position.z)wait(0.07)_l__I_l.CFrame=CFrame.new(__l_l)wait(0.05)end end end end)wait(0.1)
  94. while
  95. PollenFarmActive and
  96. tonumber(I__l.leaderstats.Pollen.Value)<tonumber(__I_l_l)do wait(0.05)l_l_l=l_l_l+1;if l_l_l>#fieldpos then l_l_l=1 end
  97. for rot=1,4 do local ___I_l=CFrame.Angles(0,
  98. math.pi*.5 *rot,0)__l_l=fieldpos[l_l_l]+
  99. ___I_l.lookVector*10
  100. local _l__I_l=CFrame.new(__l_l)*___I_l;l__l.CFrame=_l__I_l
  101. for i=1,25 do if farmzoneswitched and not viciousbeedetected then
  102. PollenFarmActive=false;farmzoneswitchback=true end;if not
  103. PollenFarmActive then break end;wait(0.2)
  104. I_l_l.ClickEvent:FireServer(__l_l)end;I__l=game:GetService("Players").LocalPlayer
  105. if
  106. tonumber(
  107. I__l.leaderstats.Pollen.Value+1)>tonumber(__I_l_l)then
  108. print("Total Honey: "..
  109. tostring(I__l.leaderstats.Honey.Value)..". Bag Full: "..
  110. tostring(I__l.leaderstats.Pollen.Value))break end end end;__l_l=nil;wait(0.1)
  111. game:GetService("Players").LocalPlayer.Character:MoveTo(game:GetService("Players").LocalPlayer.SpawnPos.Value.p)
  112. if not switchingzone then wait(1)
  113. game:GetService("ReplicatedStorage").Events.PlayerHiveCommand:FireServer("ToggleHoneyMaking")if PollenFarmActive then
  114. repeat wait(0.5)until
  115. game:GetService("Players").LocalPlayer.leaderstats.Pollen.Value<1;wait(8)end end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement