Advertisement
BrianBoy_RB

Kocmoc

Jan 3rd, 2023 (edited)
1,547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 98.43 KB | None | 0 0
  1.  
  2. repeat task.wait(0.1) until game:IsLoaded()
  3.  
  4. getgenv().Star = "⭐"
  5. getgenv().Danger = "⚠️"
  6. getgenv().ExploitSpecific = "📜"
  7.  
  8. -- API CALLS
  9.  
  10. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/library.lua"))()
  11. getgenv().api = loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/api.lua"))()
  12. local bssapi = loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/bssapi.lua"))()
  13. if not isfolder("kocmoc") then makefolder("kocmoc") end
  14. if not isfolder("kocmoc/premium") then makefolder("kocmoc/premium") end
  15. if isfile('kocmoc.txt') == false then (syn and syn.request or http_request or request)({ Url = "http://127.0.0.1:6463/rpc?v=1",Method = "POST",Headers = {["Content-Type"] = "application/json",["Origin"] = "https://discord.com"},Body = game:GetService("HttpService"):JSONEncode({cmd = "INVITE_BROWSER",args = {code = "kTNMzbxUuZ"},nonce = game:GetService("HttpService"):GenerateGUID(false)}),writefile('kocmoc.txt', "discord")})end
  16.  
  17. -- Script temporary variables
  18. local tweenService = game:GetService('TweenService')
  19. local playerstatsevent = game:GetService("ReplicatedStorage").Events.RetrievePlayerStats
  20. local statstable = playerstatsevent:InvokeServer()
  21. local monsterspawners = game:GetService("Workspace").MonsterSpawners
  22. local rarename
  23. function rtsg() tab = game.ReplicatedStorage.Events.RetrievePlayerStats:InvokeServer() return tab end
  24. function maskequip(mask) local ohString1 = "Equip" local ohTable2 = { ["Mute"] = false, ["Type"] = mask, ["Category"] = "Accessory"} game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer(ohString1, ohTable2) end
  25. local lasttouched = nil
  26. local done = true
  27. local hi = false
  28. local Items = require(game:GetService("ReplicatedStorage").EggTypes).GetTypes()
  29. local v1 = require(game.ReplicatedStorage.ClientStatCache):Get();
  30. local LocalPlayer=game.Players.LocalPlayer
  31. local LChar=LocalPlayer.Character
  32. local Humanoid=LChar:FindFirstChild("Humanoid")
  33. local HRP = LChar:FindFirstChild("HumanoidRootPart")
  34.  
  35. hives = game.Workspace.Honeycombs:GetChildren() for i = #hives, 1, -1 do  v = game.Workspace.Honeycombs:GetChildren()[i] if v.Owner.Value == nil then game.ReplicatedStorage.Events.ClaimHive:FireServer(v.HiveID.Value) end end
  36.  
  37. --repeat task.wait() until LocalPlayer.Honeycomb
  38. --local plrhive = LocalPlayer:FindFirstChild("Honeycomb")
  39.  
  40. -- Script tables
  41. for _, v in pairs(game:GetService("CoreGui"):GetDescendants()) do
  42.     if v:IsA("TextLabel") and string.find(v.Text,"Kocmoc v") then
  43.         v.Parent.Parent:Destroy()
  44.     end
  45. end
  46. getgenv().temptable = {
  47.     version = "3.3.1",
  48.     blackfield = "Sunflower Field",
  49.     redfields = {},
  50.     bluefields = {},
  51.     whitefields = {},
  52.     shouldiconvertballoonnow = false,
  53.     balloondetected = false,
  54.     puffshroomdetected = false,
  55.     magnitude = 60,
  56.     blacklist = {
  57.         ""
  58.     },
  59.     running = false,
  60.     configname = "",
  61.     tokenpath = game:GetService("Workspace").Collectibles,
  62.     started = {
  63.         vicious = false,
  64.         mondo = false,
  65.         windy = false,
  66.         ant = false,
  67.         monsters = false
  68.     },
  69.     detected = {
  70.         vicious = false,
  71.         windy = false
  72.     },
  73.     tokensfarm = false,
  74.     converting = false,
  75.     consideringautoconverting = false,
  76.     honeystart = 0,
  77.     grib = nil,
  78.     gribpos = CFrame.new(0,0,0),
  79.     honeycurrent = statstable.Totals.Honey,
  80.     dead = false,
  81.     float = false,
  82.     sakatNoclip=false,
  83.     pepsigodmode = false,
  84.     pepsiautodig = false,
  85.     alpha = false,
  86.     beta = false,
  87.     myhiveis = false,
  88.     invis = false,
  89.     windy = nil,
  90.     sprouts = {
  91.         detected = false,
  92.         coords
  93.     },
  94.     cache = {
  95.         autofarm = false,
  96.         killmondo = false,
  97.         vicious = false,
  98.         windy = false
  99.     },
  100.     allplanters = {},
  101.     planters = {
  102.         planter = {},
  103.         cframe = {},
  104.         activeplanters = {
  105.             type = {},
  106.             id = {}
  107.         }
  108.     },
  109.     monstertypes = {"Ladybug", "Rhino", "Spider", "Scorpion", "Mantis", "Werewolf"},
  110.     ["stopapypa"] = function(path, part)
  111.         local Closest
  112.         for i,v in next, path:GetChildren() do
  113.             if v.Name ~= "PlanterBulb" then
  114.                 if Closest == nil then
  115.                     Closest = v.Soil
  116.                 else
  117.                     if (part.Position - v.Soil.Position).magnitude < (Closest.Position - part.Position).magnitude then
  118.                         Closest = v.Soil
  119.                     end
  120.                 end
  121.             end
  122.         end
  123.         return Closest
  124.     end,
  125.     coconuts = {},
  126.     crosshairs = {},
  127.     crosshair = false,
  128.     coconut = false,
  129.     act = 0,
  130.     act2 = 0,
  131.     ['touchedfunction'] = function(v)
  132.         if lasttouched ~= v then
  133.             if v.Parent.Name == "FlowerZones" then
  134.                 if v:FindFirstChild("ColorGroup") then
  135.                     if tostring(v.ColorGroup.Value) == "Red" then
  136.                         maskequip("Demon Mask")
  137.                     elseif tostring(v.ColorGroup.Value) == "Blue" then
  138.                         maskequip("Diamond Mask")
  139.                     end
  140.                 else
  141.                     maskequip("Gummy Mask")
  142.                 end
  143.                 lasttouched = v
  144.             end
  145.         end
  146.     end,
  147.     runningfor = 0,
  148.     oldtool = rtsg()["EquippedCollector"],
  149.     ['gacf'] = function(part, st)
  150.         coordd = CFrame.new(part.Position.X, part.Position.Y+st, part.Position.Z)
  151.         return coordd
  152.     end
  153. }
  154. local planterst = {
  155.     plantername = {},
  156.     planterid = {}
  157. }
  158.  
  159. for i,v in next, temptable.blacklist do if v == api.nickname then LocalPlayer:Kick("You're blacklisted! Get clapped!") end end
  160. if temptable.honeystart == 0 then temptable.honeystart = statstable.Totals.Honey end
  161.  
  162. for i,v in next, game:GetService("Workspace").MonsterSpawners:GetDescendants() do if v.Name == "TimerAttachment" then v.Name = "Attachment" end end
  163. for i,v in next, game:GetService("Workspace").MonsterSpawners:GetChildren() do if v.Name == "RoseBush" then v.Name = "ScorpionBush" elseif v.Name == "RoseBush2" then v.Name = "ScorpionBush2" end end
  164. for i,v in next, game:GetService("Workspace").FlowerZones:GetChildren() do if v:FindFirstChild("ColorGroup") then if v:FindFirstChild("ColorGroup").Value == "Red" then table.insert(temptable.redfields, v.Name) elseif v:FindFirstChild("ColorGroup").Value == "Blue" then table.insert(temptable.bluefields, v.Name) end else table.insert(temptable.whitefields, v.Name) end end
  165. local flowertable = {}
  166. for _,z in next, game:GetService("Workspace").Flowers:GetChildren() do table.insert(flowertable, z.Position) end
  167. local masktable = {}
  168. for _,v in next, game:GetService("ReplicatedStorage").Accessories:GetChildren() do if string.match(v.Name, "Mask") then table.insert(masktable, v.Name) end end
  169. local collectorstable = {}
  170. for _,v in next, getupvalues(require(game:GetService("ReplicatedStorage").Collectors).Exists) do for e,r in next, v do table.insert(collectorstable, e) end end
  171. local fieldstable = {}
  172. for _,v in next, game:GetService("Workspace").FlowerZones:GetChildren() do table.insert(fieldstable, v.Name) end
  173. local toystable = {}
  174. for _,v in next, game:GetService("Workspace").Toys:GetChildren() do table.insert(toystable, v.Name) end
  175. local spawnerstable = {}
  176. for _,v in next, game:GetService("Workspace").MonsterSpawners:GetChildren() do table.insert(spawnerstable, v.Name) end
  177. local accesoriestable = {}
  178. for _,v in next, game:GetService("ReplicatedStorage").Accessories:GetChildren() do if v.Name ~= "UpdateMeter" then table.insert(accesoriestable, v.Name) end end
  179. for i,v in pairs(getupvalues(require(game:GetService("ReplicatedStorage").PlanterTypes).GetTypes)) do for e,z in pairs(v) do table.insert(temptable.allplanters, e) end end
  180. local donatableItemsTable = {}
  181. local treatsTable = {}
  182. for i,v in pairs(Items) do
  183.     if v.DonatableToWindShrine == true then
  184.         table.insert(donatableItemsTable,i)
  185.     end
  186. end
  187. for i,v in pairs(Items) do
  188.     if v.TreatValue then
  189.         table.insert(treatsTable,i)
  190.     end
  191. end
  192. local buffTable = {
  193.     ["Blue Extract"]={b=false,DecalID="2495936060"};
  194.     ["Red Extract"]={b=false,DecalID="2495935291"};
  195.     ["Oil"]={b=false,DecalID="2545746569"}; --?
  196.     ["Enzymes"]={b=false,DecalID="2584584968"};
  197.     ["Glue"]={b=false,DecalID="2504978518"};
  198.     ["Glitter"]={b=false,DecalID="2542899798"};
  199.     ["Tropical Drink"]={b=false,DecalID="3835877932"};
  200. }
  201. local AccessoryTypes = require(game:GetService("ReplicatedStorage").Accessories).GetTypes()
  202. local MasksTable = {}
  203. for i,v in pairs(AccessoryTypes) do
  204.     if string.find(i,"Mask") then
  205.         if i ~= "Honey Mask" then
  206.         table.insert(MasksTable,i)
  207.         end
  208.     end
  209. end
  210.  
  211. table.sort(fieldstable)
  212. table.sort(accesoriestable)
  213. table.sort(toystable)
  214. table.sort(spawnerstable)
  215. table.sort(masktable)
  216. table.sort(temptable.allplanters)
  217. table.sort(collectorstable)
  218. table.sort(donatableItemsTable)
  219. table.sort(buffTable)
  220. table.sort(MasksTable)
  221.  
  222. task.spawn(function()
  223.     while task.wait() do
  224.         if getgenv().temptable.sakatNoclip then
  225.             Humanoid:ChangeState(11);
  226.         end
  227.     end
  228. end)
  229.  
  230. -- float pad
  231.  
  232. local floatpad = Instance.new("Part", game:GetService("Workspace"))
  233. floatpad.CanCollide = false
  234. floatpad.Anchored = true
  235. floatpad.Transparency = 1
  236. floatpad.Name = "FloatPad"
  237.  
  238. -- cococrab
  239.  
  240. local cocopad = Instance.new("Part", game:GetService("Workspace"))
  241. cocopad.Name = "Coconut Part"
  242. cocopad.Anchored = true
  243. cocopad.Transparency = 1
  244. cocopad.Size = Vector3.new(10, 1, 10)
  245. cocopad.Position = Vector3.new(-307.52117919922, 105.91863250732, 467.86791992188)
  246.  
  247. -- antfarm
  248.  
  249. local antpart = Instance.new("Part", workspace)
  250. antpart.Name = "Ant Autofarm Part"
  251. antpart.Position = Vector3.new(96, 47, 553)
  252. antpart.Anchored = true
  253. antpart.Size = Vector3.new(128, 1, 50)
  254. antpart.Transparency = 1
  255. antpart.CanCollide = false
  256.  
  257. -- config
  258.  
  259. getgenv().kocmoc = {
  260.     rares = {},
  261.     priority = {},
  262.     bestfields = {
  263.         red = "Pepper Patch",
  264.         white = "Coconut Field",
  265.         blue = "Stump Field"
  266.     },
  267.     blacklistedfields = {},
  268.     killerkocmoc = {},
  269.     bltokens = {},
  270.     toggles = {
  271.         autofarm = false,
  272.         farmclosestleaf = false,
  273.         farmbubbles = false,
  274.         autodig = false,
  275.         farmrares = false,
  276.         rgbui = false,
  277.         farmflower = false,
  278.         farmfuzzy = false,
  279.         farmcoco = false,
  280.         farmflame = false,
  281.         farmclouds = false,
  282.         killmondo = false,
  283.         killvicious = false,
  284.         loopspeed = false,
  285.         loopjump = false,
  286.         autoquest = false,
  287.         autoboosters = false,
  288.         autodispense = false,
  289.         clock = false,
  290.         freeantpass = false,
  291.         honeystorm = false,
  292.         autodoquest = false,
  293.         disableseperators = false,
  294.         npctoggle = false,
  295.         loopfarmspeed = false,
  296.         mobquests = false,
  297.         traincrab = false,
  298.         avoidmobs = false,
  299.         farmsprouts = false,
  300.         enabletokenblacklisting = false,
  301.         farmunderballoons = false,
  302.         farmsnowflakes = false,
  303.         collectgingerbreads = false,
  304.         collectcrosshairs = false,
  305.         farmpuffshrooms = false,
  306.         tptonpc = false,
  307.         donotfarmtokens = false,
  308.         convertballoons = false,
  309.         autostockings = false,
  310.         autosamovar = false,
  311.         autoonettart = false,
  312.         autocandles = false,
  313.         autofeast = false,
  314.         autoplanters = false,
  315.         autokillmobs = false,
  316.         autoant = false,
  317.         killwindy = false,
  318.         godmode = false,
  319.         disableconversion = false,
  320.         autodonate = false,
  321.         autouseconvertors = false,
  322.         honeymaskconv = false,
  323.         resetbeeenergy = false,
  324.         enablestatuspanel = false,
  325.     },
  326.     vars = {
  327.         field = "Ant Field",
  328.         convertat = 100,
  329.         farmspeed = 60,
  330.         prefer = "Tokens",
  331.         walkspeed = 70,
  332.         jumppower = 70,
  333.         npcprefer = "All Quests",
  334.         farmtype = "Walk",
  335.         monstertimer = 3,
  336.         autodigmode = "Normal",
  337.         donoItem = "Coconut",
  338.         donoAmount = 25,
  339.         selectedTreat = "Treat",
  340.         selectedTreatAmount = 0,
  341.         autouseMode = "Just Tickets",
  342.         autoconvertWaitTime = 10,
  343.         defmask = "Bubble",
  344.         resettimer = 3,
  345.     },
  346.     dispensesettings = {
  347.         blub = false,
  348.         straw = false,
  349.         treat = false,
  350.         coconut = false,
  351.         glue = false,
  352.         rj = false,
  353.         white = false,
  354.         red = false,
  355.         blue = false
  356.     }
  357. }
  358.  
  359. local defaultkocmoc = kocmoc
  360.  
  361. getgenv().KocmocPremium = {
  362.    
  363. }
  364.  
  365. -- functions
  366.  
  367. function statsget() local StatCache = require(game.ReplicatedStorage.ClientStatCache) local stats = StatCache:Get() return stats end
  368. function farm(trying)
  369.     if kocmoc.toggles.loopfarmspeed then Humanoid.WalkSpeed = kocmoc.vars.farmspeed end
  370.     api.humanoid():MoveTo(trying.Position)
  371.     repeat task.wait() until (trying.Position-api.humanoidrootpart().Position).magnitude <=4 or not IsToken(trying) or not temptable.running
  372. end
  373.  
  374. function disableall()
  375.     if kocmoc.toggles.autofarm and not temptable.converting then
  376.         temptable.cache.autofarm = true
  377.         kocmoc.toggles.autofarm = false
  378.     end
  379.     if kocmoc.toggles.killmondo and not temptable.started.mondo then
  380.         kocmoc.toggles.killmondo = false
  381.         temptable.cache.killmondo = true
  382.     end
  383.     if kocmoc.toggles.killvicious and not temptable.started.vicious then
  384.         kocmoc.toggles.killvicious = false
  385.         temptable.cache.vicious = true
  386.     end
  387.     if kocmoc.toggles.killwindy and not temptable.started.windy then
  388.         kocmoc.toggles.killwindy = false
  389.         temptable.cache.windy = true
  390.     end
  391. end
  392.  
  393. function enableall()
  394.     if temptable.cache.autofarm then
  395.         kocmoc.toggles.autofarm = true
  396.         temptable.cache.autofarm = false
  397.     end
  398.     if temptable.cache.killmondo then
  399.         kocmoc.toggles.killmondo = true
  400.         temptable.cache.killmondo = false
  401.     end
  402.     if temptable.cache.vicious then
  403.         kocmoc.toggles.killvicious = true
  404.         temptable.cache.vicious = false
  405.     end
  406.     if temptable.cache.windy then
  407.         kocmoc.toggles.killwindy = true
  408.         temptable.cache.windy = false
  409.     end
  410. end
  411.  
  412. function gettoken(v3)
  413.     if not v3 then
  414.         v3 = fieldposition
  415.     end
  416.     task.wait()
  417.     for e,r in next, game:GetService("Workspace").Collectibles:GetChildren() do
  418.         itb = false
  419.         if r:FindFirstChildOfClass("Decal") and kocmoc.toggles.enabletokenblacklisting then
  420.             if api.findvalue(kocmoc.bltokens, string.split(r:FindFirstChildOfClass("Decal").Texture, 'rbxassetid://')[2]) then
  421.                 itb = true
  422.             end
  423.         end
  424.         if tonumber((r.Position - HRP.Position).magnitude) <= temptable.magnitude/1.4 and not itb and (v3-r.Position).magnitude <= temptable.magnitude then
  425.             farm(r)
  426.         end
  427.     end
  428. end
  429.  
  430. function makesprinklers()
  431.     sprinkler = rtsg().EquippedSprinkler
  432.     e = 1
  433.     if sprinkler == "Basic Sprinkler" or sprinkler == "The Supreme Saturator" then
  434.         e = 1
  435.     elseif sprinkler == "Silver Soakers" then
  436.         e = 2
  437.     elseif sprinkler == "Golden Gushers" then
  438.         e = 3
  439.     elseif sprinkler == "Diamond Drenchers" then
  440.         e = 4
  441.     end
  442.     for i = 1, e do
  443.         k = api.humanoid().JumpPower
  444.         if e ~= 1 then api.humanoid().JumpPower = 70 api.humanoid().Jump = true task.wait(.2) end
  445.         game.ReplicatedStorage.Events.PlayerActivesCommand:FireServer({["Name"] = "Sprinkler Builder"})
  446.         if e ~= 1 then api.humanoid().JumpPower = k task.wait(1) end
  447.     end
  448. end
  449.  
  450. function killmobs()
  451.     for i,v in pairs(game:GetService("Workspace").MonsterSpawners:GetChildren()) do
  452.         if v:FindFirstChild("Territory") then
  453.             if v.Name ~= "Commando Chick" and v.Name ~= "CoconutCrab" and v.Name ~= "StumpSnail" and v.Name ~= "TunnelBear" and v.Name ~= "King Beetle Cave" and not v.Name:match("CaveMonster") and not v:FindFirstChild("TimerLabel", true).Visible then
  454.                 if v.Name:match("Werewolf") then
  455.                     monsterpart = game:GetService("Workspace").Territories.WerewolfPlateau.w
  456.                 elseif v.Name:match("Mushroom") then
  457.                     monsterpart = game:GetService("Workspace").Territories.MushroomZone.Part
  458.                 else
  459.                     monsterpart = v.Territory.Value
  460.                 end
  461.                 api.humanoidrootpart().CFrame = monsterpart.CFrame
  462.                 repeat api.humanoidrootpart().CFrame = monsterpart.CFrame avoidmob() task.wait(1) until v:FindFirstChild("TimerLabel", true).Visible
  463.                 for i = 1, 4 do gettoken(monsterpart.Position) end
  464.             end
  465.         end
  466.     end
  467. end
  468.  
  469. function IsToken(token)
  470.     if not token then
  471.         return false
  472.     end
  473.     if not token.Parent then return false end
  474.     if token then
  475.         if token.Orientation.Z ~= 0 then
  476.             return false
  477.         end
  478.         if token:FindFirstChild("FrontDecal") then
  479.         else
  480.             return false
  481.         end
  482.         if not token.Name == "C" then
  483.             return false
  484.         end
  485.         if not token:IsA("Part") then
  486.             return false
  487.         end
  488.         return true
  489.     else
  490.         return false
  491.     end
  492. end
  493.  
  494. function check(ok)
  495.     if not ok then
  496.         return false
  497.     end
  498.     if not ok.Parent then return false end
  499.     return true
  500. end
  501.  
  502. function getplanters()
  503.     table.clear(planterst.plantername)
  504.     table.clear(planterst.planterid)
  505.     for i,v in pairs(debug.getupvalues(require(game:GetService("ReplicatedStorage").LocalPlanters).LoadPlanter)[4]) do
  506.         if v.GrowthPercent == 1 and v.IsMine then
  507.             table.insert(planterst.plantername, v.Type)
  508.             table.insert(planterst.planterid, v.ActorID)
  509.         end
  510.     end
  511. end
  512.  
  513. function farmant()
  514.     antpart.CanCollide = true
  515.     temptable.started.ant = true
  516.     anttable = {left = true, right = false}
  517.     temptable.oldtool = rtsg()['EquippedCollector']
  518.     game.ReplicatedStorage.Events.ItemPackageEvent:InvokeServer("Equip",{["Mute"] = true,["Type"] = "Spark Staff",["Category"] = "Collector"})
  519.     game.ReplicatedStorage.Events.ToyEvent:FireServer("Ant Challenge")
  520.     kocmoc.toggles.autodig = true
  521.     acl = CFrame.new(127, 48, 547)
  522.     acr = CFrame.new(65, 48, 534)
  523.     task.wait(1)
  524.     game.ReplicatedStorage.Events.PlayerActivesCommand:FireServer({["Name"] = "Sprinkler Builder"})
  525.     api.humanoidrootpart().CFrame = api.humanoidrootpart().CFrame + Vector3.new(0, 15, 0)
  526.     task.wait(3)
  527.     repeat
  528.         task.wait()
  529.         for i,v in next, game.Workspace.Toys["Ant Challenge"].Obstacles:GetChildren() do
  530.             if v:FindFirstChild("Root") then
  531.                 if (v.Root.Position-api.humanoidrootpart().Position).magnitude <= 40 and anttable.left then
  532.                     api.humanoidrootpart().CFrame = acr
  533.                     anttable.left = false anttable.right = true
  534.                     task.wait(.1)
  535.                 elseif (v.Root.Position-api.humanoidrootpart().Position).magnitude <= 40 and anttable.right then
  536.                     api.humanoidrootpart().CFrame = acl
  537.                     anttable.left = true anttable.right = false
  538.                     task.wait(.1)
  539.                 end
  540.             end
  541.         end
  542.     until game:GetService("Workspace").Toys["Ant Challenge"].Busy.Value == false
  543.     task.wait(1)
  544.     game.ReplicatedStorage.Events.ItemPackageEvent:InvokeServer("Equip",{["Mute"] = true,["Type"] = temptable.oldtool,["Category"] = "Collector"})
  545.     temptable.started.ant = false
  546.     antpart.CanCollide = false
  547. end
  548.  
  549. function collectplanters()
  550.     getplanters()
  551.     for i,v in pairs(planterst.plantername) do
  552.         if api.partwithnamepart(v, game:GetService("Workspace").Planters) and api.partwithnamepart(v, game:GetService("Workspace").Planters):FindFirstChild("Soil") then
  553.             soil = api.partwithnamepart(v, game:GetService("Workspace").Planters).Soil
  554.             api.humanoidrootpart().CFrame = soil.CFrame
  555.             game:GetService("ReplicatedStorage").Events.PlanterModelCollect:FireServer(planterst.planterid[i])
  556.             task.wait(.5)
  557.             game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"] = v.." Planter"})
  558.             for i = 1, 5 do gettoken(soil.Position) end
  559.             task.wait(2)
  560.         end
  561.     end
  562. end
  563.  
  564. function getprioritytokens()
  565.     task.wait()
  566.     if temptable.running == false then
  567.         for e,r in next, game:GetService("Workspace").Collectibles:GetChildren() do
  568.             if r:FindFirstChildOfClass("Decal") then
  569.                 local aaaaaaaa = string.split(r:FindFirstChildOfClass("Decal").Texture, 'rbxassetid://')[2]
  570.                 if aaaaaaaa ~= nil and api.findvalue(kocmoc.priority, aaaaaaaa) then
  571.                     if r.Name == LocalPlayer.Name and not r:FindFirstChild("got it") or tonumber((r.Position - HRP.Position).magnitude) <= temptable.magnitude/1.4 and not r:FindFirstChild("got it") then
  572.                         farm(r) local val = Instance.new("IntValue",r) val.Name = "got it" break
  573.                     end
  574.                 end
  575.             end
  576.         end
  577.     end
  578. end
  579.  
  580. function gethiveballoon()
  581.     task.wait()
  582.     result = false
  583.     for i,hive in next, game:GetService("Workspace").Honeycombs:GetChildren() do
  584.         task.wait()
  585.         if hive:FindFirstChild("Owner") and hive:FindFirstChild("SpawnPos") then
  586.             if tostring(hive.Owner.Value) == LocalPlayer.Name then
  587.                 for e,balloon in next, game:GetService("Workspace").Balloons.HiveBalloons:GetChildren() do
  588.                     task.wait()
  589.                     if balloon:FindFirstChild("BalloonRoot") then
  590.                         if (balloon.BalloonRoot.Position-hive.SpawnPos.Value.Position).magnitude < 15 then
  591.                             result = true
  592.                             break
  593.                         end
  594.                     end
  595.                 end
  596.             end
  597.         end
  598.     end
  599.     return result
  600. end
  601.  
  602. function converthoney()
  603.     task.wait(0)
  604.     if temptable.converting then
  605.         if LocalPlayer.PlayerGui.ScreenGui.ActivateButton.TextBox.Text ~= "Stop Making Honey" and LocalPlayer.PlayerGui.ScreenGui.ActivateButton.BackgroundColor3 ~= Color3.new(201, 39, 28) or (game:GetService("Players").LocalPlayer.SpawnPos.Value.Position-HRP.Position).magnitude > 13 then
  606.             api.tween(1, game:GetService("Players").LocalPlayer.SpawnPos.Value * CFrame.fromEulerAnglesXYZ(0, 110, 0) + Vector3.new(0, 0, 9))
  607.             task.wait(.9)
  608.             if LocalPlayer.PlayerGui.ScreenGui.ActivateButton.TextBox.Text ~= "Stop Making Honey" and LocalPlayer.PlayerGui.ScreenGui.ActivateButton.BackgroundColor3 ~= Color3.new(201, 39, 28) or (game:GetService("Players").LocalPlayer.SpawnPos.Value.Position-HRP.Position).magnitude > 13 then game:GetService("ReplicatedStorage").Events.PlayerHiveCommand:FireServer("ToggleHoneyMaking") end
  609.             task.wait(.1)
  610.         end
  611.     end
  612. end
  613.  
  614. function closestleaf()
  615.     for i,v in next, game.Workspace.Flowers:GetChildren() do
  616.         if temptable.running == false and tonumber((v.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  617.             farm(v)
  618.             break
  619.         end
  620.     end
  621. end
  622.  
  623. function getbubble()
  624.     for i,v in next, game.workspace.Particles:GetChildren() do
  625.         if string.find(v.Name, "Bubble") and temptable.running == false and tonumber((v.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  626.             farm(v)
  627.             break
  628.         end
  629.     end
  630. end
  631.  
  632. function getballoons()
  633.     for i,v in next, game:GetService("Workspace").Balloons.FieldBalloons:GetChildren() do
  634.         if v:FindFirstChild("BalloonRoot") and v:FindFirstChild("PlayerName") then
  635.             if v:FindFirstChild("PlayerName").Value == LocalPlayer.Name then
  636.                 if tonumber((v.BalloonRoot.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  637.                     api.walkTo(v.BalloonRoot.Position)
  638.                 end
  639.             end
  640.         end
  641.     end
  642. end
  643.  
  644. function getflower()
  645.     flowerrrr = flowertable[math.random(#flowertable)]
  646.     if tonumber((flowerrrr-HRP.Position).magnitude) <= temptable.magnitude/1.4 and tonumber((flowerrrr-fieldposition).magnitude) <= temptable.magnitude/1.4 then
  647.         if temptable.running == false then
  648.             if kocmoc.toggles.loopfarmspeed then
  649.                 Humanoid.WalkSpeed = kocmoc.vars.farmspeed
  650.             end
  651.             api.walkTo(flowerrrr)
  652.         end
  653.     end
  654. end
  655.  
  656. function getcloud()
  657.     for i,v in next, game:GetService("Workspace").Clouds:GetChildren() do
  658.         e = v:FindFirstChild("Plane")
  659.         if e and tonumber((e.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  660.             api.walkTo(e.Position)
  661.         end
  662.     end
  663. end
  664.  
  665. function getcoco(v)
  666.     if temptable.coconut then repeat task.wait() until not temptable.coconut end
  667.     temptable.coconut = true
  668.     api.tween(.1, v.CFrame)
  669.     repeat task.wait() api.walkTo(v.Position) until not v.Parent
  670.     task.wait(.1)
  671.     temptable.coconut = false
  672.     table.remove(temptable.coconuts, table.find(temptable.coconuts, v))
  673. end
  674.  
  675. function getfuzzy()
  676.     pcall(function()
  677.         for i,v in next, game.workspace.Particles:GetChildren() do
  678.             if v.Name == "DustBunnyInstance" and temptable.running == false and tonumber((v.Plane.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  679.                 if v:FindFirstChild("Plane") then
  680.                     farm(v:FindFirstChild("Plane"))
  681.                     break
  682.                 end
  683.             end
  684.         end
  685.     end)
  686. end
  687.  
  688. function getflame()
  689.     for i,v in next, game:GetService("Workspace").PlayerFlames:GetChildren() do
  690.         if tonumber((v.Position-HRP.Position).magnitude) < temptable.magnitude/1.4 then
  691.             farm(v)
  692.             break
  693.         end
  694.     end
  695. end
  696.  
  697. function avoidmob()
  698.     for i,v in next, game:GetService("Workspace").Monsters:GetChildren() do
  699.         if v:FindFirstChild("Head") then
  700.             if (v.Head.Position-HRP.Position).magnitude < 30 and api.humanoid():GetState() ~= Enum.HumanoidStateType.Freefall then
  701.                 Humanoid.Jump = true
  702.             end
  703.         end
  704.     end
  705. end
  706.  
  707. function getcrosshairs(v)
  708.     if v.BrickColor ~= BrickColor.new("Lime green") and v.BrickColor ~= BrickColor.new("Flint") then
  709.     if temptable.crosshair then repeat task.wait() until not temptable.crosshair end
  710.     temptable.crosshair = true
  711.     api.walkTo(v.Position)
  712.     repeat task.wait() api.walkTo(v.Position) until not v.Parent or v.BrickColor == BrickColor.new("Forest green")
  713.     task.wait(.1)
  714.     temptable.crosshair = false
  715.     table.remove(temptable.crosshairs, table.find(temptable.crosshairs, v))
  716.     else
  717.         table.remove(temptable.crosshairs, table.find(temptable.crosshairs, v))
  718.     end
  719. end
  720.  
  721. function makequests()
  722.     for i,v in next, game:GetService("Workspace").NPCs:GetChildren() do
  723.         if v.Name ~= "Ant Challenge Info" and v.Name ~= "Bubble Bee Man 2" and v.Name ~= "Wind Shrine" and v.Name ~= "Gummy Bear" then if v:FindFirstChild("Platform") then if v.Platform:FindFirstChild("AlertPos") then if v.Platform.AlertPos:FindFirstChild("AlertGui") then if v.Platform.AlertPos.AlertGui:FindFirstChild("ImageLabel") then
  724.             image = v.Platform.AlertPos.AlertGui.ImageLabel
  725.             button = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ActivateButton.MouseButton1Click
  726.             if image.ImageTransparency == 0 then
  727.                 if kocmoc.toggles.tptonpc then
  728.                     HRP.CFrame = CFrame.new(v.Platform.Position.X, v.Platform.Position.Y+3, v.Platform.Position.Z)
  729.                     task.wait(1)
  730.                 else
  731.                     api.tween(2,CFrame.new(v.Platform.Position.X, v.Platform.Position.Y+3, v.Platform.Position.Z))
  732.                     task.wait(3)
  733.                 end
  734.                 for b,z in next, getconnections(button) do    z.Function()    end
  735.                 task.wait(8)
  736.                 if image.ImageTransparency == 0 then
  737.                     for b,z in next, getconnections(button) do    z.Function()    end
  738.                 end
  739.                 task.wait(2)
  740.             end
  741.         end    
  742.     end end end end end
  743. end
  744.  
  745. getgenv().Tvk1 = {true,"💖"}
  746.  
  747. local function donateToShrine(item,qnt)
  748.     print(qnt)
  749.     local s,e = pcall(function()
  750.     game:GetService("ReplicatedStorage").Events.WindShrineDonation:InvokeServer(item, qnt)
  751.     task.wait(0.5)
  752.     game.ReplicatedStorage.Events.WindShrineTrigger:FireServer()
  753.    
  754.     local UsePlatform = game:GetService("Workspace").NPCs["Wind Shrine"].Stage
  755.     HRP.CFrame = UsePlatform.CFrame + Vector3.new(0,5,0)
  756.    
  757.     for i = 1,120 do
  758.     task.wait(0.05)
  759.     for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  760.         if (v.Position-UsePlatform.Position).magnitude < 60 and v.CFrame.YVector.Y == 1 then
  761.             HRP.CFrame = v.CFrame
  762.         end
  763.     end
  764.     end
  765.     end)
  766.     if not s then print(e) end
  767. end
  768.  
  769. local function isWindshrineOnCooldown()
  770.     local isOnCooldown = false
  771.     local cooldown = 3600 - (require(game.ReplicatedStorage.OsTime)() - (require(game.ReplicatedStorage.StatTools).GetLastCooldownTime(v1, "WindShrine")))
  772.     if cooldown > 0 then isOnCooldown = true end
  773.     return isOnCooldown
  774. end
  775.  
  776. local function getTimeSinceToyActivation(name)
  777.     return require(game.ReplicatedStorage.OsTime)() - require(game.ReplicatedStorage.ClientStatCache):Get("ToyTimes")[name]
  778. end
  779.  
  780. local function getTimeUntilToyAvailable(n)
  781.     return workspace.Toys[n].Cooldown.Value - getTimeSinceToyActivation(n)
  782. end
  783.  
  784. local function canToyBeUsed(toy)
  785.     local timeleft = tostring(getTimeUntilToyAvailable(toy))
  786.     local canbeUsed = false
  787.     if string.find(timeleft,"-") then canbeUsed = true end
  788.     return canbeUsed
  789. end
  790.  
  791. function GetItemListWithValue()
  792.     local StatCache = require(game.ReplicatedStorage.ClientStatCache)
  793.     local data = StatCache.Get()
  794.     return data.Eggs
  795. end
  796.  
  797. local function useConvertors()
  798.     local conv = {"Instant Converter","Instant Converter B","Instant Converter C"}
  799.    
  800.     local lastWithoutCooldown = nil
  801.    
  802.     for i,v in pairs(conv) do
  803.         if canToyBeUsed(v) == true then
  804.             lastWithoutCooldown = v
  805.         end
  806.     end
  807.     local converted=false
  808.     if lastWithoutCooldown ~= nil and string.find(kocmoc.vars.autouseMode,"Ticket") or string.find(kocmoc.vars.autouseMode,"All") then
  809.         if converted == false then
  810.         game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer(lastWithoutCooldown)
  811.         converted=true
  812.         end
  813.     end
  814.     if GetItemListWithValue()["Snowflake"] > 0 and string.find(kocmoc.vars.autouseMode,"Snowflak") or string.find(kocmoc.vars.autouseMode,"All") then
  815.         game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"] = "Snowflake"})
  816.     end
  817.         if GetItemListWithValue()["Coconut"] > 0 and string.find(kocmoc.vars.autouseMode,"Coconut") or string.find(kocmoc.vars.autouseMode,"All") then
  818.         game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"] = "Coconut"})
  819.         end
  820. end
  821.  
  822. local function fetchBuffTable(stats)
  823.     local stTab = {}
  824.     if game:GetService("Players").LocalPlayer then
  825.         if game:GetService("Players").LocalPlayer.PlayerGui then
  826.             if game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui then
  827.                 for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:GetChildren()) do
  828.                     if v.Name == "TileGrid" then
  829.                         for p,l in pairs(v:GetChildren()) do
  830.                             if l:FindFirstChild("BG") then
  831.                                 if l:FindFirstChild("BG"):FindFirstChild("Icon") then
  832.                                     local ic = l:FindFirstChild("BG"):FindFirstChild("Icon")
  833.                                     for field,fdata in pairs(stats) do
  834.                                         if fdata["DecalID"]~= nil then
  835.                                             if string.find(ic.Image,fdata["DecalID"]) then
  836.                                                 if ic.Parent:FindFirstChild("Text") then
  837.                                                     if ic.Parent:FindFirstChild("Text").Text == "" then
  838.                                                         stTab[field]=1
  839.                                                     else
  840.                                                         local thing = ""
  841.                                                         thing = string.gsub(ic.Parent:FindFirstChild("Text").Text,"x","")
  842.                                                         stTab[field]=tonumber( thing + 1 )
  843.                                                     end
  844.                                                 end
  845.                                             end
  846.                                         end
  847.                                     end
  848.                                 end
  849.                             end
  850.                         end
  851.                     end
  852.                 end
  853.             end
  854.         end
  855.     end
  856.    
  857.     return stTab
  858. end
  859.  
  860. local Config = { WindowName = "Kocmoc v"..temptable.version.." Remastered", Color = Color3.fromRGB(164, 84, 255), Keybind = Enum.KeyCode.Semicolon}
  861. local Window = library:CreateWindow(Config, game:GetService("CoreGui"))
  862.  
  863. local hometab = Window:CreateTab("Home")
  864. local farmtab = Window:CreateTab("Farming")
  865. local combtab = Window:CreateTab("Combat")
  866. local itemstab = Window:CreateTab("Items")
  867. local misctab = Window:CreateTab("Misc")
  868. local setttab = Window:CreateTab("Settings")
  869.  
  870. local loadingInfo = hometab:CreateSection("Startup")
  871. local loadingFunctions = loadingInfo:CreateLabel("Loading Functions..")
  872. task.wait(1)
  873. loadingFunctions:UpdateText("Loaded Functions")
  874. local loadingBackend = loadingInfo:CreateLabel("Loading Backend..")
  875. loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/functions/premium/loadperks.lua"))()
  876. if getgenv().LoadPremium then
  877. getgenv().LoadPremium("WindowLoad",Window)
  878. --temporary sh patch
  879. local s = ""
  880. for l = 1,50 do
  881. if string.find(tostring(l),"0") then
  882. s = s .. tostring(LocalPlayer.UserId) .. "\n"
  883. else
  884. s = s .. tostring(LocalPlayer.UserId)
  885. end
  886. end
  887. writefile("PrevServers2.txt",s)
  888. --end temp patch
  889. else
  890.     warn("Error loading Kocmoc Premium")
  891. end
  892. --loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/functions/premium/loadperks.lua"))()("WindowLoad",Window)
  893.  
  894.  
  895.  
  896. --loadPremium("WindowLoad",Window)
  897.  
  898. loadingBackend:UpdateText("Loaded Backend")
  899. local loadingUI = loadingInfo:CreateLabel("Loading UI..")
  900.  
  901. local information = hometab:CreateSection("Information")
  902. information:CreateLabel("Welcome, "..api.nickname.."!")
  903. information:CreateLabel("Script version: "..temptable.version)
  904. information:CreateLabel("Place version: "..game.PlaceVersion)
  905. information:CreateLabel(" - Not Safe Function")
  906. information:CreateLabel("⚙ - Configurable Function")
  907. information:CreateLabel("📜 - May be exploit specific")
  908. information:CreateLabel("Place version: "..game.PlaceVersion)
  909. information:CreateLabel("Script by Boxking776")
  910. information:CreateLabel("Originally by weuz_ and mrdevl")
  911. local gainedhoneylabel = information:CreateLabel("Gained Honey: 0")
  912. information:CreateButton("Discord Invite", function() setclipboard("https://discord.gg/kTNMzbxUuZ") end)
  913. information:CreateButton("Donation", function() setclipboard("https://www.paypal.com/paypalme/GHubPay") end)
  914. information:CreateToggle("Status Panel",true,function(bool)
  915. kocmoc.toggles.enablestatuspanel=bool
  916. if bool == false then
  917. for i,v in pairs(game:GetService("CoreGui"):GetDescendants()) do
  918. if string.find(v.Name,"Mob Panel") or string.find(v.Name,"Utility Panel") then
  919. v.Visible = false end end
  920. else for i,v in pairs(game:GetService("CoreGui"):GetDescendants()) do if string.find(v.Name,"Mob Panel") or string.find(v.Name,"Utility Panel") then v.Visible = true end end end end)
  921. local farmo = farmtab:CreateSection("Farming")
  922. local fielddropdown = farmo:CreateDropdown("Field", fieldstable, function(String) kocmoc.vars.field = String end) fielddropdown:SetOption(fieldstable[1])
  923. convertatslider = farmo:CreateSlider("Convert At", 0, 100, 100, false, function(Value) kocmoc.vars.convertat = Value end)
  924. local autofarmtoggle = farmo:CreateToggle("Autofarm [⚙]", nil, function(State) kocmoc.toggles.autofarm = State end) autofarmtoggle:CreateKeybind("U", function(Key) end)
  925. farmo:CreateToggle("Autodig", nil, function(State) kocmoc.toggles.autodig = State end)
  926. farmo:CreateDropdown("Autodig Mode", {"Normal","Collector Steal"}, function(Option)  kocmoc.vars.autodigmode = Option end)
  927.  
  928. local contt = farmtab:CreateSection("Container Tools")
  929. contt:CreateToggle("Don't Convert Pollen", nil, function(State) kocmoc.toggles.disableconversion = State end)
  930. contt:CreateToggle("Auto Bag Reduction",nil,function(Boole) kocmoc.toggles.autouseconvertors = Boole end)
  931. contt:CreateDropdown("Bag Reduction Mode",{"Ticket Converters","Just Snowflakes","Just Coconuts","Snowflakes and Coconuts","Tickets and Snowflakes","Tickets and Coconuts","All"},function(Select) kocmoc.vars.autouseMode = Select end)
  932. contt:CreateSlider("Reduction Confirmation Time",3,20,10,false,function(tttttttt) kocmoc.vars.autoconvertWaitTime = tonumber(tttttttt) end)
  933.  
  934. farmo:CreateToggle("Auto Sprinkler", nil, function(State) kocmoc.toggles.autosprinkler = State end)
  935. farmo:CreateToggle("Farm Bubbles", nil, function(State) kocmoc.toggles.farmbubbles = State end)
  936. farmo:CreateToggle("Farm Flames", nil, function(State) kocmoc.toggles.farmflame = State end)
  937. farmo:CreateToggle("Farm Coconuts & Shower", nil, function(State) kocmoc.toggles.farmcoco = State end)
  938. farmo:CreateToggle("Farm Precise Crosshairs", nil, function(State) kocmoc.toggles.collectcrosshairs = State end)
  939. farmo:CreateToggle("Farm Fuzzy Bombs", nil, function(State) kocmoc.toggles.farmfuzzy = State end)
  940. farmo:CreateToggle("Farm Under Balloons", nil, function(State) kocmoc.toggles.farmunderballoons = State end)
  941. farmo:CreateToggle("Farm Under Clouds", nil, function(State) kocmoc.toggles.farmclouds = State end)
  942. farmo:CreateLabel("")
  943. farmo:CreateToggle("Auto Honey Mask",nil,function(bool)
  944.     kocmoc.toggles.honeymaskconv = bool
  945. end)
  946. farmo:CreateDropdown("Default Mask",MasksTable,function(val)
  947.     kocmoc.vars.defmask = val
  948. end)
  949. --farmo:CreateToggle("Farm Closest Leaves", nil, function(State) kocmoc.toggles.farmclosestleaf = State end)
  950.  
  951. local farmt = farmtab:CreateSection("Farming")
  952. farmt:CreateToggle("Auto Dispenser [⚙]", nil, function(State) kocmoc.toggles.autodispense = State end)
  953. farmt:CreateToggle("Auto Field Boosters [⚙]", nil, function(State) kocmoc.toggles.autoboosters = State end)
  954. farmt:CreateToggle("Auto Wealth Clock", nil, function(State) kocmoc.toggles.clock = State end)
  955. farmt:CreateToggle("Auto Gingerbread Bears [B]", nil, function(State) kocmoc.toggles.collectgingerbreads = State end)
  956. farmt:CreateToggle("Auto Samovar [B]", nil, function(State) kocmoc.toggles.autosamovar = State end)
  957. farmt:CreateToggle("Auto Stockings [B]", nil, function(State) kocmoc.toggles.autostockings = State end)
  958. farmt:CreateToggle("Auto Planters", nil, function(State) kocmoc.toggles.autoplanters = State end):AddToolTip("Will re-plant your planters after converting, if they hit 100%")
  959. farmt:CreateToggle("Auto Honey Candles [B]", nil, function(State) kocmoc.toggles.autocandles = State end)
  960. farmt:CreateToggle("Auto Beesmas Feast [B]", nil, function(State) kocmoc.toggles.autofeast = State end)
  961. farmt:CreateToggle("Auto Onett's Lid Art [B]", nil, function(State) kocmoc.toggles.autoonettart = State end)
  962. farmt:CreateToggle("Auto Free Antpasses", nil, function(State) kocmoc.toggles.freeantpass = State end)
  963. farmt:CreateToggle("Farm Sprouts", nil, function(State) kocmoc.toggles.farmsprouts = State end)
  964. farmt:CreateToggle("Farm Puffshrooms", nil, function(State) kocmoc.toggles.farmpuffshrooms = State end)
  965. farmt:CreateToggle("Farm Snowflakes [🛡️] [B]", nil, function(State) kocmoc.toggles.farmsnowflakes = State end)
  966. farmt:CreateToggle("Teleport To Rares [⚠️]", nil, function(State) kocmoc.toggles.farmrares = State end)
  967. farmt:CreateToggle("Auto Accept/Confirm Quests [⚙]", nil, function(State) kocmoc.toggles.autoquest = State end)
  968. farmt:CreateToggle("Auto Do Quests [⚙]", nil, function(State) kocmoc.toggles.autodoquest = State end)
  969. farmt:CreateToggle("Auto Honeystorm", nil, function(State) kocmoc.toggles.honeystorm = State end)
  970. farmt:CreateLabel(" ")
  971. farmt:CreateToggle("Reset Bee Energy after X Conversions",nil,function(bool) kocmoc.vars.resetbeeenergy = bool end)
  972. farmt:CreateTextBox("Conversion Amount", "default = 3", true, function(Value) kocmoc.vars.resettimer = tonumber(Value) end)
  973.  
  974. local mobkill = combtab:CreateSection("Combat")
  975. mobkill:CreateToggle("Train Crab", nil, function(State) if State then api.humanoidrootpart().CFrame = CFrame.new(-307.52117919922, 107.91863250732, 467.86791992188) end end)
  976. mobkill:CreateToggle("Train Snail", nil, function(State) fd = game.Workspace.FlowerZones['Stump Field'] if State then api.humanoidrootpart().CFrame = CFrame.new(fd.Position.X, fd.Position.Y-6, fd.Position.Z) else api.humanoidrootpart().CFrame = CFrame.new(fd.Position.X, fd.Position.Y+2, fd.Position.Z) end end)
  977. mobkill:CreateToggle("Kill Mondo", nil, function(State) kocmoc.toggles.killmondo = State end)
  978. mobkill:CreateToggle("Kill Vicious", nil, function(State) kocmoc.toggles.killvicious = State end)
  979. mobkill:CreateToggle("Kill Windy", nil, function(State) kocmoc.toggles.killwindy = State end)
  980. mobkill:CreateToggle("Auto Kill Mobs", nil, function(State) kocmoc.toggles.autokillmobs = State end):AddToolTip("Kills mobs after x pollen converting")
  981. mobkill:CreateToggle("Avoid Mobs", nil, function(State) kocmoc.toggles.avoidmobs = State end)
  982. mobkill:CreateToggle("Auto Ant", nil, function(State) kocmoc.toggles.autoant = State end):AddToolTip("You Need Spark Stuff 😋; Goes to Ant Challenge after pollen converting")
  983.  
  984. local serverhopkill = combtab:CreateSection("Serverhopping Combat")
  985. serverhopkill:CreateButton("Vicious Bee Serverhopper [⚠️][📜]",function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/functions/viciousbeeserverhop.lua"))() end):AddToolTip("Serverhops for rouge vicious bees")
  986. serverhopkill:CreateLabel("")
  987. serverhopkill:CreateLabel("[⚠️] These functions will unload the UI")
  988. serverhopkill:CreateLabel("")
  989.  
  990. local amks = combtab:CreateSection("Auto Kill Mobs Settings")
  991. amks:CreateTextBox('Kill Mobs After x Convertions', 'default = 3', true, function(Value) kocmoc.vars.monstertimer = tonumber(Value) end)
  992.  
  993.  
  994. local wayp = misctab:CreateSection("Waypoints")
  995. wayp:CreateDropdown("Field Teleports", fieldstable, function(Option) HRP.CFrame = game:GetService("Workspace").FlowerZones:FindFirstChild(Option).CFrame end)
  996. wayp:CreateDropdown("Monster Teleports", spawnerstable, function(Option) d = game:GetService("Workspace").MonsterSpawners:FindFirstChild(Option) HRP.CFrame = CFrame.new(d.Position.X, d.Position.Y+3, d.Position.Z) end)
  997. wayp:CreateDropdown("Toys Teleports", toystable, function(Option) d = game:GetService("Workspace").Toys:FindFirstChild(Option).Platform HRP.CFrame = CFrame.new(d.Position.X, d.Position.Y+3, d.Position.Z) end)
  998. wayp:CreateButton("Teleport to hive", function() HRP.CFrame = game:GetService("Players").LocalPlayer.SpawnPos.Value end)
  999.  
  1000. local useitems = itemstab:CreateSection("Use Items")
  1001.  
  1002. useitems:CreateButton("Use All Buffs [⚠️]",function() for i,v in pairs(buffTable) do  game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"]=i}) end end)
  1003. useitems:CreateLabel("")
  1004.  
  1005. for i,v in pairs(buffTable) do
  1006. useitems:CreateButton("Use "..i,function() game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"]=i}) end)
  1007. useitems:CreateToggle("Auto Use "..i,nil,function(bool)
  1008.     buffTable[i].b = bool
  1009. end)
  1010. end
  1011.  
  1012.  
  1013. local miscc = misctab:CreateSection("Misc")
  1014. miscc:CreateButton("Ant Challenge Semi-Godmode", function() api.tween(1, CFrame.new(93.4228, 32.3983, 553.128)) task.wait(1) game.ReplicatedStorage.Events.ToyEvent:FireServer("Ant Challenge") HRP.Position = Vector3.new(93.4228, 42.3983, 553.128) task.wait(2) Humanoid.Name = 1 local l = LChar["1"]:Clone() l.Parent = LChar l.Name = "Humanoid" task.wait() LChar["1"]:Destroy() api.tween(1, CFrame.new(93.4228, 32.3983, 553.128)) task.wait(8) api.tween(1, CFrame.new(93.4228, 32.3983, 553.128)) end)
  1015. local wstoggle = miscc:CreateToggle("Walk Speed", nil, function(State) kocmoc.toggles.loopspeed = State end) wstoggle:CreateKeybind("K", function(Key) end)
  1016. local jptoggle = miscc:CreateToggle("Jump Power", nil, function(State) kocmoc.toggles.loopjump = State end) jptoggle:CreateKeybind("L", function(Key) end)
  1017. miscc:CreateToggle("Godmode", nil, function(State) kocmoc.toggles.godmode = State if State then bssapi:Godmode(true) else bssapi:Godmode(false) end end)
  1018. local misco = misctab:CreateSection("Other")
  1019. misco:CreateDropdown("Equip Accesories", accesoriestable, function(Option) local ohString1 = "Equip" local ohTable2 = { ["Mute"] = false, ["Type"] = Option, ["Category"] = "Accessory" } game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer(ohString1, ohTable2) end)
  1020. misco:CreateDropdown("Equip Masks", masktable, function(Option) local ohString1 = "Equip" local ohTable2 = { ["Mute"] = false, ["Type"] = Option, ["Category"] = "Accessory" } game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer(ohString1, ohTable2) end)
  1021. misco:CreateDropdown("Equip Collectors", collectorstable, function(Option) local ohString1 = "Equip" local ohTable2 = { ["Mute"] = false, ["Type"] = Option, ["Category"] = "Collector" } game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer(ohString1, ohTable2) end)
  1022. misco:CreateDropdown("Generate Amulet", {"Supreme Star Amulet", "Diamond Star Amulet", "Gold Star Amulet","Silver Star Amulet","Bronze Star Amulet","Moon Amulet"}, function(Option) local A_1 = Option.." Generator" local Event = game:GetService("ReplicatedStorage").Events.ToyEvent Event:FireServer(A_1) end)
  1023. misco:CreateButton("Export Stats Table [📜]", function() local StatCache = require(game.ReplicatedStorage.ClientStatCache)writefile("Stats_"..api.nickname..".json", StatCache:Encode()) end)
  1024.  
  1025. if string.find(string.upper(identifyexecutor()),"SYN") or string.find(string.upper(identifyexecutor()),"SCRIP") then
  1026. local visu = misctab:CreateSection("Visual")
  1027. local alertText = "☢️ A nuke is incoming! ☢️"
  1028. local alertDesign = "Purple"
  1029. local function pushAlert()
  1030.     local alerts = require(game:GetService("ReplicatedStorage").AlertBoxes)
  1031.     local chat = function(...)
  1032.         alerts:Push(...)
  1033.     end
  1034.     chat(alertText,nil,alertDesign)
  1035. end
  1036. visu:CreateButton("Spawn Coconut",function()
  1037.     syn.secure_call(function()
  1038.         require(game.ReplicatedStorage.LocalFX.FallingCoconut)({
  1039.         Pos = Humanoid.RootPart.CFrame.p,
  1040.         Dur = 0.6,
  1041.         Radius = 16,
  1042.         Delay = 1.5,
  1043.         Friendly = true
  1044.     })
  1045. end, LocalPlayer.PlayerScripts.ClientInit)
  1046. end)
  1047. visu:CreateButton("Spawn Hostile Coconut",function()
  1048.     syn.secure_call(function()
  1049.         require(game.ReplicatedStorage.LocalFX.FallingCoconut)({
  1050.         Pos = Humanoid.RootPart.CFrame.p,
  1051.         Dur = 0.6,
  1052.         Radius = 16,
  1053.         Delay = 1.5,
  1054.         Friendly = false
  1055.     })
  1056. end, LocalPlayer.PlayerScripts.ClientInit)
  1057. end)
  1058. visu:CreateButton("Spawn Mythic Meteor",function()
  1059.     syn.secure_call(function()
  1060.         require(game.ReplicatedStorage.LocalFX.MythicMeteor)({
  1061.         Pos = Humanoid.RootPart.CFrame.p,
  1062.         Dur = 0.6,
  1063.         Radius = 16,
  1064.         Delay = 1.5,
  1065.         Friendly = true
  1066.     })
  1067. end, LocalPlayer.PlayerScripts.ClientInit)
  1068. end)
  1069. visu:CreateButton("Spawn Jelly Bean",function()
  1070. local jellybeans = {"Navy","Blue","Spoiled","Merigold","Teal","Periwinkle","Pink","Slate","White","Black","Green","Brown","Yellow","Maroon","Red"}
  1071. syn.secure_call(function()
  1072.         require(game.ReplicatedStorage.LocalFX.JellyBeanToss)({
  1073.         Start = Humanoid.RootPart.CFrame.p,
  1074.         Type = jellybeans[math.random(1,#jellybeans)],
  1075.         End = (Humanoid.RootPart.CFrame * CFrame.new(0,0,-35)).p + Vector3.new(math.random(1,20),0,math.random(1,20))
  1076.     })
  1077. end, LocalPlayer.PlayerScripts.ClientInit)
  1078. end)
  1079. visu:CreateButton("Spawn Puffshroom Spores",function()
  1080. task.spawn(function() syn.secure_call(function()
  1081. local field = game:GetService("Workspace").FlowerZones:GetChildren()[math.random(1,#game:GetService("Workspace").FlowerZones:GetChildren())]
  1082. local pos = field.CFrame.p
  1083. require(game.ReplicatedStorage.LocalFX.PuffshroomSporeThrow)({
  1084.       Start = HRP.CFrame.p,
  1085.       End = pos,
  1086. })
  1087. end, LocalPlayer.PlayerScripts.ClientInit)
  1088. task.wait(10)
  1089. workspace.Particles:FindFirstChild("SporeCloud"):Destroy()
  1090. end)
  1091. end)
  1092. visu:CreateButton("Spawn Party Popper",function()
  1093. syn.secure_call(function()
  1094. require(game:GetService("ReplicatedStorage").LocalFX.PartyPopper)({
  1095. Pos = Humanoid.RootPart.CFrame.p,
  1096. })
  1097. end, LocalPlayer.PlayerScripts.ClientInit)
  1098. end)
  1099. visu:CreateButton("Spawn Flame",function()
  1100. syn.secure_call(function()
  1101.         require(game.ReplicatedStorage.LocalFX.LocalFlames).AddFlame(
  1102.         Humanoid.RootPart.CFrame.p,
  1103.         10,
  1104.         1,
  1105.         LocalPlayer.UserId,
  1106.         false
  1107.     )
  1108. end, LocalPlayer.PlayerScripts.ClientInit)
  1109. end)
  1110. visu:CreateButton("Spawn Dark Flame",function()
  1111. syn.secure_call(function()
  1112.         require(game.ReplicatedStorage.LocalFX.LocalFlames).AddFlame(
  1113.         Humanoid.RootPart.CFrame.p,
  1114.         10,
  1115.         1,
  1116.         LocalPlayer.UserId,
  1117.         true
  1118.     )
  1119. end, LocalPlayer.PlayerScripts.ClientInit)
  1120. end)
  1121. local booolholder = false
  1122. visu:CreateToggle("Flame Walk",nil,function(boool)
  1123.     if boool == true then
  1124.         booolholder = true
  1125.         repeat task.wait(0.1)
  1126.             syn.secure_call(function()
  1127.                 require(game.ReplicatedStorage.LocalFX.LocalFlames).AddFlame(
  1128.                 Humanoid.RootPart.CFrame.p,
  1129.                 10,
  1130.                 1,
  1131.                 LocalPlayer.UserId,
  1132.                 false
  1133.             )
  1134.         end, LocalPlayer.PlayerScripts.ClientInit)
  1135.         until booolholder == false
  1136.     else
  1137.         booolholder = false
  1138.     end
  1139. end)
  1140. visu:CreateToggle("Dark Flame Walk",nil,function(boool)
  1141.     if boool == true then
  1142.         booolholder = true
  1143.         repeat task.wait(0.1)
  1144.             syn.secure_call(function()
  1145.                 require(game.ReplicatedStorage.LocalFX.LocalFlames).AddFlame(
  1146.                 Humanoid.RootPart.CFrame.p,
  1147.                 10,
  1148.                 1,
  1149.                 LocalPlayer.UserId,
  1150.                 true
  1151.             )
  1152.         end, LocalPlayer.PlayerScripts.ClientInit)
  1153.         until booolholder == false
  1154.     else
  1155.         booolholder = false
  1156.     end
  1157. end)
  1158. visu:CreateLabel("")
  1159. local styles = {}
  1160. local raw = {
  1161.     Blue = Color3.fromRGB(50, 131, 255),
  1162.     ChaChing = Color3.fromRGB(50, 131, 255),
  1163.     Green = Color3.fromRGB(27, 119, 43),
  1164.     Red = Color3.fromRGB(201, 39, 28),
  1165.     White = Color3.fromRGB(140, 140, 140),
  1166.     Yellow = Color3.fromRGB(218, 216, 31),
  1167.     Gold = Color3.fromRGB(254, 200, 9),
  1168.     Pink = Color3.fromRGB(242, 129, 255),
  1169.     Teal = Color3.fromRGB(33, 255, 171),
  1170.     Purple = Color3.fromRGB(125, 97, 232),
  1171.     TaDah = Color3.fromRGB(254, 200, 9),
  1172.     Festive = Color3.fromRGB(197, 0, 15),
  1173.     Festive2 = Color3.fromRGB(197, 0, 15),
  1174.     Badge = Color3.fromRGB(254, 200, 9),
  1175.     Robo = Color3.fromRGB(34, 255, 64),
  1176.     EggHunt = Color3.fromRGB(236, 227, 158),
  1177.     Vicious = Color3.fromRGB(0, 1, 5),
  1178.     Brown = Color3.fromRGB(82, 51, 43)
  1179. }
  1180. local alertDesign2 = "ChaChing"
  1181. for i,v in pairs(raw) do table.insert(styles,i) end
  1182. visu:CreateDropdown("Notification Style",styles,function(dd)
  1183.     alertDesign2=dd
  1184. end)
  1185. visu:CreateTextBox("Text","ex. Hello World",false,function(tx)
  1186.     alertText = tx
  1187.     alertDesign = alertDesign2
  1188.     syn.secure_call(pushAlert, game:GetService("Players").LocalPlayer.PlayerScripts.AlertBoxes)
  1189. end)
  1190.  
  1191. visu:CreateLabel("")
  1192. local destroym = true
  1193. visu:CreateToggle("Destroy Map", true, function(State) destroym = State end)
  1194. local nukeDuration = 10
  1195. local nukePosition = Vector3.new(-26.202560424804688, 0.657240390777588, 172.31759643554688)
  1196. local spoof = game:GetService("Players").LocalPlayer.PlayerScripts.AlertBoxes
  1197. function Nuke()
  1198.     require(game.ReplicatedStorage.LocalFX.MythicMeteor)({
  1199.         Pos = nukePosition,
  1200.         Dur = nukeDuration,
  1201.         Radius = 50,
  1202.         Delay = 1
  1203.     })
  1204. end
  1205. function DustCloud()
  1206.     require(game.ReplicatedStorage.LocalFX.OrbExplode)({
  1207.         Color = Color3.new(0.313726, 0.313726, 0.941176);
  1208.         Radius = 600;
  1209.         Dur = 15;
  1210.         Pos = nukePosition;
  1211.     })
  1212. end
  1213. visu:CreateButton("Spawn Nuke",function()
  1214.  alertText = "☢️ A nuke is incoming! ☢️"
  1215. syn.secure_call(pushAlert, spoof)
  1216. alertText = "☢️ Get somewhere high! ☢️"
  1217. task.wait(1.5)
  1218. task.spawn(function()
  1219. local Humanoid = LChar.Humanoid
  1220. for i = 1, 950 do
  1221.     local x = math.random(-100,100)/100
  1222.     local y = math.random(-100,100)/100
  1223.     local z = math.random(-100,100)/100
  1224.     Humanoid.CameraOffset = Vector3.new(x,y,z)
  1225.     task.wait(0.01)
  1226. end
  1227. end)
  1228. syn.secure_call(pushAlert, spoof)
  1229. task.wait(10)
  1230. spawn(function() syn.secure_call(Nuke, LocalPlayer.PlayerScripts.ClientInit) end)
  1231. task.wait(nukeDuration)
  1232. spawn(function() syn.secure_call(DustCloud, LocalPlayer.PlayerScripts.ClientInit) end)
  1233. task.wait(1)
  1234. local Orb = game:GetService("Workspace").Particles:FindFirstChild("Orb")
  1235. if Orb then Orb.CanCollide = true end
  1236. if destroym == true then
  1237. repeat task.wait(3)
  1238. for i,v in pairs(Orb:GetTouchingParts()) do
  1239.   if v.Anchored == true then v.Anchored = false end
  1240.   v:BreakJoints()
  1241.   v.Position = v.Position + Vector3.new(0,0,2)
  1242. end
  1243. until Orb == nil end
  1244. end)
  1245. end
  1246.  
  1247. local autofeed = itemstab:CreateSection("Auto Feed")
  1248.  
  1249. local function feedAllBees(treat,amt)
  1250.     for L = 1,5 do
  1251.         for U = 1,10 do
  1252.             game:GetService("ReplicatedStorage").Events.ConstructHiveCellFromEgg:InvokeServer(L, U, treat, amt)
  1253.         end
  1254.     end
  1255. end
  1256.  
  1257. autofeed:CreateDropdown("Select Treat",treatsTable,function(option) kocmoc.vars.selectedTreat = option end)
  1258. autofeed:CreateTextBox("Treat Amount","10",false,function(Value) kocmoc.vars.selectedTreatAmount = tonumber(Value) end)
  1259. autofeed:CreateButton("Feed All Bees",function() feedAllBees(kocmoc.vars.selectedTreat,kocmoc.vars.selectedTreatAmount) end)
  1260.  
  1261. local windShrine = itemstab:CreateSection("Wind Shrine")
  1262. windShrine:CreateDropdown("Select Item", donatableItemsTable, function(Option)  kocmoc.vars.donoItem = Option end)
  1263. windShrine:CreateTextBox("Item Quantity","10",false,function(Value) kocmoc.vars.donoAmount = tonumber(Value) end)
  1264. windShrine:CreateButton("Donate",function()
  1265.     donateToShrine(kocmoc.vars.donoItem,kocmoc.vars.donoAmount)
  1266.     print(kocmoc.vars.donoAmount)
  1267. end)
  1268. windShrine:CreateToggle("Auto Donate",nil,function(selection)
  1269.     kocmoc.toggles.autodonate = selection
  1270. end)
  1271.  
  1272.  
  1273. local farmsettings = setttab:CreateSection("Autofarm Settings")
  1274. farmsettings:CreateTextBox("Autofarming Walkspeed", "Default Value = 60", true, function(Value) kocmoc.vars.farmspeed = Value end)
  1275. farmsettings:CreateToggle("^ Loop Speed On Autofarming",nil, function(State) kocmoc.toggles.loopfarmspeed = State end)
  1276. farmsettings:CreateToggle("Don't Walk In Field",nil, function(State) kocmoc.toggles.farmflower = State end)
  1277. farmsettings:CreateToggle("Convert Hive Balloon",nil, function(State) kocmoc.toggles.convertballoons = State end)
  1278. farmsettings:CreateToggle("Don't Farm Tokens",nil, function(State) kocmoc.toggles.donotfarmtokens = State end)
  1279. farmsettings:CreateToggle("Enable Token Blacklisting",nil, function(State) kocmoc.toggles.enabletokenblacklisting = State end)
  1280. farmsettings:CreateSlider("Walk Speed", 0, 120, 70, false, function(Value) kocmoc.vars.walkspeed = Value end)
  1281. farmsettings:CreateSlider("Jump Power", 0, 120, 70, false, function(Value) kocmoc.vars.jumppower = Value end)
  1282. local raresettings = setttab:CreateSection("Tokens Settings")
  1283. raresettings:CreateTextBox("Asset ID", 'rbxassetid', false, function(Value) rarename = Value end)
  1284. raresettings:CreateButton("Add Token To Rares List", function()
  1285.     table.insert(kocmoc.rares, rarename)
  1286.     game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Rares List D",true):Destroy()
  1287.     raresettings:CreateDropdown("Rares List", kocmoc.rares, function(Option) end)
  1288. end)
  1289. raresettings:CreateButton("Remove Token From Rares List", function()
  1290.     table.remove(kocmoc.rares, api.tablefind(kocmoc.rares, rarename))
  1291.     game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Rares List D",true):Destroy()
  1292.     raresettings:CreateDropdown("Rares List", kocmoc.rares, function(Option) end)
  1293. end)
  1294. raresettings:CreateButton("Add Token To Blacklist", function()
  1295.     table.insert(kocmoc.bltokens, rarename)
  1296.     game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Tokens Blacklist D",true):Destroy()
  1297.     raresettings:CreateDropdown("Tokens Blacklist", kocmoc.bltokens, function(Option) end)
  1298. end)
  1299. raresettings:CreateButton("Remove Token From Blacklist", function()
  1300.     table.remove(kocmoc.bltokens, api.tablefind(kocmoc.bltokens, rarename))
  1301.     game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Tokens Blacklist D",true):Destroy()
  1302.     raresettings:CreateDropdown("Tokens Blacklist", kocmoc.bltokens, function(Option) end)
  1303. end)
  1304. raresettings:CreateDropdown("Tokens Blacklist", kocmoc.bltokens, function(Option) end)
  1305. raresettings:CreateDropdown("Rares List", kocmoc.rares, function(Option) end)
  1306. local dispsettings = setttab:CreateSection("Auto Dispenser & Auto Boosters Settings")
  1307. dispsettings:CreateToggle("Royal Jelly Dispenser", nil, function(State) kocmoc.dispensesettings.rj = not kocmoc.dispensesettings.rj end)
  1308. dispsettings:CreateToggle("Blueberry Dispenser", nil,  function(State) kocmoc.dispensesettings.blub = not kocmoc.dispensesettings.blub end)
  1309. dispsettings:CreateToggle("Strawberry Dispenser", nil,  function(State) kocmoc.dispensesettings.straw = not kocmoc.dispensesettings.straw end)
  1310. dispsettings:CreateToggle("Treat Dispenser", nil,  function(State) kocmoc.dispensesettings.treat = not kocmoc.dispensesettings.treat end)
  1311. dispsettings:CreateToggle("Coconut Dispenser", nil,  function(State) kocmoc.dispensesettings.coconut = not kocmoc.dispensesettings.coconut end)
  1312. dispsettings:CreateToggle("Glue Dispenser", nil,  function(State) kocmoc.dispensesettings.glue = not kocmoc.dispensesettings.glue end)
  1313. dispsettings:CreateToggle("Mountain Top Booster", nil,  function(State) kocmoc.dispensesettings.white = not kocmoc.dispensesettings.white end)
  1314. dispsettings:CreateToggle("Blue Field Booster", nil,  function(State) kocmoc.dispensesettings.blue = not kocmoc.dispensesettings.blue end)
  1315. dispsettings:CreateToggle("Red Field Booster", nil,  function(State) kocmoc.dispensesettings.red = not kocmoc.dispensesettings.red end)
  1316. local guisettings = setttab:CreateSection("GUI Settings")
  1317. local uitoggle = guisettings:CreateToggle("UI Toggle", nil, function(State) Window:Toggle(State) end) uitoggle:CreateKeybind(tostring(Config.Keybind):gsub("Enum.KeyCode.", ""), function(Key) Config.Keybind = Enum.KeyCode[Key] end) uitoggle:SetState(true)
  1318. guisettings:CreateColorpicker("UI Color", function(Color) Window:ChangeColor(Color) end)
  1319. local themes = guisettings:CreateDropdown("Image", {"Default","Hearts","Abstract","Hexagon","Circles","Lace With Flowers","Floral"}, function(Name) if Name == "Default" then Window:SetBackground("2151741365") elseif Name == "Hearts" then Window:SetBackground("6073763717") elseif Name == "Abstract" then Window:SetBackground("6073743871") elseif Name == "Hexagon" then Window:SetBackground("6073628839") elseif Name == "Circles" then Window:SetBackground("6071579801") elseif Name == "Lace With Flowers" then Window:SetBackground("6071575925") elseif Name == "Floral" then Window:SetBackground("5553946656") end end)themes:SetOption("Default")
  1320. local kocmocs = setttab:CreateSection("Configs")
  1321. kocmocs:CreateTextBox("Config Name", 'ex: stumpconfig', false, function(Value) temptable.configname = Value end)
  1322. kocmocs:CreateButton("Load Config", function() kocmoc = game:service'HttpService':JSONDecode(readfile("kocmoc/BSS_"..temptable.configname..".json")) end)
  1323. kocmocs:CreateButton("Save Config", function() writefile("kocmoc/BSS_"..temptable.configname..".json",game:service'HttpService':JSONEncode(kocmoc)) end)
  1324. kocmocs:CreateButton("Reset Config", function() kocmoc = defaultkocmoc end)
  1325. local fieldsettings = setttab:CreateSection("Fields Settings")
  1326. fieldsettings:CreateDropdown("Best White Field", temptable.whitefields, function(Option) kocmoc.bestfields.white = Option end)
  1327. fieldsettings:CreateDropdown("Best Red Field", temptable.redfields, function(Option) kocmoc.bestfields.red = Option end)
  1328. fieldsettings:CreateDropdown("Best Blue Field", temptable.bluefields, function(Option) kocmoc.bestfields.blue = Option end)
  1329. fieldsettings:CreateDropdown("Field", fieldstable, function(Option) temptable.blackfield = Option end)
  1330. fieldsettings:CreateButton("Add Field To Blacklist", function() table.insert(kocmoc.blacklistedfields, temptable.blackfield) game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Blacklisted Fields D",true):Destroy() fieldsettings:CreateDropdown("Blacklisted Fields", kocmoc.blacklistedfields, function(Option) end) end)
  1331. fieldsettings:CreateButton("Remove Field From Blacklist", function() table.remove(kocmoc.blacklistedfields, api.tablefind(kocmoc.blacklistedfields, temptable.blackfield)) game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Blacklisted Fields D",true):Destroy() fieldsettings:CreateDropdown("Blacklisted Fields", kocmoc.blacklistedfields, function(Option) end) end)
  1332. fieldsettings:CreateDropdown("Blacklisted Fields", kocmoc.blacklistedfields, function(Option) end)
  1333. local aqs = setttab:CreateSection("Auto Quest Settings")
  1334. aqs:CreateDropdown("Do NPC Quests", {'All Quests', 'Bucko Bee', 'Brown Bear', 'Riley Bee', 'Polar Bear'}, function(Option) kocmoc.vars.npcprefer = Option end)
  1335. aqs:CreateToggle("Teleport To NPC", nil, function(State) kocmoc.toggles.tptonpc = State end)
  1336. local pts = setttab:CreateSection("Autofarm Priority Tokens")
  1337. pts:CreateTextBox("Asset ID", 'rbxassetid', false, function(Value) rarename = Value end)
  1338. pts:CreateButton("Add Token To Priority List", function() table.insert(kocmoc.priority, rarename) game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Priority List D",true):Destroy() pts:CreateDropdown("Priority List", kocmoc.priority, function(Option) end) end)
  1339. pts:CreateButton("Remove Token From Priority List", function() table.remove(kocmoc.priority, api.tablefind(kocmoc.priority, rarename)) game:GetService("CoreGui"):FindFirstChild(_G.windowname).Main:FindFirstChild("Priority List D",true):Destroy() pts:CreateDropdown("Priority List", kocmoc.priority, function(Option) end) end)
  1340. pts:CreateDropdown("Priority List", kocmoc.priority, function(Option) end)
  1341.  
  1342. loadingUI:UpdateText("Loaded UI")
  1343. local loadingLoops = loadingInfo:CreateLabel("Loading Loops..")
  1344. -- script
  1345.  
  1346. local honeytoggleouyfyt = false
  1347. task.spawn(function()
  1348.     while task.wait(1) do
  1349.         if kocmoc.toggles.honeymaskconv == true then
  1350.         if temptable.converting then
  1351.             if honeytoggleouyfyt == false then
  1352.                 honeytoggleouyfyt = true
  1353.                     game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer("Equip", {Mute=false;Type="Honey Mask";Category="Accessory"})
  1354.             end
  1355.         else
  1356.             if honeytoggleouyfyt == true then
  1357.                 honeytoggleouyfyt = false
  1358.                 game:GetService("ReplicatedStorage").Events.ItemPackageEvent:InvokeServer("Equip", {Mute=false;Type=kocmoc.vars.defmask;Category="Accessory"})
  1359.             end
  1360.         end
  1361.         end
  1362.     end
  1363. end)
  1364.  
  1365. task.spawn(function()
  1366.     while task.wait(5) do
  1367.         local buffs = fetchBuffTable(buffTable)
  1368.         for i,v in pairs(buffTable) do
  1369.             if v["b"] == true then
  1370.                 local inuse = false
  1371.                 for k,p in pairs(buffs) do
  1372.                     if k == i then inuse = true end
  1373.                 end
  1374.                 if inuse == false then
  1375.                     game:GetService("ReplicatedStorage").Events.PlayerActivesCommand:FireServer({["Name"]=i})
  1376.                 end
  1377.             end
  1378.         end
  1379.     end
  1380. end)
  1381.  
  1382. task.spawn(function() while task.wait() do
  1383.     if kocmoc.toggles.autofarm then
  1384.         --if kocmoc.toggles.farmcoco then getcoco() end
  1385.         --if kocmoc.toggles.collectcrosshairs then getcrosshairs() end
  1386.         if kocmoc.toggles.farmflame then getflame() end
  1387.         if kocmoc.toggles.farmfuzzy then getfuzzy() end
  1388.     end
  1389. end end)
  1390.  
  1391. game.Workspace.Particles.ChildAdded:Connect(function(v)
  1392.     if not temptable.started.vicious and not temptable.started.ant then
  1393.         if v.Name == "WarningDisk" and not temptable.started.vicious and kocmoc.toggles.autofarm and not temptable.started.ant and kocmoc.toggles.farmcoco and (v.Position-api.humanoidrootpart().Position).magnitude < temptable.magnitude and not temptable.converting then
  1394.             table.insert(temptable.coconuts, v)
  1395.             getcoco(v)
  1396.             gettoken()
  1397.         elseif v.Name == "Crosshair" and v ~= nil and v.BrickColor ~= BrickColor.new("Forest green") and not temptable.started.ant and v.BrickColor ~= BrickColor.new("Flint") and (v.Position-api.humanoidrootpart().Position).magnitude < temptable.magnitude and kocmoc.toggles.autofarm and kocmoc.toggles.collectcrosshairs and not temptable.converting then
  1398.             if #temptable.crosshairs <= 3 then
  1399.                 table.insert(temptable.crosshairs, v)
  1400.                 getcrosshairs(v)
  1401.                 gettoken()
  1402.             end
  1403.         end
  1404.     end
  1405. end)
  1406.  
  1407. task.spawn(function() while task.wait() do
  1408.         temptable.magnitude = 50
  1409.         if LChar:FindFirstChild("ProgressLabel",true) then
  1410.         local pollenprglbl = LChar:FindFirstChild("ProgressLabel",true)
  1411.         maxpollen = tonumber(pollenprglbl.Text:match("%d+$"))
  1412.         local pollencount = LocalPlayer.CoreStats.Pollen.Value
  1413.         pollenpercentage = pollencount/maxpollen*100
  1414.         fieldselected = game:GetService("Workspace").FlowerZones[kocmoc.vars.field]
  1415.        
  1416.         if kocmoc.toggles.autouseconvertors == true then
  1417.         if tonumber(pollenpercentage) >= (kocmoc.vars.convertat - (kocmoc.vars.autoconvertWaitTime)) then
  1418.                 if not temptable.consideringautoconverting then
  1419.                 temptable.consideringautoconverting = true
  1420.                 spawn(function()
  1421.                     task.wait(kocmoc.vars.autoconvertWaitTime)
  1422.                     if tonumber(pollenpercentage) >= (kocmoc.vars.convertat - (kocmoc.vars.autoconvertWaitTime)) then
  1423.                         useConvertors()
  1424.                     end
  1425.                     temptable.consideringautoconverting = false
  1426.                 end)
  1427.                 end
  1428.             end
  1429.         end
  1430.        
  1431.         if kocmoc.toggles.autofarm then
  1432.         if kocmoc.toggles.autodoquest and game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Menus.Children.Quests.Content:FindFirstChild("Frame") then
  1433.             for i,v in next, game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Menus.Children.Quests:GetDescendants() do
  1434.                 if v.Name == "Description" then
  1435.                     if string.match(v.Parent.Parent.TitleBar.Text, kocmoc.vars.npcprefer) or kocmoc.vars.npcprefer == "All Quests" and not string.find(v.Text, "Puffshroom") then
  1436.                         pollentypes = {'White Pollen', "Red Pollen", "Blue Pollen", "Blue Flowers", "Red Flowers", "White Flowers"}
  1437.                         text = v.Text
  1438.                         if api.returnvalue(fieldstable, text) and not string.find(v.Text, "Complete!") and not api.findvalue(kocmoc.blacklistedfields, api.returnvalue(fieldstable, text)) then
  1439.                             d = api.returnvalue(fieldstable, text)
  1440.                             fieldselected = game:GetService("Workspace").FlowerZones[d]
  1441.                             break
  1442.                         elseif api.returnvalue(pollentypes, text) and not string.find(v.Text, 'Complete!') then
  1443.                             d = api.returnvalue(pollentypes, text)
  1444.                             if d == "Blue Flowers" or d == "Blue Pollen" then
  1445.                                 fieldselected = game:GetService("Workspace").FlowerZones[kocmoc.bestfields.blue]
  1446.                                 break
  1447.                             elseif d == "White Flowers" or d == "White Pollen" then
  1448.                                 fieldselected = game:GetService("Workspace").FlowerZones[kocmoc.bestfields.white]
  1449.                                 break
  1450.                             elseif d == "Red Flowers" or d == "Red Pollen" then
  1451.                                 fieldselected = game:GetService("Workspace").FlowerZones[kocmoc.bestfields.red]
  1452.                                 break
  1453.                             end
  1454.                         end
  1455.                     end
  1456.                 end
  1457.             end
  1458.         else
  1459.             fieldselected = game:GetService("Workspace").FlowerZones[kocmoc.vars.field]
  1460.         end
  1461.         fieldpos = CFrame.new(fieldselected.Position.X, fieldselected.Position.Y+3, fieldselected.Position.Z)
  1462.         fieldposition = fieldselected.Position
  1463.         if temptable.sprouts.detected and temptable.sprouts.coords and kocmoc.toggles.farmsprouts then
  1464.             fieldposition = temptable.sprouts.coords.Position
  1465.             fieldpos = temptable.sprouts.coords
  1466.         end
  1467.         if kocmoc.toggles.farmpuffshrooms and game.Workspace.Happenings.Puffshrooms:FindFirstChildOfClass("Model") then
  1468.             if api.partwithnamepart("Mythic", game.Workspace.Happenings.Puffshrooms) then
  1469.                 temptable.magnitude = 25
  1470.                 fieldpos = api.partwithnamepart("Mythic", game.Workspace.Happenings.Puffshrooms):FindFirstChild("Puffball Stem").CFrame
  1471.                 fieldposition = fieldpos.Position
  1472.             elseif api.partwithnamepart("Legendary", game.Workspace.Happenings.Puffshrooms) then
  1473.                 temptable.magnitude = 25
  1474.                 fieldpos = api.partwithnamepart("Legendary", game.Workspace.Happenings.Puffshrooms):FindFirstChild("Puffball Stem").CFrame
  1475.                 fieldposition = fieldpos.Position
  1476.             elseif api.partwithnamepart("Epic", game.Workspace.Happenings.Puffshrooms) then
  1477.                 temptable.magnitude = 25
  1478.                 fieldpos = api.partwithnamepart("Epic", game.Workspace.Happenings.Puffshrooms):FindFirstChild("Puffball Stem").CFrame
  1479.                 fieldposition = fieldpos.Position
  1480.             elseif api.partwithnamepart("Rare", game.Workspace.Happenings.Puffshrooms) then
  1481.                 temptable.magnitude = 25
  1482.                 fieldpos = api.partwithnamepart("Rare", game.Workspace.Happenings.Puffshrooms):FindFirstChild("Puffball Stem").CFrame
  1483.                 fieldposition = fieldpos.Position
  1484.             else
  1485.                 temptable.magnitude = 25
  1486.                 fieldpos = api.getbiggestmodel(game.Workspace.Happenings.Puffshrooms):FindFirstChild("Puffball Stem").CFrame
  1487.                 fieldposition = fieldpos.Position
  1488.             end
  1489.         end
  1490.        
  1491.         if (tonumber(pollenpercentage) < tonumber(kocmoc.vars.convertat)) or (kocmoc.toggles.disableconversion == true) then
  1492.             if not temptable.tokensfarm then
  1493.                 api.tween(2, fieldpos)
  1494.                 task.wait(2)
  1495.                 temptable.tokensfarm = true
  1496.                 if kocmoc.toggles.autosprinkler then makesprinklers() end
  1497.             else
  1498.                 if kocmoc.toggles.killmondo then
  1499.                     while kocmoc.toggles.killmondo and game.Workspace.Monsters:FindFirstChild("Mondo Chick (Lvl 8)") and not temptable.started.vicious and not temptable.started.monsters do
  1500.                         temptable.started.mondo = true
  1501.                         while game.Workspace.Monsters:FindFirstChild("Mondo Chick (Lvl 8)") do
  1502.                             disableall()
  1503.                             game:GetService("Workspace").Map.Ground.HighBlock.CanCollide = false
  1504.                             mondopition = game.Workspace.Monsters["Mondo Chick (Lvl 8)"].Head.Position
  1505.                             api.tween(1, CFrame.new(mondopition.x, mondopition.y - 60, mondopition.z))
  1506.                             task.wait(1)
  1507.                             temptable.float = true
  1508.                         end
  1509.                         task.wait(.5) game:GetService("Workspace").Map.Ground.HighBlock.CanCollide = true temptable.float = false api.tween(.5, CFrame.new(73.2, 176.35, -167)) task.wait(1)
  1510.                         for i = 0, 50 do
  1511.                             gettoken(CFrame.new(73.2, 176.35, -167).Position)
  1512.                         end
  1513.                         enableall()
  1514.                         api.tween(2, fieldpos)
  1515.                         temptable.started.mondo = false
  1516.                     end
  1517.                 end
  1518.                 if (fieldposition-HRP.Position).magnitude > temptable.magnitude then
  1519.                     api.tween(0.1, fieldpos)
  1520.                     task.wait(2)
  1521.                     if kocmoc.toggles.autosprinkler then makesprinklers() end
  1522.                 end
  1523.                 getprioritytokens()
  1524.                 if kocmoc.toggles.avoidmobs then avoidmob() end
  1525.                 if kocmoc.toggles.farmclosestleaf then closestleaf() end
  1526.                 if kocmoc.toggles.farmbubbles then getbubble() end
  1527.                 if kocmoc.toggles.farmclouds then getcloud() end
  1528.                 if kocmoc.toggles.farmunderballoons then getballoons() end
  1529.                 if not kocmoc.toggles.donotfarmtokens and done then gettoken() end
  1530.                 if not kocmoc.toggles.farmflower then getflower() end
  1531.             end
  1532.         elseif tonumber(pollenpercentage) >= tonumber(kocmoc.vars.convertat) then
  1533.             if not kocmoc.toggles.disableconversion then
  1534.             temptable.tokensfarm = false
  1535.             api.tween(2, game:GetService("Players").LocalPlayer.SpawnPos.Value * CFrame.fromEulerAnglesXYZ(0, 110, 0) + Vector3.new(0, 0, 9))
  1536.             task.wait(2)
  1537.             temptable.converting = true
  1538.             repeat
  1539.                 converthoney()
  1540.             until LocalPlayer.CoreStats.Pollen.Value == 0
  1541.             if kocmoc.toggles.convertballoons and gethiveballoon() then
  1542.                 task.wait(6)
  1543.                 repeat
  1544.                     task.wait()
  1545.                     converthoney()
  1546.                 until gethiveballoon() == false or not kocmoc.toggles.convertballoons
  1547.             end
  1548.             temptable.converting = false
  1549.             temptable.act = temptable.act + 1
  1550.             task.wait(6)
  1551.             if kocmoc.toggles.autoant and not game:GetService("Workspace").Toys["Ant Challenge"].Busy.Value and rtsg().Eggs.AntPass > 0 then farmant() end
  1552.             if kocmoc.toggles.autoquest then makequests() end
  1553.             if kocmoc.toggles.autoplanters then collectplanters() end
  1554.             if kocmoc.toggles.autokillmobs then
  1555.                 if temptable.act >= kocmoc.vars.monstertimer then
  1556.                     temptable.started.monsters = true
  1557.                     temptable.act = 0
  1558.                     killmobs()
  1559.                     temptable.started.monsters = false
  1560.                 end
  1561.             end
  1562.             if kocmoc.vars.resetbeeenergy then
  1563.             --rconsoleprint("Act2:-"..tostring(temptable.act2))
  1564.             if temptable.act2 >= kocmoc.vars.resettimer then
  1565.                 temptable.started.monsters = true
  1566.                 temptable.act2 = 0
  1567.                 repeat task.wait() until workspace:FindFirstChild(LocalPlayer.Name) and workspace:FindFirstChild(LocalPlayer.Name):FindFirstChild("Humanoid") and workspace:FindFirstChild(LocalPlayer.Name):FindFirstChild("Humanoid").Health > 0
  1568.                 workspace:FindFirstChild(LocalPlayer.Name):BreakJoints()
  1569.                 task.wait(6.5)
  1570.                 repeat task.wait() until workspace:FindFirstChild(LocalPlayer.Name)
  1571.                 workspace:FindFirstChild(LocalPlayer.Name):BreakJoints()
  1572.                 task.wait(6.5)
  1573.                 repeat task.wait() until workspace:FindFirstChild(LocalPlayer.Name)
  1574.                 temptable.started.monsters = false
  1575.             end
  1576.         end
  1577.         end
  1578.     end
  1579. end end end end)
  1580.  
  1581. task.spawn(function()
  1582.     while task.wait(1) do
  1583.         if kocmoc.toggles.killvicious and temptable.detected.vicious and temptable.converting == false and not temptable.started.monsters then
  1584.             temptable.started.vicious = true
  1585.             disableall()
  1586.             local vichumanoid = HRP
  1587.             for i,v in next, game.workspace.Particles:GetChildren() do
  1588.                 for x in string.gmatch(v.Name, "Vicious") do
  1589.                     if string.find(v.Name, "Vicious") then
  1590.                         api.tween(1,CFrame.new(v.Position.x, v.Position.y, v.Position.z)) task.wait(1)
  1591.                         api.tween(0.5, CFrame.new(v.Position.x, v.Position.y, v.Position.z)) task.wait(.5)
  1592.                     end
  1593.                 end
  1594.             end
  1595.             for i,v in next, game.workspace.Particles:GetChildren() do
  1596.                 for x in string.gmatch(v.Name, "Vicious") do
  1597.                     while kocmoc.toggles.killvicious and temptable.detected.vicious do task.wait() if string.find(v.Name, "Vicious") then
  1598.                         for i=1, 4 do temptable.float = true vichumanoid.CFrame = CFrame.new(v.Position.x+10, v.Position.y, v.Position.z) task.wait(.3)
  1599.                         end
  1600.                     end end
  1601.                 end
  1602.             end
  1603.             enableall()
  1604.             task.wait(1)
  1605.             temptable.float = false
  1606.             temptable.started.vicious = false
  1607.         end
  1608.     end
  1609. end)
  1610.  
  1611. task.spawn(function() while task.wait() do
  1612.     if kocmoc.toggles.killwindy and temptable.detected.windy and not temptable.converting and not temptable.started.vicious and not temptable.started.mondo and not temptable.started.monsters then
  1613.         temptable.started.windy = true
  1614.         wlvl = "" aw = false awb = false -- some variable for autowindy, yk?
  1615.         disableall()
  1616.         while kocmoc.toggles.killwindy and temptable.detected.windy do
  1617.             if not aw then
  1618.                 for i,v in pairs(workspace.Monsters:GetChildren()) do
  1619.                     if string.find(v.Name, "Windy") then wlvl = v.Name aw = true -- we found windy!
  1620.                     end
  1621.                 end
  1622.             end
  1623.             if aw then
  1624.                 for i,v in pairs(workspace.Monsters:GetChildren()) do
  1625.                     if string.find(v.Name, "Windy") then
  1626.                         if v.Name ~= wlvl then
  1627.                             temptable.float = false task.wait(5) for i =1, 5 do gettoken(api.humanoidrootpart().Position) end -- collect tokens :yessir:
  1628.                             wlvl = v.Name
  1629.                         end
  1630.                     end
  1631.                 end
  1632.             end
  1633.             if not awb then api.tween(1,temptable.gacf(temptable.windy, 5)) task.wait(1) awb = true end
  1634.             if awb and temptable.windy.Name == "Windy" then
  1635.                 api.humanoidrootpart().CFrame = temptable.gacf(temptable.windy, 25) temptable.float = true task.wait()
  1636.             end
  1637.         end
  1638.         enableall()
  1639.         temptable.float = false
  1640.         temptable.started.windy = false
  1641.     end
  1642. end end)
  1643.  
  1644. local function collectorSteal()
  1645.     if kocmoc.vars.autodigmode == "Collector Steal" then
  1646.         for i,v in pairs(game.Players:GetChildren()) do
  1647.             if v.Name ~= LocalPlayer.Name then
  1648.                 if v then
  1649.                     if v.Character then
  1650.                         if v.Character:FindFirstChildWhichIsA("Tool") then
  1651.                             if v.Character:FindFirstChildWhichIsA("Tool"):FindFirstChild("ClickEvent") then
  1652.                     v.Character:FindFirstChildWhichIsA("Tool").ClickEvent:FireServer()
  1653.                 end
  1654.             end
  1655.         end
  1656.         end
  1657.         end
  1658.         end
  1659.     end
  1660. end
  1661.  
  1662. task.spawn(function() while task.wait(0.001) do
  1663.     if kocmoc.toggles.traincrab then HRP.CFrame = CFrame.new(-259, 111.8, 496.4) * CFrame.fromEulerAnglesXYZ(0, 110, 90) temptable.float = true temptable.float = false end
  1664.     if kocmoc.toggles.farmrares then for k,v in next, game.workspace.Collectibles:GetChildren() do if v.CFrame.YVector.Y == 1 then if v.Transparency == 0 then decal = v:FindFirstChildOfClass("Decal") for e,r in next, kocmoc.rares do if decal.Texture == r or decal.Texture == "rbxassetid://"..r then HRP.CFrame = v.CFrame break end end end end end end
  1665.     if kocmoc.toggles.autodig then
  1666.     if LocalPlayer then
  1667.         if LChar then
  1668.             if LChar:FindFirstChildOfClass("Tool") then
  1669.                 if LChar:FindFirstChildOfClass("Tool"):FindFirstChild("ClickEvent", true) then
  1670.                 tool = LChar:FindFirstChildOfClass("Tool") or nil
  1671.                 end
  1672.             end
  1673.         end
  1674.     if tool and LChar then pcall(function() getsenv(tool.ClientScriptMouse).collectStart(game:GetService("Players").LocalPlayer:GetMouse()) end) end end collectorSteal() workspace.NPCs.Onett.Onett["Porcelain Dipper"].ClickEvent:FireServer() end
  1675. end end)
  1676.  
  1677. game:GetService("Workspace").Particles.Folder2.ChildAdded:Connect(function(child)
  1678.     if child.Name == "Sprout" then
  1679.         temptable.sprouts.detected = true
  1680.         temptable.sprouts.coords = child.CFrame
  1681.     end
  1682. end)
  1683. game:GetService("Workspace").Particles.Folder2.ChildRemoved:Connect(function(child)
  1684.     if child.Name == "Sprout" then
  1685.         task.wait(30)
  1686.         temptable.sprouts.detected = false
  1687.         temptable.sprouts.coords = ""
  1688.     end
  1689. end)
  1690.  
  1691. Workspace.Particles.ChildAdded:Connect(function(instance)
  1692.     if string.find(instance.Name, "Vicious") then
  1693.         temptable.detected.vicious = true
  1694.     end
  1695. end)
  1696. Workspace.Particles.ChildRemoved:Connect(function(instance)
  1697.     if string.find(instance.Name, "Vicious") then
  1698.         temptable.detected.vicious = false
  1699.     end
  1700. end)
  1701. game:GetService("Workspace").NPCBees.ChildAdded:Connect(function(v)
  1702.     if v.Name == "Windy" then
  1703.         task.wait(3) temptable.windy = v temptable.detected.windy = true
  1704.     end
  1705. end)
  1706. game:GetService("Workspace").NPCBees.ChildRemoved:Connect(function(v)
  1707.     if v.Name == "Windy" then
  1708.         task.wait(3) temptable.windy = nil temptable.detected.windy = false
  1709.     end
  1710. end)
  1711.  
  1712. task.spawn(function() while task.wait(0.1) do
  1713.     if not temptable.converting then
  1714.         if kocmoc.toggles.autosamovar then
  1715.             game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Samovar")
  1716.             platformm = game:GetService("Workspace").Toys.Samovar.Platform
  1717.             for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  1718.                 if (v.Position-platformm.Position).magnitude < 25 and v.CFrame.YVector.Y == 1 then
  1719.                     api.humanoidrootpart().CFrame = v.CFrame
  1720.                 end
  1721.             end
  1722.         end
  1723.         if kocmoc.toggles.autostockings then
  1724.             game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Stockings")
  1725.             platformm = game:GetService("Workspace").Toys.Stockings.Platform
  1726.             for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  1727.                 if (v.Position-platformm.Position).magnitude < 25 and v.CFrame.YVector.Y == 1 then
  1728.                     api.humanoidrootpart().CFrame = v.CFrame
  1729.                 end
  1730.             end
  1731.         end
  1732.         if kocmoc.toggles.autoonettart then
  1733.             game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Onett's Lid Art")
  1734.             platformm = game:GetService("Workspace").Toys["Onett's Lid Art"].Platform
  1735.             for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  1736.                 if (v.Position-platformm.Position).magnitude < 25 and v.CFrame.YVector.Y == 1 then
  1737.                     api.humanoidrootpart().CFrame = v.CFrame
  1738.                 end
  1739.             end
  1740.         end
  1741.         if kocmoc.toggles.autocandles then
  1742.             game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Honeyday Candles")
  1743.             platformm = game:GetService("Workspace").Toys["Honeyday Candles"].Platform
  1744.             for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  1745.                 if (v.Position-platformm.Position).magnitude < 25 and v.CFrame.YVector.Y == 1 then
  1746.                     api.humanoidrootpart().CFrame = v.CFrame
  1747.                 end
  1748.             end
  1749.         end
  1750.         if kocmoc.toggles.autofeast then
  1751.             game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Beesmas Feast")
  1752.             platformm = game:GetService("Workspace").Toys["Beesmas Feast"].Platform
  1753.             for i,v in pairs(game.Workspace.Collectibles:GetChildren()) do
  1754.                 if (v.Position-platformm.Position).magnitude < 25 and v.CFrame.YVector.Y == 1 then
  1755.                     api.humanoidrootpart().CFrame = v.CFrame
  1756.                 end
  1757.             end
  1758.         end
  1759.         if kocmoc.toggles.autodonate then
  1760.             if isWindshrineOnCooldown() == false then
  1761.             donateToShrine(kocmoc.vars.donoItem,kocmoc.vars.donoAmount)
  1762.             end
  1763.         end
  1764.     end
  1765. end end)
  1766.  
  1767. task.spawn(function() while task.wait(1) do
  1768.     temptable.runningfor = temptable.runningfor + 1
  1769.     temptable.honeycurrent = statsget().Totals.Honey
  1770.     if kocmoc.toggles.honeystorm then game.ReplicatedStorage.Events.ToyEvent:FireServer("Honeystorm") end
  1771.     if kocmoc.toggles.collectgingerbreads then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Gingerbread House") end
  1772.     if kocmoc.toggles.autodispense then
  1773.         if kocmoc.dispensesettings.rj then local A_1 = "Free Royal Jelly Dispenser" local Event = game:GetService("ReplicatedStorage").Events.ToyEvent Event:FireServer(A_1) end
  1774.         if kocmoc.dispensesettings.blub then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Blueberry Dispenser") end
  1775.         if kocmoc.dispensesettings.straw then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Strawberry Dispenser") end
  1776.         if kocmoc.dispensesettings.treat then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Treat Dispenser") end
  1777.         if kocmoc.dispensesettings.coconut then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Coconut Dispenser") end
  1778.         if kocmoc.dispensesettings.glue then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Glue Dispenser") end
  1779.     end
  1780.     if kocmoc.toggles.autoboosters then
  1781.         if kocmoc.dispensesettings.white then game.ReplicatedStorage.Events.ToyEvent:FireServer("Field Booster") end
  1782.         if kocmoc.dispensesettings.red then game.ReplicatedStorage.Events.ToyEvent:FireServer("Red Field Booster") end
  1783.         if kocmoc.dispensesettings.blue then game.ReplicatedStorage.Events.ToyEvent:FireServer("Blue Field Booster") end
  1784.     end
  1785.     if kocmoc.toggles.clock then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Wealth Clock") end
  1786.     if kocmoc.toggles.freeantpass then game:GetService("ReplicatedStorage").Events.ToyEvent:FireServer("Free Ant Pass Dispenser") end
  1787.     gainedhoneylabel:UpdateText("Gained Honey: "..api.suffixstring(temptable.honeycurrent - temptable.honeystart))
  1788. end end)
  1789.  
  1790. game:GetService('RunService').Heartbeat:connect(function()
  1791.     if kocmoc.toggles.autoquest then firesignal(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.NPC.ButtonOverlay.MouseButton1Click) end
  1792.     if kocmoc.toggles.loopspeed then Humanoid.WalkSpeed = kocmoc.vars.walkspeed end
  1793.     if kocmoc.toggles.loopjump then Humanoid.JumpPower = kocmoc.vars.jumppower end
  1794. end)
  1795.  
  1796. game:GetService('RunService').Heartbeat:connect(function()
  1797.     for i,v in next, LocalPlayer.PlayerGui.ScreenGui:WaitForChild("MinigameLayer"):GetChildren() do for k,q in next, v:WaitForChild("GuiGrid"):GetDescendants() do if q.Name == "ObjContent" or q.Name == "ObjImage" then q.Visible = true end end end
  1798. end)
  1799.  
  1800. game:GetService('RunService').Heartbeat:connect(function()
  1801.     if temptable.float then floatpad.Size=Vector3.new(20, 2, 20) floatpad.CanCollide = true floatpad.CFrame = CFrame.new(HRP.Position.X, HRP.Position.Y-3.75, HRP.Position.Z) task.wait(0)  else floatpad.CanCollide = false end
  1802. end)
  1803.  
  1804. local vu = game:GetService("VirtualUser")
  1805. game:GetService("Players").LocalPlayer.Idled:connect(function() vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)task.wait(1)vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  1806. end)
  1807.  
  1808. local canTeleport = true
  1809. game:GetService("Workspace").Particles.Snowflakes.ChildAdded:Connect(function(snowflake)
  1810.     if canTeleport == true and kocmoc.toggles.farmsnowflakes == true then
  1811.         local hash = tostring(math.random(1,10000))
  1812.         snowflake.Name = hash
  1813.         canTeleport = false
  1814.         repeat
  1815.            task.wait()
  1816.            getgenv().temptable.float = true
  1817.            getgenv().temptable.sakatNoclip=true
  1818.            tweenService:Create(HRP, TweenInfo.new(((HRP.Position - snowflake.Position)).Magnitude / 80), {CFrame = snowflake.CFrame}):Play();
  1819.            if (HRP.Position - snowflake.Position).Magnitude <=15 then
  1820.            HRP.CFrame = snowflake.CFrame + Vector3.new(0,7.5,0)
  1821.            end
  1822.         until game:GetService("Workspace").Particles.Snowflakes:FindFirstChild(hash) == nil
  1823.         getgenv().temptable.float = false
  1824.         getgenv().sakatNoclip = false
  1825.         task.wait(1)
  1826.         canTeleport = true
  1827.     end
  1828. end)
  1829.  
  1830. LocalPlayer.CharacterAdded:Connect(function(char)
  1831.     humanoid = LChar:WaitForChild("Humanoid")
  1832.     humanoid.Died:Connect(function()
  1833.         if kocmoc.toggles.autofarm then
  1834.             temptable.dead = true
  1835.             kocmoc.toggles.autofarm = false
  1836.             temptable.converting = false
  1837.             temptable.farmtoken = false
  1838.         end
  1839.         if temptable.dead then
  1840.             task.wait(25)
  1841.             temptable.dead = false
  1842.             kocmoc.toggles.autofarm = true
  1843.             local player = LocalPlayer
  1844.             temptable.converting = false
  1845.             temptable.tokensfarm = true
  1846.         end
  1847.     end)
  1848. end)
  1849.  
  1850. for _,v in next, game.workspace.Collectibles:GetChildren() do
  1851.     if string.find(v.Name,"") then
  1852.         v:Destroy()
  1853.     end
  1854. end
  1855.  
  1856. task.spawn(function() while task.wait() do
  1857.     pos = HRP.Position
  1858.     task.wait(0.00001)
  1859.     currentSpeed = (pos-HRP.Position).magnitude
  1860.     if currentSpeed > 0 then
  1861.         temptable.running = true
  1862.     else
  1863.         temptable.running = false
  1864.     end
  1865. end end)
  1866.  
  1867. loadingLoops:UpdateText("Loaded Loops")
  1868.  
  1869. local function getMonsterName(name)
  1870.     local newName = nil
  1871.     local keywords = {
  1872.         ["Mushroom"]="Ladybug";
  1873.         ["Rhino"]="Rhino Beetle";
  1874.         ["Spider"]="Spider";
  1875.         ["Ladybug"]="Ladybug";
  1876.         ["Scorpion"]="Scorpion";
  1877.         ["Mantis"]="Mantis";
  1878.         ["Beetle"]="Rhino Beetle";
  1879.         ["Tunnel"]="Tunnel Bear";
  1880.         ["Coco"]="Coconut Crab";
  1881.         ["King"]="King Beetle";
  1882.         ["Stump"]="Stump Snail";
  1883.         ["Were"]="Werewolf"
  1884.     }
  1885.     for i,v in pairs(keywords) do
  1886.         if string.find(string.upper(name),string.upper(i)) then
  1887.             newName = v
  1888.         end
  1889.     end
  1890.     if newName == nil then newName = name end
  1891.     return newName
  1892. end
  1893.  
  1894. local function getNearestField(part)
  1895.     local resultingFieldPos
  1896.     local lowestMag = math.huge
  1897.     for i,v in pairs(game:GetService("Workspace").FlowerZones:GetChildren()) do
  1898.         if (v.Position - part.Position).magnitude < lowestMag then
  1899.             lowestMag = (v.Position - part.Position).magnitude
  1900.             resultingFieldPos = v.Position
  1901.         end
  1902.     end
  1903.     if lowestMag > 100 then resultingFieldPos = part.Position + Vector3.new(0,0,10) end
  1904.     if string.find(part.Name,"Tunnel") then resultingFieldPos = part.Position + Vector3.new(20,-70,0) end
  1905.     return resultingFieldPos
  1906. end
  1907.  
  1908. local function fetchVisualMonsterString(v)
  1909.     local mobText = nil
  1910.             if v:FindFirstChild("Attachment") then
  1911.             if v:FindFirstChild("Attachment"):FindFirstChild("TimerGui") then
  1912.                 if v:FindFirstChild("Attachment"):FindFirstChild("TimerGui"):FindFirstChild("TimerLabel") then
  1913.                     if v:FindFirstChild("Attachment"):FindFirstChild("TimerGui"):FindFirstChild("TimerLabel").Visible == true then
  1914.                         local splitTimer = string.split(v:FindFirstChild("Attachment"):FindFirstChild("TimerGui"):FindFirstChild("TimerLabel").Text," ")
  1915.                         if splitTimer[3] ~= nil then
  1916.                             mobText = getMonsterName(v.Name) .. ": " .. splitTimer[3]
  1917.                         elseif splitTimer[2] ~= nil then
  1918.                             mobText = getMonsterName(v.Name) .. ": " .. splitTimer[2]
  1919.                         else
  1920.                             mobText = getMonsterName(v.Name) .. ": " .. splitTimer[1]
  1921.                         end
  1922.                     else
  1923.                         mobText = getMonsterName(v.Name) .. ": Ready"
  1924.                     end
  1925.                 end
  1926.             end
  1927.         end
  1928.     return mobText
  1929. end
  1930.  
  1931. local function getToyCooldown(toy)
  1932. local c = require(game.ReplicatedStorage.ClientStatCache):Get()
  1933. local name = toy
  1934. local t = workspace.OsTime.Value - c.ToyTimes[name]
  1935. local cooldown = workspace.Toys[name].Cooldown.Value
  1936. local u = cooldown - t
  1937. local canBeUsed = false
  1938. if string.find(tostring(u),"-") then canBeUsed = true end
  1939. return u,canBeUsed
  1940. end
  1941.  
  1942. task.spawn(function()
  1943.     pcall(function()
  1944.     loadingInfo:CreateLabel("")
  1945.     loadingInfo:CreateLabel("Script loaded!")
  1946.     task.wait(2)
  1947.     pcall(function()
  1948.     for i,v in pairs(game.CoreGui:GetDescendants()) do
  1949.         if v.Name == "Startup S" then
  1950.             v.Parent.Parent.RightSide["Information S"].Parent = v.Parent
  1951.             v:Destroy()
  1952.         end
  1953.     end
  1954.     end)
  1955.     local panel = hometab:CreateSection("Mob Panel")
  1956.     local statusTable = {}
  1957.     for i,v in pairs(game:GetService("Workspace").MonsterSpawners:GetChildren()) do
  1958.         if not string.find(v.Name,"CaveMonster") then
  1959.         local mobText = nil
  1960.         mobText = fetchVisualMonsterString(v)
  1961.         if mobText ~= nil then
  1962.             local mob = panel:CreateButton(mobText,function()
  1963.                 api.tween(1,CFrame.new(getNearestField(v)))
  1964.             end)
  1965.             table.insert(statusTable,{mob,v})
  1966.         end
  1967.         end
  1968.     end
  1969.     local mob2 = panel:CreateButton("Mondo Chick: 00:00",function() api.tween(1,game:GetService("Workspace").FlowerZones["Mountain Top Field"].CFrame) end)
  1970.     local panel2 = hometab:CreateSection("Utility Panel")
  1971.     local windUpd = panel2:CreateButton("Wind Shrine: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").NPCs["Wind Shrine"].Circle.Position + Vector3.new(0,5,0))) end)
  1972.     local rfbUpd = panel2:CreateButton("Red Field Booster: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Red Field Booster"].Platform.Position + Vector3.new(0,5,0))) end)
  1973.     local bfbUpd = panel2:CreateButton("Blue Field Booster: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Blue Field Booster"].Platform.Position + Vector3.new(0,5,0))) end)
  1974.     local wfbUpd = panel2:CreateButton("White Field Booster: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Field Booster"].Platform.Position + Vector3.new(0,5,0))) end)
  1975.     local cocoDispUpd = panel2:CreateButton("Coconut Dispenser: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Coconut Dispenser"].Platform.Position + Vector3.new(0,5,0))) end)
  1976.     local ic1 = panel2:CreateButton("Instant Converter A: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Instant Converter"].Platform.Position + Vector3.new(0,5,0))) end)
  1977.     local ic2 = panel2:CreateButton("Instant Converter B: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Instant Converter B"].Platform.Position + Vector3.new(0,5,0))) end)
  1978.     local ic3 = panel2:CreateButton("Instant Converter C: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Instant Converter C"].Platform.Position + Vector3.new(0,5,0))) end)
  1979.     local wcUpd = panel2:CreateButton("Wealth Clock: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Wealth Clock"].Platform.Position + Vector3.new(0,5,0))) end)
  1980.     local mmsUpd = panel2:CreateButton("Mythic Meteor Shower: 00:00",function() api.tween(1,CFrame.new(game:GetService("Workspace").Toys["Mythic Meteor Shower"].Platform.Position + Vector3.new(0,5,0))) end)
  1981.     local utilities = {
  1982.         ["Red Field Booster"]=rfbUpd;
  1983.         ["Blue Field Booster"]=bfbUpd;
  1984.         ["Field Booster"]=wfbUpd;
  1985.         ["Coconut Dispenser"]=cocoDispUpd;
  1986.         ["Instant Converter"]=ic1;
  1987.         ["Instant Converter B"]=ic2;
  1988.         ["Instant Converter C"]=ic3;
  1989.         ["Wealth Clock"]=wcUpd;
  1990.         ["Mythic Meteor Shower"]=mmsUpd;
  1991.     }
  1992.     while task.wait(1) do
  1993.         if kocmoc.toggles.enablestatuspanel == true then
  1994.         for i,v in pairs(statusTable) do
  1995.             if v[1] and v[2] then
  1996.                 v[1]:UpdateText(
  1997.                 fetchVisualMonsterString(
  1998.                 v[2]
  1999.                 ))
  2000.             end
  2001.         end
  2002.         if workspace:FindFirstChild("Clock") then if workspace.Clock:FindFirstChild("SurfaceGui") then if workspace.Clock.SurfaceGui:FindFirstChild("TextLabel") then
  2003.             if workspace.Clock.SurfaceGui:FindFirstChild("TextLabel").Text == "! ! !" then
  2004.                 mob2:UpdateText("Mondo Chick: Ready")
  2005.             else
  2006.                 mob2:UpdateText("Mondo Chick: " .. string.gsub(
  2007.                 string.gsub(workspace.Clock.SurfaceGui:FindFirstChild("TextLabel").Text,"\n","")
  2008.                 ,"Mondo Chick:",""))
  2009.             end
  2010.         end
  2011.         end end
  2012.         local cooldown = require(game.ReplicatedStorage.TimeString)(3600 - (require(game.ReplicatedStorage.OsTime)() - (require(game.ReplicatedStorage.StatTools).GetLastCooldownTime(v1, "WindShrine") or 0)))
  2013.         if cooldown == "" then windUpd:UpdateText("Wind Shrine: Ready") else windUpd:UpdateText("Wind Shrine: " .. cooldown) end
  2014.         for i,v in pairs(utilities) do
  2015.             local cooldown,isUsable = getToyCooldown(i)
  2016.             if cooldown ~= nil and isUsable ~= nil then
  2017.                 if isUsable then
  2018.                     v:UpdateText(i..": Ready")
  2019.                 else
  2020.                     v:UpdateText(i..": "..require(game.ReplicatedStorage.TimeString)(cooldown))
  2021.                 end
  2022.             end
  2023.         end
  2024.         end
  2025.     end
  2026.     end)
  2027. end)
  2028.  
  2029. if _G.autoload then if isfile("kocmoc/BSS_".._G.autoload..".json") then kocmoc = game:service'HttpService':JSONDecode(readfile("kocmoc/BSS_".._G.autoload..".json")) end end
  2030. for _, part in next, workspace:FindFirstChild("FieldDecos"):GetDescendants() do if part:IsA("BasePart") then part.CanCollide = false part.Transparency = part.Transparency < 0.5 and 0.5 or part.Transparency task.wait() end end
  2031. for _, part in next, workspace:FindFirstChild("Decorations"):GetDescendants() do if part:IsA("BasePart") and (part.Parent.Name == "Bush" or part.Parent.Name == "Blue Flower") then part.CanCollide = false part.Transparency = part.Transparency < 0.5 and 0.5 or part.Transparency task.wait() end end
  2032. for i,v in next, workspace.Decorations.Misc:GetDescendants() do if v.Parent.Name == "Mushroom" then v.CanCollide = false v.Transparency = 0.5 end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement