-- Asesinos vs Sherifs -- LocalScript en StarterPlayerScripts local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local player = Players.LocalPlayer local tpPosition = nil local espEnabled = false local selectedPlayer = nil local highlights = {} -- GUI local gui = Instance.new("ScreenGui") gui.Name = "AsesinosVsSherifs" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 270, 0, 410) frame.Position = UDim2.new(0.5, -135, 0.5, -205) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) frame.Active = true frame.Draggable = true frame.Parent = gui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 12) frameCorner.Parent = frame -- Título local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 45) title.BackgroundColor3 = Color3.fromRGB(160, 25, 35) title.Text = "Asesinos vs Sherifs" title.TextColor3 = Color3.new(1, 1, 1) title.TextSize = 18 title.Font = Enum.Font.GothamBold title.Parent = frame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = title -- Crear botones local function makeButton(text, y, callback) local button = Instance.new("TextButton") button.Size = UDim2.new(0.86, 0, 0, 42) button.Position = UDim2.new(0.07, 0, 0, y) button.BackgroundColor3 = Color3.fromRGB(45, 45, 55) button.TextColor3 = Color3.new(1, 1, 1) button.Text = text button.TextSize = 15 button.Font = Enum.Font.GothamBold button.Parent = frame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = button button.MouseButton1Click:Connect(callback) return button end -- ESP local function updateESP() for _, target in ipairs(Players:GetPlayers()) do if target ~= player and target.Character then local highlight = highlights[target] if not highlight or highlight.Parent ~= target.Character then if highlight then highlight:Destroy() end highlight = Instance.new("Highlight") highlight.Name = "PlayerESP" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.Parent = target.Character highlights[target] = highlight end highlight.Enabled = espEnabled end end end local espButton espButton = makeButton("ESP: OFF", 55, function() espEnabled = not espEnabled espButton.Text = espEnabled and "ESP: ON" or "ESP: OFF" updateESP() end) -- TP1 makeButton("TP1: Guardar posición", 105, function() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root then tpPosition = root.CFrame end end) -- TP2 makeButton("TP2: Ir a TP1", 155, function() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root and tpPosition then root.CFrame = tpPosition + Vector3.new(0, 3, 0) end end) -- Lista de jugadores local listFrame = Instance.new("Frame") listFrame.Size = UDim2.new(0, 210, 0, 250) listFrame.Position = UDim2.new(1, 10, 0, 45) listFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 38) listFrame.Visible = false listFrame.Parent = frame local listCorner = Instance.new("UICorner") listCorner.CornerRadius = UDim.new(0, 10) listCorner.Parent = listFrame local listTitle = Instance.new("TextLabel") listTitle.Size = UDim2.new(1, 0, 0, 35) listTitle.BackgroundColor3 = Color3.fromRGB(160, 25, 35) listTitle.Text = "Jugadores del servidor" listTitle.TextColor3 = Color3.new(1, 1, 1) listTitle.Font = Enum.Font.GothamBold listTitle.TextSize = 13 listTitle.Parent = listFrame local scroll = Instance.new("ScrollingFrame") scroll.Size = UDim2.new(1, -10, 1, -45) scroll.Position = UDim2.new(0, 5, 0, 40) scroll.BackgroundTransparency = 1 scroll.BorderSizePixel = 0 scroll.ScrollBarThickness = 5 scroll.CanvasSize = UDim2.new(0, 0, 0, 0) scroll.Parent = listFrame local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 5) layout.Parent = scroll local function refreshList() for _, child in ipairs(scroll:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, target in ipairs(Players:GetPlayers()) do if target ~= player then local button = Instance.new("TextButton") button.Size = UDim2.new(1, -5, 0, 35) button.BackgroundColor3 = Color3.fromRGB(55, 55, 65) button.TextColor3 = Color3.new(1, 1, 1) button.Text = target.Name button.TextSize = 13 button.Font = Enum.Font.Gotham button.Parent = scroll local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = button button.MouseButton1Click:Connect(function() selectedPlayer = target local character = player.Character local targetCharacter = target.Character local root = character and character:FindFirstChild("HumanoidRootPart") local targetRoot = targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") if root and targetRoot then root.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 4) end end) end end scroll.CanvasSize = UDim2.new( 0, 0, 0, layout.AbsoluteContentSize.Y + 5 ) end -- TP Player makeButton("TP Player: Lista", 205, function() listFrame.Visible = not listFrame.Visible if listFrame.Visible then refreshList() end end) -- Seleccionar jugador local selectFrame = Instance.new("Frame") selectFrame.Size = UDim2.new(0, 210, 0, 250) selectFrame.Position = UDim2.new(1, 10, 0, 45) selectFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 38) selectFrame.Visible = false selectFrame.Parent = frame local selectCorner = Instance.new("UICorner") selectCorner.CornerRadius = UDim.new(0, 10) selectCorner.Parent = selectFrame local selectTitle = Instance.new("TextLabel") selectTitle.Size = UDim2.new(1, 0, 0, 35) selectTitle.BackgroundColor3 = Color3.fromRGB(160, 25, 35) selectTitle.Text = "Seleccionar jugador" selectTitle.TextColor3 = Color3.new(1, 1, 1) selectTitle.Font = Enum.Font.GothamBold selectTitle.TextSize = 13 selectTitle.Parent = selectFrame local selectScroll = Instance.new("ScrollingFrame") selectScroll.Size = UDim2.new(1, -10, 1, -45) selectScroll.Position = UDim2.new(0, 5, 0, 40) selectScroll.BackgroundTransparency = 1 selectScroll.BorderSizePixel = 0 selectScroll.ScrollBarThickness = 5 selectScroll.Parent = selectFrame local selectLayout = Instance.new("UIListLayout") selectLayout.Padding = UDim.new(0, 5) selectLayout.Parent = selectScroll local function refreshSelectList() for _, child in ipairs(selectScroll:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, target in ipairs(Players:GetPlayers()) do if target ~= player then local button = Instance.new("TextButton") button.Size = UDim2.new(1, -5, 0, 35) button.BackgroundColor3 = Color3.fromRGB(55, 55, 65) button.TextColor3 = Color3.new(1, 1, 1) button.Text = target.Name button.TextSize = 13 button.Font = Enum.Font.Gotham button.Parent = selectScroll local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = button button.MouseButton1Click:Connect(function() selectedPlayer = target selectTitle.Text = "Elegido: " .. target.Name selectFrame.Visible = false end) end end selectScroll.CanvasSize = UDim2.new( 0, 0, 0, selectLayout.AbsoluteContentSize.Y + 5 ) end makeButton("Seleccionar jugador", 255, function() selectFrame.Visible = not selectFrame.Visible if selectFrame.Visible then refreshSelectList() end end) -- Probar disparo makeButton("Probar disparo", 305, function() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end local message = Instance.new("TextLabel") message.Size = UDim2.new(0, 220, 0, 40) message.Position = UDim2.new(0.5, -110, 1, 10) message.BackgroundColor3 = Color3.fromRGB(40, 40, 45) message.TextColor3 = Color3.new(1, 1, 1) message.TextSize = 14 message.Font = Enum.Font.GothamBold message.Text = selectedPlayer and "Objetivo: " .. selectedPlayer.Name or "Sin jugador seleccionado" message.Parent = frame Instance.new("UICorner", message).CornerRadius = UDim.new(0, 8) task.delay(2, function() if message then message:Destroy() end end) end) -- TP Duels Pro makeButton("TP Duels Pro", 355, function() TeleportService:Teleport( 135856908115931, player ) end) -- Jugadores entrando/saliendo Players.PlayerAdded:Connect(function() refreshList() refreshSelectList() end) Players.PlayerRemoving:Connect(function(target) if highlights[target] then highlights[target]:Destroy() highlights[target] = nil end if selectedPlayer == target then selectedPlayer = nil selectTitle.Text = "Seleccionar jugador" end refreshList() refreshSelectList() end) -- Actualizar ESP task.spawn(function() while gui.Parent do if espEnabled then updateESP() end task.wait(1) end end)