Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- speed = 25
- --The higher this is the faster the autofarm will be.
- --Lower it if you lag when using this
- --Increase it if you think your internet and pc are good enough.
- farm1 = false
- farm2 = false
- farm3 = false
- farm4 = false
- farm5 = false
- farm6 = false
- check = false
- local library = loadstring(game:HttpGet("https://gist.githubusercontent.com/ixsy/ac2be9242ef6ab689bd93b05d27fcff5/raw/c52616120d5e8aff47a6ef4c4df36587893b6ba7/Library", true))()
- local gui = library:CreateWindow({
- text = "Magnet Simulator"
- })
- gui:AddToggle("AutoCoins", function(state)
- farm1 = (state)
- end)
- gui:AddToggle("AutoRebirth", function(state)
- farm2 = (state)
- end)
- gui:AddToggle("AutoSell", function(state)
- farm3 = (state)
- end)
- gui:AddToggle("OpenEggs", function(state)
- farm4 = (state)
- end)
- gui:AddToggle("AutoSpaceCoins", function(state)
- farm5 = (state)
- end)
- gui:AddToggle("AutoShiny", function(state)
- farm6 = (state)
- end)
- gui:AddLabel("Select Your Egg")
- local Eggs
- Eggs = gui:AddDropdown({'Common Egg', 'Uncommon Egg', 'Rare Egg', 'Legendary Egg', 'Epic Egg', 'Mythical Egg', 'Meme Egg', 'Psychadelic Egg', 'Catacylsmic Egg', 'Super Egg', 'Dominus Egg', 'Demonic Egg', 'Overseer Egg', 'Magma Egg', 'Tycoonist Egg', 'Robot Egg', 'Dragon Egg', 'Aquatic Egg', 'Ninja Egg', 'Korblox Egg', 'Knight Egg'}, function(a)
- if a == "Psychadelic Egg" then
- _G.SelectedEgg = "Psychadelic Rebirth Egg"
- elseif a == "Catacylsmic Egg" then
- _G.SelectedEgg = "Rebirth Egg 2"
- else _G.SelectedEgg = a
- end
- end)
- local VirtualUser=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- game.Players.LocalPlayer.PlayerGui.GameHUD.FullBackpack.Position = UDim2.new(999,999,999,999)
- game.Workspace.Rings:WaitForChild("Sellx2")
- game.Workspace.Rings.Sellx2.CanCollide = false
- game.Workspace.Rings.Sellx2.Transparency = 1
- game.Players.LocalPlayer.PlayerGui.GameHUDNew.NotifHandler.Gain.Volume = 0
- game.Players.LocalPlayer.PlayerGui.GameHUDNew.Notifications.CoinGain.Cash.Volume = 0
- function coins()
- if farm1 == true then
- for i=1,speed do
- game:GetService('ReplicatedStorage').Events.MagnetEvents['requestGrab']:FireServer("22000000", game.ReplicatedStorage.Tools["Spooky Long Power Magnet"])
- end
- end
- end
- function rebirth()
- if farm2 == true then
- if check == false then
- check = true
- game.ReplicatedStorage.RebirthEvents.requestRebirth:FireServer(10000)
- wait(10)
- check = false
- end
- end
- end
- function sell()
- if farm3 == true then
- a = string.split(game.Players.LocalPlayer.PlayerGui.GameHUDNew.StatHolders.Coins.TopShadow.Dark.DropText.TopLabel.Text,"/")
- if game.Players.LocalPlayer.PlayerGui.GameHUDNew.StatHolders.Coins.TopShadow.Dark.DropText.TopLabel.Text == a[2].."/"..a[2] then
- game.Workspace.Rings.Sellx2.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(.4)
- game.Workspace.Rings.Sellx2.CFrame = CFrame.new(-423.297, 1.417, -849.868)
- end
- end
- end
- function egg()
- if farm4 == true then
- game:GetService("ReplicatedStorage").PetEvents.requesthatch:FireServer(_G.SelectedEgg)
- end
- end
- function spacecoins()
- if farm5 == true then
- for i=1,speed do
- game:GetService('ReplicatedStorage').Events.MagnetEvents['requestGrab']:FireServer("Space9", game.ReplicatedStorage.Tools["Spooky Long Power Magnet"])
- end
- end
- end
- function shiny()
- if farm6 == true then
- for i,v in pairs(game.Players.LocalPlayer.PlayerGui.GameHUDNew.ConnectedBackgrounds.Shiny.Holder.DropShadow.Pages.Shop.Items:GetChildren()) do
- if v.Name == "ShinyButton" then
- if v.ImageColor3 == Color3.fromRGB(64,170,77) then
- game.ReplicatedStorage.ShinyEvents.requestMakeShiny:FireServer(tostring(v.PetName.Value))
- end
- end
- end
- end
- end
- game:GetService('RunService').Stepped:connect(function()
- rebirth()
- end)
- while true do wait()
- sell()
- coins()
- spacecoins()
- egg()
- shiny()
- if game.Players.LocalPlayer.PlayerGui.GameHUD:FindFirstChild("Egg") then
- game.Players.LocalPlayer.PlayerGui.GameHUD.Egg:Destroy()
- end
- if game.Players.LocalPlayer.PlayerGui.GameHUDNew.ConnectedBackgrounds.Shiny.Holder:FindFirstChild("Active") then
- game.Players.LocalPlayer.PlayerGui.GameHUDNew.ConnectedBackgrounds.Shiny.Holder:FindFirstChild("Active"):Destroy()
- end
- end
Add Comment
Please, Sign In to add comment