--[[ Auto-Leave Defender for "Steal a Valentino" - Movable black/blue GUI - Toggle ON/OFF switch - Kicks player when a steal attempt is detected (if toggle = ON) - Kick message includes Discord invite --]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Create ScreenGui local gui = Instance.new("ScreenGui") gui.Name = "ValentinoDefender" gui.ResetOnSpawn = false gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling gui.Parent = PlayerGui -- Main Frame (draggable) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 260, 0, 120) frame.Position = UDim2.new(0.5, -130, 0.8, 0) frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black frame.BackgroundTransparency = 0.15 frame.BorderColor3 = Color3.fromRGB(0, 100, 255) -- Blue border frame.BorderSizePixel = 2 frame.Active = true frame.Draggable = true frame.Parent = gui -- Title label local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Position = UDim2.new(0, 0, 0, 0) title.BackgroundTransparency = 1 title.Text = "🔒 VALENTINO DEFENDER" title.TextColor3 = Color3.fromRGB(0, 150, 255) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Parent = frame -- Status label local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(0.6, 0, 0, 35) statusLabel.Position = UDim2.new(0, 10, 0, 40) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Auto-Leave:" statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) statusLabel.TextSize = 18 statusLabel.TextXAlignment = Enum.TextXAlignment.Left statusLabel.Font = Enum.Font.Gotham statusLabel.Parent = frame -- Toggle button local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 80, 0, 35) toggleButton.Position = UDim2.new(0.65, 0, 0, 40) toggleButton.BackgroundColor3 = Color3.fromRGB(0, 80, 200) -- Blue toggleButton.BorderColor3 = Color3.fromRGB(0, 150, 255) toggleButton.Text = "OFF" toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) toggleButton.TextSize = 18 toggleButton.Font = Enum.Font.GothamBold toggleButton.Parent = frame -- Discord link label local discordLabel = Instance.new("TextLabel") discordLabel.Size = UDim2.new(1, 0, 0, 30) discordLabel.Position = UDim2.new(0, 0, 0, 85) discordLabel.BackgroundTransparency = 1 discordLabel.Text = "discord.gg/JUca27emW" discordLabel.TextColor3 = Color3.fromRGB(0, 150, 255) discordLabel.TextSize = 14 discordLabel.Font = Enum.Font.Gotham discordLabel.Parent = frame -- State local autoLeaveEnabled = false -- Function to kick player with custom message local function kickPlayer() local kickMessage = "someone tried stealing and we blocked😁✌🙏 them\n\nJoin our Discord:\nhttps://discord.gg/JUca27emW" -- Small delay to allow the message to show properly task.wait(0.1) LocalPlayer:Kick(kickMessage) end -- Auto-leave trigger function local function triggerStealDetected() if autoLeaveEnabled then kickPlayer() end end -- ========== DETECTION LOGIC (CUSTOMIZE THIS) ========== -- This is where you detect a stealing attempt. -- Replace the example below with actual in-game triggers. local function setupDetection() -- EXAMPLE 1: Detect when another player touches a specific part named "Valentino" local valentinoPart = workspace:FindFirstChild("Valentino") -- change to actual part name if valentinoPart then valentinoPart.Touched:Connect(function(hit) if autoLeaveEnabled and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then local touchingPlayer = Players:GetPlayerFromCharacter(hit.Parent) if touchingPlayer and touchingPlayer ~= LocalPlayer then -- Another player touched the Valentino → Steal attempt triggerStealDetected() end end end) end -- EXAMPLE 2: Detect if a specific RemoteEvent is fired (scam/exploit attempt) local remote = game:GetService("ReplicatedStorage"):FindFirstChild("StealRemote") if remote and remote:IsA("RemoteEvent") then local oldFire = remote.FireServer -- Override only locally (won't break game for others) remote.FireServer = function(...) if autoLeaveEnabled then triggerStealDetected() end return oldFire(...) end end -- EXAMPLE 3: Simple keybind for testing (press E to simulate a steal attempt) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.E then warn("Test steal triggered (remove this in real use)") triggerStealDetected() end end) -- EXAMPLE 4: Detect when a certain IntValue or BoolValue changes (e.g., "Stolen" value) local value = workspace:FindFirstChild("StealFlag") if value and value:IsA("BoolValue") then value.Changed:Connect(function() if value.Value == true and autoLeaveEnabled then triggerStealDetected() end end) end end -- Start detection (customize inside setupDetection) setupDetection() -- Toggle button logic toggleButton.MouseButton1Click:Connect(function() autoLeaveEnabled = not autoLeaveEnabled if autoLeaveEnabled then toggleButton.Text = "ON" toggleButton.BackgroundColor3 = Color3.fromRGB(0, 200, 0) -- Bright green statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0) else toggleButton.Text = "OFF" toggleButton.BackgroundColor3 = Color3.fromRGB(0, 80, 200) statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) end end) -- Optional: Make frame fully draggable (already set Draggable = true)