Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.CoreGui:FindFirstChild('MagnetDestroyer') then
- game.CoreGui:FindFirstChild('MagnetDestroyer'):Destroy()
- local a = Instance.new("Hint",game:GetService('CoreGui'))
- a.Text = "Destroying The Other Gui"
- wait(2)
- a:Destroy()
- end
- local open = 1
- -- Instances:
- local MagnetDestroyer = Instance.new("ScreenGui")
- local Holder = Instance.new("ImageLabel")
- local Title = Instance.new("TextLabel")
- local Buttons = Instance.new("Frame")
- local GetAllMagnets = Instance.new("TextButton")
- local AutoSell = Instance.new("TextButton")
- local Status = Instance.new("TextLabel")
- local AutoFarm = Instance.new("TextButton")
- local Status_2 = Instance.new("TextLabel")
- local Rebirth = Instance.new("TextButton")
- local SpaceMagnet = Instance.new("TextButton")
- local DestroyGui = Instance.new("TextButton")
- local Info = Instance.new("TextLabel")
- local Mouse = game.Players.LocalPlayer:GetMouse()
- --Properties:
- MagnetDestroyer.Name = "MagnetDestroyer"
- MagnetDestroyer.Parent = game.CoreGui
- Holder.Name = "Holder"
- Holder.Parent = MagnetDestroyer
- Holder.BackgroundColor3 = Color3.new(0, 0.235294, 1)
- Holder.BackgroundTransparency = 1
- Holder.Position = UDim2.new(1, -180, 0.5, -185)
- Holder.Size = UDim2.new(0, 175, 0, 370)
- Holder.Image = "rbxassetid://2260429633"
- Holder.ImageColor3 = Color3.new(0, 0.235294, 1)
- Holder.ScaleType = Enum.ScaleType.Slice
- Holder.SliceCenter = Rect.new(12, 12, 13, 13)
- Holder.Active = true
- Holder.Draggable = true
- Title.Name = "Title"
- Title.Parent = Holder
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(1, 0, 0, 35)
- Title.Font = Enum.Font.Cartoon
- Title.Text = "Magnet Destroyer"
- Title.TextColor3 = Color3.new(1, 0, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextStrokeTransparency = 0
- Title.TextWrapped = true
- Buttons.Name = "Buttons"
- Buttons.Parent = Holder
- Buttons.BackgroundColor3 = Color3.new(1, 1, 1)
- Buttons.BackgroundTransparency = 1
- Buttons.Size = UDim2.new(1, 0, 1, 0)
- GetAllMagnets.Name = "Get All Magnets"
- GetAllMagnets.Parent = Buttons
- GetAllMagnets.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- GetAllMagnets.BorderSizePixel = 0
- GetAllMagnets.Position = UDim2.new(0, 0, 0, 35)
- GetAllMagnets.Size = UDim2.new(1, 0, 0, 50)
- GetAllMagnets.Font = Enum.Font.Cartoon
- GetAllMagnets.Text = "Get All Magnets"
- GetAllMagnets.TextColor3 = Color3.new(1, 1, 0)
- GetAllMagnets.TextScaled = true
- GetAllMagnets.TextSize = 14
- GetAllMagnets.TextStrokeTransparency = 0
- GetAllMagnets.TextWrapped = true
- AutoSell.Name = "Auto Sell"
- AutoSell.Parent = Buttons
- AutoSell.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- AutoSell.BorderSizePixel = 0
- AutoSell.Position = UDim2.new(0, 0, 0, 90)
- AutoSell.Size = UDim2.new(0.708571434, 0, 0, 50)
- AutoSell.Font = Enum.Font.Cartoon
- AutoSell.Text = "Auto Sell"
- AutoSell.TextColor3 = Color3.new(1, 1, 0)
- AutoSell.TextScaled = true
- AutoSell.TextSize = 14
- AutoSell.TextStrokeTransparency = 0
- AutoSell.TextWrapped = true
- Status.Name = "Status"
- Status.Parent = AutoSell
- Status.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- Status.BorderSizePixel = 0
- Status.Position = UDim2.new(1, 5, 0, 0)
- Status.Size = UDim2.new(0, 40, 0, 50)
- Status.Font = Enum.Font.Cartoon
- Status.Text = "OFF"
- Status.TextColor3 = Color3.new(1, 0, 0)
- Status.TextScaled = true
- Status.TextSize = 14
- Status.TextStrokeTransparency = 0
- Status.TextWrapped = true
- AutoFarm.Name = "Auto Farm"
- AutoFarm.Parent = Buttons
- AutoFarm.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- AutoFarm.BorderSizePixel = 0
- AutoFarm.Position = UDim2.new(0, 0, 0, 145)
- AutoFarm.Size = UDim2.new(0.708999991, 0, 0, 50)
- AutoFarm.Font = Enum.Font.Cartoon
- AutoFarm.Text = "Auto Farm"
- AutoFarm.TextColor3 = Color3.new(1, 1, 0)
- AutoFarm.TextScaled = true
- AutoFarm.TextSize = 14
- AutoFarm.TextStrokeTransparency = 0
- AutoFarm.TextWrapped = true
- Status_2.Name = "Status"
- Status_2.Parent = AutoFarm
- Status_2.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- Status_2.BorderSizePixel = 0
- Status_2.Position = UDim2.new(1, 5, 0, 0)
- Status_2.Size = UDim2.new(0, 40, 0, 50)
- Status_2.Font = Enum.Font.Cartoon
- Status_2.Text = "OFF"
- Status_2.TextColor3 = Color3.new(1, 0, 0)
- Status_2.TextScaled = true
- Status_2.TextSize = 14
- Status_2.TextStrokeTransparency = 0
- Status_2.TextWrapped = true
- Rebirth.Name = "Rebirth"
- Rebirth.Parent = Buttons
- Rebirth.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- Rebirth.BorderSizePixel = 0
- Rebirth.Position = UDim2.new(0, 0, 0, 200)
- Rebirth.Size = UDim2.new(1, 0, 0, 50)
- Rebirth.Font = Enum.Font.Cartoon
- Rebirth.Text = "Rebirth"
- Rebirth.TextColor3 = Color3.new(1, 1, 0)
- Rebirth.TextScaled = true
- Rebirth.TextSize = 14
- Rebirth.TextStrokeTransparency = 0
- Rebirth.TextWrapped = true
- SpaceMagnet.Name = "Space Magnet"
- SpaceMagnet.Parent = Buttons
- SpaceMagnet.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- SpaceMagnet.BorderSizePixel = 0
- SpaceMagnet.Position = UDim2.new(0, 0, 0, 255)
- SpaceMagnet.Size = UDim2.new(1, 0, 0, 50)
- SpaceMagnet.Font = Enum.Font.Cartoon
- SpaceMagnet.Text = "Magnet Island"
- SpaceMagnet.TextColor3 = Color3.new(1, 1, 0)
- SpaceMagnet.TextScaled = true
- SpaceMagnet.TextSize = 14
- SpaceMagnet.TextStrokeTransparency = 0
- SpaceMagnet.TextWrapped = true
- DestroyGui.Name = "Destroy Gui"
- DestroyGui.Parent = Buttons
- DestroyGui.BackgroundColor3 = Color3.new(0, 0.607843, 1)
- DestroyGui.BorderSizePixel = 0
- DestroyGui.Position = UDim2.new(0, 0, 0, 310)
- DestroyGui.Size = UDim2.new(1, 0, 0, 50)
- DestroyGui.Font = Enum.Font.Cartoon
- DestroyGui.Text = "Destroy Gui"
- DestroyGui.TextColor3 = Color3.new(1, 1, 0)
- DestroyGui.TextScaled = true
- DestroyGui.TextSize = 14
- DestroyGui.TextStrokeTransparency = 0
- DestroyGui.TextWrapped = true
- Info.Name = "Info"
- Info.Parent = MagnetDestroyer
- Info.BackgroundColor3 = Color3.new(1, 1, 1)
- Info.BackgroundTransparency = 1
- Info.Size = UDim2.new(1, 0, 0, 35)
- Info.Font = Enum.Font.Cartoon
- Info.Text = "Press 'Q' To Open Or Close Gui"
- Info.TextColor3 = Color3.new(1, 0, 1)
- Info.TextScaled = true
- Info.TextSize = 14
- Info.TextStrokeTransparency = 0
- Info.TextWrapped = true
- -- Scripts:
- Mouse.KeyDown:Connect(function(key)
- if key == "q" then
- if open == 1 then
- open = 0
- Holder.Visible = false
- else
- open = 1
- Holder.Visible = true
- end
- end
- end)
- GetAllMagnets.MouseButton1Click:Connect(function()
- for i,v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- end)
- AutoSell.MouseButton1Click:Connect(function()
- if Status.Text == "OFF" then
- Status.Text = "ON"
- Status.TextColor3 = Color3.fromRGB(0,255,0)
- else
- Status.Text = "OFF"
- Status.TextColor3 = Color3.fromRGB(255,0,0)
- end
- repeat
- wait()
- local sell = game.Workspace.Rings.SellDouble
- local plr = game.Players.LocalPlayer.Character.HumanoidRootPart
- sell.CanCollide = false
- sell.CFrame = plr.CFrame
- until Status.Text == "OFF"
- end)
- AutoFarm.MouseButton1Click:Connect(function()
- if Status_2.Text == "OFF" then
- Status_2.Text = "ON"
- Status_2.TextColor3 = Color3.fromRGB(0,255,0)
- for _,v in pairs(game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- end
- else
- Status_2.Text = "OFF"
- Status_2.TextColor3 = Color3.fromRGB(255,0,0)
- end
- repeat
- wait()
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- local A_1 = "72000"
- local A_2 = game.Players.LocalPlayer.Backpack[v.Name]
- local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
- Event:FireServer(A_1, A_2)
- end
- until Status_2.Text == "OFF"
- end)
- Rebirth.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.RebirthEvents.requestRebirth:FireServer(1)
- end)
- SpaceMagnet.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.IslandInfo.islandtp.CFrame
- end)
- DestroyGui.MouseButton1Click:Connect(function()
- MagnetDestroyer:Destroy()
- end)
Add Comment
Please, Sign In to add comment