local Players = game:GetService("Players") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") -- GUI principal local ScreenGui = Instance.new("ScreenGui", PlayerGui) ScreenGui.Name = "AutoRejoinGui" ScreenGui.ResetOnSpawn = false -- Botão arrastável local Button = Instance.new("TextButton", ScreenGui) Button.Size = UDim2.new(0, 160, 0, 45) Button.Position = UDim2.new(0.5, -80, 0.5, -22) Button.BackgroundColor3 = Color3.fromRGB(200, 50, 50) Button.TextColor3 = Color3.new(1, 1, 1) Button.Text = "Auto Rejoin PVP [OFF]" Button.Font = Enum.Font.SourceSansBold Button.TextSize = 20 Button.BorderSizePixel = 2 Button.AutoButtonColor = false Button.Active = true Button.Draggable = true -- Estado local ativo = false local spamLoop -- Função de spam local function iniciarSpam() spamLoop = task.spawn(function() while ativo do pcall(function() firetouchinterest(Player.Character.HumanoidRootPart, workspace.QueuePortal, 0) firetouchinterest(Player.Character.HumanoidRootPart, workspace.QueuePortal, 1) end) task.wait(0.2) end end) end -- Clique do botão Button.MouseButton1Click:Connect(function() ativo = not ativo if ativo then Button.BackgroundColor3 = Color3.fromRGB(50, 200, 50) Button.Text = "Auto Rejoin PVP [ON]" iniciarSpam() else Button.BackgroundColor3 = Color3.fromRGB(200, 50, 50) Button.Text = "Auto Rejoin PVP [OFF]" end end)