The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Food Magnet Simulator script pastebin roblox
By LINK GAME on 2024-09-21 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet(('https://pastebin.com/raw/FsJak6AT')))()
  2. local w = library:CreateWindow("Food Magnet Simulator")
  3. local b = w:CreateFolder("AutoFarm")
  4. local f = w:CreateFolder("AutoBuy")
  5. local e = w:CreateFolder("Mix")
  6. local u = w:CreateFolder("Credits")
  7. local world = "Spawn"
  8. --Toggle
  9. b:Toggle("AutoTpDrop",function(bool)
  10.     shared.toggle = bool
  11.     AutoTpDrop = bool
  12. end)
  13.  
  14. b:Dropdown("World",{"Spawn","Desert Area","Lava Area","Autumn Area","Cemetery Area","Book Area","Mining Area","Abandoned Area","Neutral Area"},true,function(mob)
  15.     world = mob
  16. end)
  17.  
  18. b:Toggle("AutoSell",function(bool)
  19.     shared.toggle = bool
  20.     AutoSell = bool
  21. end)
  22.  
  23. f:Toggle("Areas",function(bool)
  24.     shared.toggle = bool
  25.     Areas = bool
  26. end)
  27.  
  28. f:Toggle("Rebirth",function(bool)
  29.     shared.toggle = bool
  30.     Rebirth = bool
  31. end)
  32.  
  33. f:Toggle("SuperRebirth",function(bool)
  34.     shared.toggle = bool
  35.     sr = bool
  36. end)
  37.  
  38. e:Toggle("AntiAfk",function(bool)
  39.     shared.toggle = bool
  40.     AntiAfk = bool
  41. end)
  42.  
  43. e:Button("No Tool Delay",function()
  44.     game:GetService("Players").LocalPlayer["Player_Stats"]["Tool_Delay"].Value = nil
  45. end)
  46.  
  47. e:Button("Tp Shop",function()
  48.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace")["Client_Services"]["Point_Areas"].Shop.CFrame.Position + Vector3.new(0,0,0))
  49. end)
  50. --Credits
  51. u:Button("maxgat5#8395",function()
  52.     setclipboard("maxgat5#8395")
  53. end)
  54.  
  55. u:Button("Discrod Server",function()
  56.     setclipboard("https://discord.gg/K4txdRSVfq")
  57. end)
  58.  
  59. while wait() do
  60.     if sr == true then
  61.         game:GetService("ReplicatedStorage").Game_Service.Remotes_Event.Super_Rebirth:FireServer()
  62.     end
  63.    
  64.     if Areas == true then
  65.         for i,v in pairs(game:GetService("Players").LocalPlayer.AREAS:GetChildren()) do
  66.             if v.Value == false then
  67.                 game:GetService("ReplicatedStorage").Game_Service.Remotes_Event.Buy_Area:FireServer(v.Name)
  68.             end
  69.         end
  70.     end
  71.    
  72.     if Rebirth == true then
  73.         game:GetService("ReplicatedStorage").Game_Service.Remotes_Event.Rebirth:FireServer()
  74.     end
  75.    
  76.     if AutoTpDrop == true then
  77.         for i,v in pairs(game:GetService("Workspace")["Client_Services"].Areas.Foods:GetChildren()) do
  78.             if v.Name == world then
  79.                 local localplayer = game:GetService("Players").LocalPlayer
  80.                 function ClosestPart()
  81.                     local dist = math.huge
  82.                     local target = nil
  83.                     for i,v1 in pairs(v:GetChildren()) do
  84.                         if v1.Transparency == 0 then
  85.                             local magnitude = (v1.Position - localplayer.Character.Head.Position).magnitude
  86.                             if magnitude < dist then
  87.                                 dist = magnitude
  88.                                 target = v1
  89.                             end
  90.                         end
  91.                     end
  92.                     return target
  93.                 end
  94.                 if workspace[game.Players.LocalPlayer.Name]:FindFirstChild("Humanoid") then
  95.                     local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  96.                     game.Players.LocalPlayer.Character.Humanoid:EquipTool(tool)
  97.                 end
  98.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(ClosestPart().Position)
  99.             end
  100.         end
  101.     end
  102.        
  103.     if AutoSell == true then
  104.         wait(.2)
  105.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace")["Client_Services"]["Point_Areas"].Sell.CFrame.Position + Vector3.new(0,0,0))
  106.     end
  107.    
  108.     if AntiAfk == true then
  109.         local bb=game:service'VirtualUser'
  110.         bb:CaptureController()
  111.         bb:ClickButton2(Vector2.new())
  112.     end
  113. end