Make an advanced auto-clash roblox script which'll auto-clash fast with a configurable GUI.


```
REFERENCE:

local HeraMT = Instance.new("ScreenGui")
local TopBG = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local Body = Instance.new("Frame")
local UIGradient_2 = Instance.new("UIGradient")
local Autoblock = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local Autoclash = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local Flightpass = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local ElderNotify = Instance.new("TextButton")
local UICorner_4 = Instance.new("UICorner")
local minimize = Instance.new("ImageButton")
local TextLabel = Instance.new("TextLabel")
local short_text = Instance.new("ImageButton")

--Properties:

HeraMT.Name = "HeraMT"
HeraMT.Parent = game:GetService("CoreGui")
HeraMT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
HeraMT.ResetOnSpawn = false

TopBG.Name = "TopBG"
TopBG.Parent = HeraMT
TopBG.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TopBG.BorderColor3 = Color3.fromRGB(27, 42, 53)
TopBG.BorderSizePixel = 0
TopBG.Position = UDim2.new(0.209096819, 0, 0.172240809, 0)
TopBG.Size = UDim2.new(0, 130, 0, 17)

UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(137, 0, 254)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(223, 0, 255))}
UIGradient.Parent = TopBG

Body.Name = "Body"
Body.Parent = TopBG
Body.BackgroundColor3 = Color3.fromRGB(176, 176, 176)
Body.BorderColor3 = Color3.fromRGB(27, 42, 53)
Body.BorderSizePixel = 0
Body.Position = UDim2.new(-0.00310575054, 0, 0.970588207, 0)
Body.Size = UDim2.new(0, 130, 0, 109)

UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(137, 0, 254)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(223, 0, 255))}
UIGradient_2.Parent = Body

Autoblock.Name = "Autoblock"
Autoblock.Parent = Body
Autoblock.BackgroundColor3 = Color3.fromRGB(219, 0, 248)
Autoblock.BackgroundTransparency = 0.600
Autoblock.BorderSizePixel = 0
Autoblock.Position = UDim2.new(0.0384615399, 0, 0.0392156467, 0)
Autoblock.Size = UDim2.new(0, 120, 0, 19)
Autoblock.Font = Enum.Font.SourceSansBold
Autoblock.Text = "AutoBlock: OFF"
Autoblock.TextColor3 = Color3.fromRGB(255, 130, 130)
Autoblock.TextSize = 14.000

UICorner.CornerRadius = UDim.new(0, 3)
UICorner.Parent = Autoblock

Autoclash.Name = "Autoclash"
Autoclash.Parent = Body
Autoclash.BackgroundColor3 = Color3.fromRGB(219, 0, 248)
Autoclash.BackgroundTransparency = 0.600
Autoclash.BorderSizePixel = 0
Autoclash.Position = UDim2.new(0.0380000174, 0, 0.281343639, 0)
Autoclash.Size = UDim2.new(0, 120, 0, 19)
Autoclash.Font = Enum.Font.SourceSansBold
Autoclash.Text = "AutoClash: OFF"
Autoclash.TextColor3 = Color3.fromRGB(255, 130, 130)
Autoclash.TextSize = 14.000

UICorner_2.CornerRadius = UDim.new(0, 3)
UICorner_2.Parent = Autoclash

Flightpass.Name = "Flightpass"
Flightpass.Parent = Body
Flightpass.BackgroundColor3 = Color3.fromRGB(219, 0, 248)
Flightpass.BackgroundTransparency = 0.600
Flightpass.BorderSizePixel = 0
Flightpass.Position = UDim2.new(0.0380000174, 0, 0.521587431, 0)
Flightpass.Size = UDim2.new(0, 120, 0, 19)
Flightpass.Font = Enum.Font.SourceSansBold
Flightpass.Text = "Flight Pass"
Flightpass.TextColor3 = Color3.fromRGB(255, 130, 130)
Flightpass.TextSize = 14.000

UICorner_3.CornerRadius = UDim.new(0, 3)
UICorner_3.Parent = Flightpass

ElderNotify.Name = "ElderNotify"
ElderNotify.Parent = Body
ElderNotify.BackgroundColor3 = Color3.fromRGB(219, 0, 248)
ElderNotify.BackgroundTransparency = 0.600
ElderNotify.BorderSizePixel = 0
ElderNotify.Position = UDim2.new(0.0380000174, 0, 0.766541779, 0)
ElderNotify.Size = UDim2.new(0, 120, 0, 19)
ElderNotify.Font = Enum.Font.SourceSansBold
ElderNotify.Text = "Elder Notify"
ElderNotify.TextColor3 = Color3.fromRGB(255, 130, 130)
ElderNotify.TextSize = 14.000

UICorner_4.CornerRadius = UDim.new(0, 3)
UICorner_4.Parent = ElderNotify

minimize.Name = "minimize"
minimize.Parent = TopBG
minimize.BackgroundTransparency = 1.000
minimize.Position = UDim2.new(0.807692289, 0, -0.264705896, 0)
minimize.Size = UDim2.new(0, 25, 0, 25)
minimize.ZIndex = 2
minimize.Image = "rbxassetid://3926305904"
minimize.ImageRectOffset = Vector2.new(44, 404)
minimize.ImageRectSize = Vector2.new(36, 36)

TextLabel.Parent = TopBG
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderSizePixel = 0
TextLabel.Position = UDim2.new(-0.00769231468, 0, 0.0588235855, 0)
TextLabel.Size = UDim2.new(0, 130, 0, 16)
TextLabel.Font = Enum.Font.SourceSansBold
TextLabel.Text = "MT Lite"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.000

short_text.Name = "short_text"
short_text.Parent = TopBG
short_text.BackgroundTransparency = 1.000
short_text.Position = UDim2.new(-3.7252903e-09, 0, -0.264705896, 0)
short_text.Size = UDim2.new(0, 25, 0, 25)
short_text.ZIndex = 2
short_text.Image = "rbxassetid://3926307971"
short_text.ImageRectOffset = Vector2.new(44, 204)
short_text.ImageRectSize = Vector2.new(36, 36)

-- Scripts:

local function XWFYNK_fake_script() -- TopBG.Drag 
	local script = Instance.new('LocalScript', TopBG)

	local UserInputService = game:GetService("UserInputService")
	local gui = script.Parent
	local dragging
	local dragInput
	local dragStart
	local startPos
	
	local function update(input)
		local delta = input.Position - dragStart
		gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
	end
	
	gui.InputBegan:Connect(function(input)
		if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
			dragging = true
			dragStart = input.Position
			startPos = gui.Position
			
			input.Changed:Connect(function()
				if input.UserInputState == Enum.UserInputState.End then
					dragging = false
				end
			end)
		end
	end)
	
	gui.InputChanged:Connect(function(input)
		if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
			dragInput = input
		end
	end)
	
	UserInputService.InputChanged:Connect(function(input)
		if input == dragInput and dragging then
			update(input)
		end
	end)
end
coroutine.wrap(XWFYNK_fake_script)()
local function KIQLW_fake_script() -- TopBG.Controller 
	local script = Instance.new('LocalScript', TopBG)

	-- // Globals
	_G.AutoBlock = false
	_G.AutoClash = false
	
	-- // Variables
	local Minimize = script.Parent.minimize
	local Body = script.Parent.Body
	local AutoBlockButton = Body.Autoblock
	local AutoClashButton = Body.Autoclash
	local FlightPassButton = Body.Flightpass
	local ElderNotifyButton = Body.ElderNotify
	local Player = game:GetService("Players").LocalPlayer
	local Players = game:GetService("Players")
	local RunService = game:GetService("RunService")
	local Player = Players.LocalPlayer
	local PlayerGui = Player.PlayerGui
	local Frente = game:GetService("Workspace").CurrentCamera.CFrame.lookVector
	local Direita = game:GetService("Workspace").CurrentCamera.CFrame.rightVector
	local Esquerda = -game:GetService("Workspace").CurrentCamera.CFrame.rightVector
	local Costas = -game:GetService("Workspace").CurrentCamera.CFrame.lookVector
	local Acima = game:GetService("Workspace").CurrentCamera.CFrame.upVector
	local Abaixo = -game:GetService("Workspace").CurrentCamera.CFrame.upVector
	local acimaDireita = (Acima + Direita).Unit
	local acimaEsquerda = (Acima - Direita).Unit
	local abaixoDireita = (-Acima + Direita).Unit
	local abaixoEsquerda = (-Abaixo - Direita).Unit
	local frenteDireita = (Frente + Direita).Unit
	local frenteEsquerda = (Frente - Direita).Unit
	local costasDireita = (Costas + Direita).Unit
	local costasEsquerda = (Costas - Direita).Unit
	
	-- // General Functions
	function copyFlight()
		local flight = game:GetService("Players"):FindFirstChild("Flight", true)
		if flight then
			local backup2 = flight:Clone()
			backup2.Parent = game:GetService("Players").LocalPlayer.StarterGear
			local c2 = game:GetService("Players").LocalPlayer.StarterGear["Flight"]:Clone()
			c2.Parent = game:GetService("Players").LocalPlayer.Backpack
            Player.CharacterAdded:Connect(function()
                local c2 = game:GetService("Players").LocalPlayer.StarterGear["Flight"]:Clone()
                c2.Parent = game:GetService("Players").LocalPlayer.Backpack
            end)
		else
			game:GetService("StarterGui"):SetCore("SendNotification", {
				Title = "Flight not found.";
				Text = "No one has the flight pass to copy.";
				Icon = "rbxassetid://2665356190";
				Duration = 12;
			})
		end
	end
	
	function elderChecker()
		local elderFound = false
		for _,v in pairs(game:GetService("Players"):GetDescendants()) do
			if v.Name == "Elder Wand" then
				local elderInventory = {
					Color = Color3.fromRGB(215, 17, 255); 
					Font = Enum.Font.SourceSansBold;
					TextSize = 18;
					Text = tostring(v.Parent.Parent) .. " has elder wand on inventory."
				}
				game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",elderInventory)
				elderFound = true
			end
		end
		for _,w in pairs(game:GetService("Workspace"):GetDescendants()) do
			if w.Name == "Elder Wand" then
				local elderHands = {
					Color = Color3.fromRGB(215, 17, 255); 
					Font = Enum.Font.SourceSansBold;
					TextSize = 18;
					Text = tostring(w.Parent.Parent) .. " has elder wand on inventory."
				}
				game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",elderHands)
				elderFound = true
			end
		end
		if not elderFound then
			game:GetService("StarterGui"):SetCore("SendNotification", {
				Title = "Elder not found.";
				Text = "No one has the elder wand, you're good.";
				Icon = "rbxassetid://2665356190";
				Duration = 12;
			})
		end
	end
	
	-- // Button Functions
	Minimize.MouseButton1Click:Connect(function()
		Body.Visible = not Body.Visible
	end)
	
	AutoBlockButton.MouseButton1Click:Connect(function()
		if _G.AutoBlock == false then
			_G.AutoBlock = true
			AutoBlockButton.Text = "AutoBlock: ON"
			AutoBlockButton.TextColor3 = Color3.fromRGB(113, 240, 104)
			_G.Blocking = game:GetService('RunService').Heartbeat:Connect(function()
				local args1 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Frente
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args1))
				local args2 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Direita
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args2))
				local args3 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Esquerda
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args3))
				local args4 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Costas
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args4))
				local args5 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Acima
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args5))
				local args6 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = Abaixo
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args6))
				local args7 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = acimaDireita
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args7))
				local args8 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = acimaEsquerda
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args8))
				local args9 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = abaixoDireita
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args9))
				local args10 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = abaixoEsquerda
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args10))
				local args11 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = frenteDireita
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args11))
				local args12 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = frenteEsquerda
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args12))
				local args13 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = costasDireita
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args13))
				local args14 = {
					[1] = {
						["rootPos"] = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p,
						["distance"] = 12.868257143978424,
						["dir"] = costasEsquerda
					}
				}
				game:GetService("InsertService").Events.protego:FireServer(unpack(args14))
				wait()
			end)
		else
			_G.AutoBlock = false
			_G.Blocking:Disconnect()
			AutoBlockButton.Text = "AutoBlock: OFF"
			AutoBlockButton.TextColor3 = Color3.fromRGB(255, 130, 130)
		end
		
		AutoClashButton.MouseButton1Click:Connect(function()
			if _G.AutoClash == false then
				_G.AutoClash = true
				AutoClashButton.Text = "AutoClash: ON"
				AutoClashButton.TextColor3 = Color3.fromRGB(113, 240, 104)
				PlayerGui.DescendantAdded:Connect(function(Descendant)
					if Descendant.Name == "marker" then
						repeat
							firesignal(Descendant.MouseButton1Click)
							RunService.RenderStepped:Wait()
						until not Descendant:IsDescendantOf(PlayerGui)
					end
				end)
			else
				_G.AutoClash = false
				AutoClashButton.Text = "AutoClash: OFF"
				AutoClashButton.TextColor3 = Color3.fromRGB(255, 130, 130)
			end
		end)
		
		FlightPassButton.MouseButton1Click:Connect(function()
			copyFlight()
		end)
		
		ElderNotifyButton.MouseButton1Click:Connect(function()
			elderChecker()
		end)
	end)
	
	-- // Inicialization Core
	creatorMessage = {
		Color = Color3.fromRGB(215, 17, 255); 
		Font = Enum.Font.SourceSansBold;
		TextSize = 18;
		Text = "[MT Lite] MT Lite successfully started. Script developed by oruancss#0290"
	}
	game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",creatorMessage)
end
coroutine.wrap(KIQLW_fake_script)()
local function WXFBFWA_fake_script() -- TopBG.ToggleUI 
	local script = Instance.new('LocalScript', TopBG)

	local UIS = game:GetService("UserInputService")
	UIS.InputBegan:Connect(function(tecla,gameprocess)
		if not gameprocess then
			if tecla.KeyCode == Enum.KeyCode.RightControl then
				script.Parent.Parent.TopBG.Visible = not script.Parent.Parent.TopBG.Visible 
			end
		end
	end)
end
coroutine.wrap(WXFBFWA_fake_script)()