-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Serviços do Roblox local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") -- Configurações do Sistema local LocalPlayer = Players.LocalPlayer local Sistema_Ativo = false local Conexoes_Jogadores = {} -- Interface Principal local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "DeathMessages_System" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui ---------------------------------------------------------------- -- 1. DESIGN DO BOTÃO FLUTUANTE (MK) ---------------------------------------------------------------- local BotaoMK = Instance.new("TextButton") BotaoMK.Name = "BotaoMK" BotaoMK.Parent = ScreenGui BotaoMK.Size = UDim2.new(0, 60, 0, 60) BotaoMK.Position = UDim2.new(0.05, 0, 0.4, 0) BotaoMK.BackgroundColor3 = Color3.fromRGB(46, 204, 113) -- Verde Lindo BotaoMK.Text = "MK" BotaoMK.TextColor3 = Color3.fromRGB(255, 255, 255) BotaoMK.Font = Enum.Font.GothamBold BotaoMK.TextSize = 22 BotaoMK.BorderSizePixel = 0 BotaoMK.ZIndex = 10 BotaoMK.Active = true local CornerBotao = Instance.new("UICorner") CornerBotao.CornerRadius = UDim.new(1, 0) CornerBotao.Parent = BotaoMK local StrokeBotao = Instance.new("UIStroke") StrokeBotao.Color = Color3.fromRGB(39, 174, 96) StrokeBotao.Thickness = 3 StrokeBotao.Parent = BotaoMK ---------------------------------------------------------------- -- 2. DESIGN DO MENU PRINCIPAL (DEATH MESSAGES) ---------------------------------------------------------------- local MenuPrincipal = Instance.new("Frame") MenuPrincipal.Name = "MenuPrincipal" MenuPrincipal.Parent = ScreenGui MenuPrincipal.Size = UDim2.new(0, 300, 0, 180) MenuPrincipal.Position = UDim2.new(0.5, -150, 0.5, -90) MenuPrincipal.BackgroundColor3 = Color3.fromRGB(20, 20, 20) -- Dark Mode MenuPrincipal.Visible = false MenuPrincipal.BorderSizePixel = 0 MenuPrincipal.ZIndex = 5 local CornerMenu = Instance.new("UICorner") CornerMenu.CornerRadius = UDim.new(0, 12) CornerMenu.Parent = MenuPrincipal -- Título do Menu local Titulo = Instance.new("TextLabel") Titulo.Parent = MenuPrincipal Titulo.Size = UDim2.new(1, 0, 0, 45) Titulo.BackgroundTransparency = 1 Titulo.Text = "DEATH MESSAGES by MKgabriel" Titulo.TextColor3 = Color3.fromRGB(46, 204, 113) Titulo.Font = Enum.Font.GothamBold Titulo.TextSize = 16 Titulo.ZIndex = 6 -- Botão Start/Stop local BotaoStart = Instance.new("TextButton") BotaoStart.Parent = MenuPrincipal BotaoStart.Size = UDim2.new(0, 200, 0, 45) BotaoStart.Position = UDim2.new(0.5, -100, 0.6, -10) BotaoStart.BackgroundColor3 = Color3.fromRGB(46, 204, 113) BotaoStart.Text = "START" BotaoStart.TextColor3 = Color3.fromRGB(255, 255, 255) BotaoStart.Font = Enum.Font.GothamBold BotaoStart.TextSize = 16 BotaoStart.BorderSizePixel = 0 BotaoStart.ZIndex = 6 local CornerStart = Instance.new("UICorner") CornerStart.CornerRadius = UDim.new(0, 8) CornerStart.Parent = BotaoStart ---------------------------------------------------------------- -- 3. CONTAINER DE NOTIFICAÇÕES (CANTO DIREITO) ---------------------------------------------------------------- local FeedNotificacoes = Instance.new("Frame") FeedNotificacoes.Name = "FeedNotificacoes" FeedNotificacoes.Parent = ScreenGui FeedNotificacoes.Size = UDim2.new(0, 280, 0, 400) FeedNotificacoes.Position = UDim2.new(1, -300, 0.1, 0) -- Canto superior direito FeedNotificacoes.BackgroundTransparency = 1 local ListaLayout = Instance.new("UIListLayout") ListaLayout.Parent = FeedNotificacoes ListaLayout.SortOrder = Enum.SortOrder.LayoutOrder ListaLayout.Padding = UDim.new(0, 8) ---------------------------------------------------------------- -- 4. SISTEMA DE ARRASTE SEM CONFLITO DE CLIQUE ---------------------------------------------------------------- local arrastando = false local abrindoMenu = true local posicaoClique, posicaoInicialBotao BotaoMK.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then arrastando = true abrindoMenu = true posClique = input.Position posicaoInicialBotao = BotaoMK.Position end end) UserInputService.InputChanged:Connect(function(input) if arrastando and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - posClique if delta.Magnitude > 8 then abrindoMenu = false BotaoMK.Position = UDim2.new(posicaoInicialBotao.X.Scale, posicaoInicialBotao.X.Offset + delta.X, posicaoInicialBotao.Y.Scale, posicaoInicialBotao.Y.Offset + delta.Y) end end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then if arrastando then arrastando = false if abrindoMenu then MenuPrincipal.Visible = not MenuPrincipal.Visible end end end end) ---------------------------------------------------------------- -- 5. LÓGICA DE ALERTA DE MORTE EM INGLÊS ---------------------------------------------------------------- -- Cria o card de notificação na tela local function criarMensagemMorte(nomeJogador) if not Sistema_Ativo then return end local card = Instance.new("Frame") card.Size = UDim2.new(1, 0, 0, 40) card.BackgroundColor3 = Color3.fromRGB(30, 30, 30) card.BackgroundTransparency = 0.2 card.BorderSizePixel = 0 card.Parent = FeedNotificacoes local cornerCard = Instance.new("UICorner") cornerCard.CornerRadius = UDim.new(0, 6) cornerCard.Parent = card -- Detalhe visual na lateral esquerda do card local detalheMorte = Instance.new("Frame") detalheMorte.Size = UDim2.new(0, 4, 1, 0) detalheMorte.BackgroundColor3 = Color3.fromRGB(231, 76, 60) -- Vermelho Alerta detalheMorte.BorderSizePixel = 0 detalheMorte.Parent = card local cornerDetalhe = Instance.new("UICorner") cornerDetalhe.CornerRadius = UDim.new(0, 6) cornerDetalhe.Parent = detalheMorte -- Texto da mensagem modificado para inglês local texto = Instance.new("TextLabel") texto.Size = UDim2.new(1, -15, 1, 0) texto.Position = UDim2.new(0, 12, 0, 0) texto.BackgroundTransparency = 1 texto.TextXAlignment = Enum.TextXAlignment.Left texto.Font = Enum.Font.GothamMedium texto.TextSize = 13 texto.TextColor3 = Color3.fromRGB(245, 245, 245) texto.TextStrokeTransparency = 0.8 texto.RichText = true -- MENSAGEM AJUSTADA EM INGLÊS: Player [Name] has died. texto.Text = "Player " .. nomeJogador .. " has died." texto.Parent = card -- Animação de fade-out após 5 segundos na tela task.delay(5, function() local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local fadeFrame = TweenService:Create(card, tweenInfo, {BackgroundTransparency = 1}) local fadeTexto = TweenService:Create(texto, tweenInfo, {TextTransparency = 1}) local fadeDetalhe = TweenService:Create(detalheMorte, tweenInfo, {BackgroundTransparency = 1}) fadeFrame:Play() fadeTexto:Play() fadeDetalhe:Play() fadeFrame.Completed:Connect(function() card:Destroy() end) end) end -- Monitoramento dos jogadores local function monitorarJogador(vPlayer) local function conectarPersonagem(character) local humanoid = character:WaitForChild("Humanoid", 5) if humanoid then humanoid.Died:Connect(function() criarMensagemMorte(vPlayer.Name) end) end end if vPlayer.Character then conectarPersonagem(vPlayer.Character) end Conexoes_Jogadores[vPlayer] = vPlayer.CharacterAdded:Connect(conectarPersonagem) end ---------------------------------------------------------------- -- 6. GATILHOS DO BOTÃO START / STOP ---------------------------------------------------------------- local function ativarSistema() Sistema_Ativo = true for _, vPlayer in pairs(Players:GetPlayers()) do monitorarJogador(vPlayer) end Conexoes_Jogadores["PlayerAdded"] = Players.PlayerAdded:Connect(monitorarJogador) end local function desativarSistema() Sistema_Ativo = false for chave, conexao in pairs(Conexoes_Jogadores) do if typeof(conexao) == "RBXScriptConnection" then conexao:Disconnect() end end Conexoes_Jogadores = {} FeedNotificacoes:ClearAllChildren() -- Mantém o layout ativo após limpar o feed local ListaLayout = Instance.new("UIListLayout") ListaLayout.Parent = FeedNotificacoes ListaLayout.SortOrder = Enum.SortOrder.LayoutOrder ListaLayout.Padding = UDim.new(0, 8) end BotaoStart.MouseButton1Click:Connect(function() if not Sistema_Ativo then BotaoStart.Text = "STOP" BotaoStart.BackgroundColor3 = Color3.fromRGB(231, 76, 60) ativarSistema() else BotaoStart.Text = "START" BotaoStart.BackgroundColor3 = Color3.fromRGB(46, 204, 113) desativarSistema() end end) Players.PlayerRemoving:Connect(function(vPlayer) if Conexoes_Jogadores[vPlayer] then Conexoes_Jogadores[vPlayer]:Disconnect() Conexoes_Jogadores[vPlayer] = nil end end)