Advertisement
Shifu_

[ AUTO COLLECT COINS, EGGS ] 🏖️Roblox but every second the baseplate grows +1

Jun 17th, 2023 (edited)
1,357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.92 KB | None | 0 0
  1. -- If you need a scripter dm me up HyperSpeed#7040, it is buggy don't expect to leave it for the night, I ain't getting paid here lol
  2. local player = game.Players.LocalPlayer
  3.  
  4.  
  5. local function modifyHitboxSize(character, scale)
  6.     local humanoid = character:WaitForChild("Humanoid")
  7.     humanoid:BuildRigFromAttachments()
  8.     local rootPart = character:WaitForChild("HumanoidRootPart")
  9.     rootPart.Size = rootPart.Size * scale
  10.     humanoid.HipHeight = humanoid.HipHeight * scale
  11. end
  12.  
  13. local function autofarm()
  14. if player.Character then
  15.     modifyHitboxSize(player.Character, 1500)
  16.         wait(2)
  17.     game.Players.LocalPlayer.Character.Humanoid.Health = 0
  18. else
  19.     player.CharacterAdded:Connect(function(character)
  20.         modifyHitboxSize(character, 1500)
  21.             wait(2)
  22.     game.Players.LocalPlayer.Character.Humanoid.Health = 0
  23.     end)
  24. end
  25. end
  26.  
  27. local function commonegg()
  28. local A_1 = "Common Egg"
  29. local Event = game:GetService("ReplicatedStorage").PetSys.Remotes.PurchaseSignal
  30. Event:InvokeServer(A_1)
  31. end
  32.  
  33. local function safefarm()
  34. local function findNearestCoin()
  35.     local player = game.Players.LocalPlayer
  36.     local coinStorage = game.Workspace.CoinStorage
  37.     local coins = coinStorage:GetChildren()
  38.     local availableCoins = {}
  39.  
  40.     for _, coin in ipairs(coins) do
  41.         -- Check if the coin is available
  42.         if coin:FindFirstChild("Taken") == nil then
  43.             table.insert(availableCoins, coin)
  44.         end
  45.     end
  46.  
  47.     if #availableCoins > 0 then
  48.         return availableCoins[math.random(1, #availableCoins)]
  49.     end
  50.  
  51.     return nil
  52. end
  53.  
  54. local function teleportToNearestCoin()
  55.     local nearestCoin = findNearestCoin()
  56.  
  57.     if nearestCoin then
  58.         local player = game.Players.LocalPlayer
  59.         player.Character.HumanoidRootPart.CFrame = CFrame.new(nearestCoin.Position)
  60.     end
  61. end
  62.  
  63. while true do wait(0.2)
  64. teleportToNearestCoin()
  65. end
  66. end
  67.  
  68. local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
  69.  
  70. local X = Material.Load({
  71.     Title = "🏖️Roblox but every second the...",
  72.     Style = 2,
  73.     SizeX = 250,
  74.     SizeY = 175,
  75.     Theme = "Dark",
  76.     ColorOverrides = {
  77.         MainFrame = Color3.fromRGB(0,0,0)
  78.     }
  79. })
  80.  
  81. local Y = X.New({
  82.     Title = "Script made by HyperSpeed#7040"
  83. })
  84.  
  85. local A = Y.Button({
  86.     Text = "Collect all coins [kicks]",
  87.     Callback = function()
  88.                 autofarm()
  89.     end,
  90.     Menu = {
  91.         Information = function(self)
  92.             X.Banner({
  93.                 Text = "Autofarm"
  94.             })
  95.         end
  96.     }
  97. })
  98.  
  99. local A = Y.Button({
  100.     Text = "Safe farm coins",
  101.     Callback = function()
  102.                 safefarm()
  103.     end,
  104.     Menu = {
  105.         Information = function(self)
  106.             X.Banner({
  107.                 Text = "Autofarm"
  108.             })
  109.         end
  110.     }
  111. })
  112.  
  113. local A = Y.Button({
  114.     Text = "Open Common Egg",
  115.     Callback = function()
  116.                 commonegg()
  117.     end,
  118.     Menu = {
  119.         Information = function(self)
  120.             X.Banner({
  121.                 Text = "Autofarm"
  122.             })
  123.         end
  124.     }
  125. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement