Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h = Instance.new("Hint",workspace)
- h.Text = "Loading Gui"
- plr = game:GetService('Players').LocalPlayer
- Root = plr.Character.HumanoidRootPart
- local MagnetSim = Instance.new("ScreenGui")
- local MainMagnetSim = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local AutoSell = Instance.new("TextButton")
- local AutoRebirth = Instance.new("TextButton")
- local AutoEquip = Instance.new("TextButton")
- local AutoSelloff = Instance.new("TextButton")
- local AutoRebirthoff = Instance.new("TextButton")
- local AutoEquipoff = Instance.new("TextButton")
- local Magnet = Instance.new("TextBox")
- local Pet = Instance.new("TextBox")
- local Backpack = Instance.new("TextBox")
- local AutoCollect = Instance.new("TextButton")
- local AutoCollectoff = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local green = Color3.new(0,255,0)
- local red = Color3.new(255,0,0)
- MagnetSim.Name = "MagnetSim"
- MagnetSim.Parent = game.CoreGui
- MainMagnetSim.Name = "MainMagnetSim"
- MainMagnetSim.Parent = MagnetSim
- MainMagnetSim.BackgroundColor3 = Color3.new(0, 0, 0)
- MainMagnetSim.BackgroundTransparency = 0.5
- MainMagnetSim.Position = UDim2.new(0.173966691, 0, 0.275184304, 0)
- MainMagnetSim.Size = UDim2.new(0, 450, 0, 249)
- MainMagnetSim.Selectable = true
- MainMagnetSim.Draggable = true
- MainMagnetSim.Active = true
- MainMagnetSim.Visible = false
- TextLabel.Parent = MainMagnetSim
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 450, 0, 20)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Magnet Simulator "
- TextLabel.TextColor3 = Color3.new(1, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- AutoSell.Name = "AutoSell"
- AutoSell.Parent = MainMagnetSim
- AutoSell.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- AutoSell.Position = UDim2.new(0.0644444451, 0, 0.47389555, 0)
- AutoSell.Size = UDim2.new(0, 115, 0, 41)
- AutoSell.Font = Enum.Font.SourceSans
- AutoSell.Text = "Auto Sell"
- AutoSell.TextColor3 = Color3.new(0, 0, 0)
- AutoSell.TextSize = 14
- AutoRebirth.Name = "Auto Rebirth"
- AutoRebirth.Parent = MainMagnetSim
- AutoRebirth.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- AutoRebirth.Position = UDim2.new(0.0644444451, 0, 0.751003981, 0)
- AutoRebirth.Size = UDim2.new(0, 115, 0, 41)
- AutoRebirth.Font = Enum.Font.SourceSans
- AutoRebirth.Text = "Auto Rebirth"
- AutoRebirth.TextColor3 = Color3.new(0, 0, 0)
- AutoRebirth.TextSize = 14
- AutoEquip.Name = "AutoEquip"
- AutoEquip.Parent = MainMagnetSim
- AutoEquip.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- AutoEquip.Position = UDim2.new(0.460000008, 0, 0.184738949, 0)
- AutoEquip.Size = UDim2.new(0, 215, 0, 41)
- AutoEquip.Font = Enum.Font.SourceSans
- AutoEquip.Text = "Auto Equip Pet, Magnet, Backpack"
- AutoEquip.TextColor3 = Color3.new(0, 0, 0)
- AutoEquip.TextSize = 14
- AutoSelloff.Name = "AutoSell"
- AutoSelloff.Parent = MainMagnetSim
- AutoSelloff.BackgroundColor3 = green
- AutoSelloff.Position = UDim2.new(0.0644444451, 0, 0.47389555, 0)
- AutoSelloff.Size = UDim2.new(0, 115, 0, 41)
- AutoSelloff.Font = Enum.Font.SourceSans
- AutoSelloff.Text = "Auto Sell"
- AutoSelloff.TextColor3 = Color3.new(0, 0, 0)
- AutoSelloff.TextSize = 14
- AutoSelloff.Visible = false
- AutoRebirthoff.Name = "Auto Rebirth"
- AutoRebirthoff.Parent = MainMagnetSim
- AutoRebirthoff.BackgroundColor3 = green
- AutoRebirthoff.Position = UDim2.new(0.0644444451, 0, 0.751003981, 0)
- AutoRebirthoff.Size = UDim2.new(0, 115, 0, 41)
- AutoRebirthoff.Font = Enum.Font.SourceSans
- AutoRebirthoff.Text = "Auto Rebirth"
- AutoRebirthoff.TextColor3 = Color3.new(0, 0, 0)
- AutoRebirthoff.TextSize = 14
- AutoRebirthoff.Visible = false
- AutoEquipoff.Name = "AutoEquip"
- AutoEquipoff.Parent = MainMagnetSim
- AutoEquipoff.BackgroundColor3 = green
- AutoEquipoff.Position = UDim2.new(0.460000008, 0, 0.184738949, 0)
- AutoEquipoff.Size = UDim2.new(0, 215, 0, 41)
- AutoEquipoff.Font = Enum.Font.SourceSans
- AutoEquipoff.Text = "Auto Equip Pet, Magnet, Backpack"
- AutoEquipoff.TextColor3 = Color3.new(0, 0, 0)
- AutoEquipoff.TextSize = 14
- AutoEquipoff.Visible = false
- Magnet.Name = "Magnet"
- Magnet.Parent = MainMagnetSim
- Magnet.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- Magnet.Position = UDim2.new(0.431111097, 0, 0.47389558, 0)
- Magnet.Size = UDim2.new(0, 111, 0, 41)
- Magnet.Font = Enum.Font.SourceSans
- Magnet.Text = "Name Magnet Here"
- Magnet.TextColor3 = Color3.new(0, 0, 0)
- Magnet.TextSize = 14
- Magnet.TextScaled = true
- Pet.Name = "Pet"
- Pet.Parent = MainMagnetSim
- Pet.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- Pet.Position = UDim2.new(0.724444449, 0, 0.47389558, 0)
- Pet.Size = UDim2.new(0, 106, 0, 41)
- Pet.Font = Enum.Font.SourceSans
- Pet.Text = "Name Pet Here"
- Pet.TextColor3 = Color3.new(0, 0, 0)
- Pet.TextSize = 14
- Pet.TextScaled = true
- Backpack.Name = "Backpack"
- Backpack.Parent = MainMagnetSim
- Backpack.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- Backpack.Position = UDim2.new(0.537777781, 0, 0.710843384, 0)
- Backpack.Size = UDim2.new(0, 136, 0, 41)
- Backpack.Font = Enum.Font.SourceSans
- Backpack.Text = "Name Backpack Here"
- Backpack.TextColor3 = Color3.new(0, 0, 0)
- Backpack.TextSize = 14
- Backpack.TextScaled = true
- AutoCollect.Name = "AutoCollect"
- AutoCollect.Parent = MainMagnetSim
- AutoCollect.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- AutoCollect.Position = UDim2.new(0.0644444451, 0, 0.184738949, 0)
- AutoCollect.Size = UDim2.new(0, 115, 0, 41)
- AutoCollect.Font = Enum.Font.SourceSans
- AutoCollect.Text = "Auto Collect Coin"
- AutoCollect.TextColor3 = Color3.new(0, 0, 0)
- AutoCollect.TextSize = 14
- AutoCollectoff.Name = "AutoCollect"
- AutoCollectoff.Parent = MainMagnetSim
- AutoCollectoff.BackgroundColor3 = green
- AutoCollectoff.Position = UDim2.new(0.0644444451, 0, 0.184738949, 0)
- AutoCollectoff.Size = UDim2.new(0, 115, 0, 41)
- AutoCollectoff.Font = Enum.Font.SourceSans
- AutoCollectoff.Text = "Auto Collect Coin"
- AutoCollectoff.TextColor3 = Color3.new(0, 0, 0)
- AutoCollectoff.TextSize = 14
- AutoCollectoff.Visible =false
- Close.Name = "Close"
- Close.Parent = MainMagnetSim
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.Position = UDim2.new(0.955555499, 0, 0, 0)
- Close.Size = UDim2.new(0, 20, 0, 20)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 0, 0)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextWrapped = true
- AutoEquip.MouseButton1Down:connect(function()
- AutoEquipoff.Visible =true
- AutoEquip.Visible = false
- _G.Equip = true
- while _G.Equip do
- for a = 1,5 do
- local A_1 = Pet.Text
- local A_2 = "equip"
- local Event = game:GetService("ReplicatedStorage").PetEvents.request
- Event:FireServer(A_1, A_2)
- end
- wait(1)
- local A_1 = Backpack.Text
- local A_2 = "Equip"
- local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
- Event:FireServer(A_1, A_2)
- local A_1 = Magnet.Text
- local A_2 = "Equip"
- local Event = game:GetService("ReplicatedStorage").Events.ShopEvents.requestEquip
- Event:FireServer(A_1, A_2)
- end
- end)
- AutoSell.MouseButton1Down:connect(function()
- AutoSell.Visible = false
- AutoSelloff.Visible = true
- _G.Sell = true
- while _G.Sell do
- wait()
- local plr = game.Players.LocalPlayer
- local char = plr.Character.HumanoidRootPart
- game.Workspace.Rings.Sell.CanCollide = false
- game.Workspace.Rings.Sell.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
- end
- end)
- AutoCollect.MouseButton1Down:connect(function()
- AutoCollectoff.Visible = true
- AutoCollect.Visible = false
- _G.Collect = true
- local plr = game.Players.LocalPlayer
- for _,v in pairs(plr.Purchases:GetChildren()) do
- if v.Name == "InfiniteBackpack" then
- v.Value = false
- else
- v.Value = true
- end
- end
- if plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack") then
- plr.PlayerGui.GameHUD:FindFirstChild("FullBackpack"):Destroy()
- end
- while _G.Collect do
- wait()
- local plr = game.Players.LocalPlayer
- local char = plr.Character.HumanoidRootPart
- if BestMagnet ~= nil and BestCoin ~= nil then
- game.ReplicatedStorage.Events.MagnetEvents.requestGrab:FireServer(BestCoin,BestMagnet)
- else
- local bestmagnet = game.ReplicatedStorage.Tools:GetChildren()
- local bestcoin = game.ReplicatedStorage.Coins:GetChildren()
- BestCoin = "0"
- for i, v in ipairs(bestmagnet) do
- if i == #bestmagnet then
- BestMagnet = v
- end
- end
- for i, v in ipairs(bestcoin) do
- if tonumber(v.Name) > tonumber(BestCoin) then
- BestCoin = v.Name
- end
- end
- end
- end
- end)
- AutoRebirth.MouseButton1Down:connect(function()
- AutoRebirth.Visible =false
- AutoRebirthoff.Visible = true
- _G.Rebrith = true
- while _G.Rebrith do
- wait()
- local Event = game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth
- Event:FireServer()
- end
- end)
- AutoEquipoff.MouseButton1Down:connect(function()
- _G.Equipt = false
- AutoEquip.Visible = true
- AutoEquipoff.Visible = false
- end)
- AutoCollectoff.MouseButton1Down:connect(function()
- _G.Collect = false
- AutoCollect.Visible = true
- AutoCollectoff.Visible = false
- end)
- AutoSelloff.MouseButton1Down:connect(function()
- _G.Sell = false
- AutoSell.Visible = true
- AutoSelloff.Visible = false
- end)
- AutoRebirthoff.MouseButton1Down:connect(function()
- _G.Rebrith = false
- AutoRebirth.Visible = true
- AutoRebirthoff.Visible = false
- end)
- Close.MouseButton1Down:connect(function()
- MainMagnetSim.Visible = false
- end)
- wait(5)
- MainMagnetSim.Visible = true
- h.Text = "Loaded, Thanks For Using My Gui"
- wait(5)
- h.Text = "Gui Version 1.0.1: Update Coin Collect, Collect Coin Very Fash"
- wait(5)
- h.Text = "Gui Version 1.0.2: Fixed Lag Auto Collect"
- wait(5)
- h.Text = "Gui Version 1.0.3: Fixed Auto Collect"
- h:Destroy()
Add Comment
Please, Sign In to add comment