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



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1.  _G.farm = true
  2.  
  3. while wait() do
  4.   if _G.farm == true then
  5. --Variable
  6. local player = game.Players.LocalPlayer
  7.  
  8. --Globals // basically sets how fast you go.
  9. getgenv().Speed = 200
  10. getgenv().Distance = 0
  11.  
  12.  
  13. local Noclipping = nil
  14. Clip = false
  15. wait(0.1)
  16. local function NoclipLoop()
  17. if Clip == false and player.Character ~= nil then
  18. for _, child in pairs(player.Character:GetDescendants()) do
  19. if child:IsA("BasePart") and child.CanCollide == true and child.Name ~= floatName then
  20. child.CanCollide = false
  21. end
  22. end
  23. end
  24. end
  25.  
  26.  
  27. function tp(target)
  28.  
  29.   Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
  30.   player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
  31.   game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(target.Position)/getgenv().Speed, Enum.EasingStyle.Linear), {CFrame = target.CFrame + Vector3.new(0, Distance, 0)}):Play()
  32.   wait(player:DistanceFromCharacter(target.Position)/getgenv().Speed)
  33. end
  34.  
  35.  
  36. local path = game:GetService("Workspace").GemsHolder.Home.Part1.Gem
  37.  
  38. tp(path)
  39.  
  40. player.Character.HumanoidRootPart.Anchored = false
  41. wait(0,1)
  42.  
  43. tp(path)
  44.  
  45. player.Character.HumanoidRootPart.Anchored = false
  46. wait(0,1)
  47.  
  48. tp(path)
  49.  
  50.  
  51. player.Character.HumanoidRootPart.Anchored = false
  52. wait(0,1)
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. wait()
  60.  
  61. Noclipping:Disconnect()
  62. Clip = true
  63. player.Character.HumanoidRootPart.Anchored = false
  64.   end
  65. end