Beeswarmpayers

Untitled

Jul 4th, 2026
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local UIS = game:GetService("UserInputService")
  3. local VIM = game:GetService("VirtualInputManager")
  4. local RunService = game:GetService("RunService")
  5.  
  6. local localPlayer = Players.LocalPlayer
  7. local detecting = false
  8. local wordQueue = {}
  9. local targetCount = 3 -- Nombre de mots par défaut
  10.  
  11. -- GUI V13 - INDUSTRIAL STYLE
  12. local gui = Instance.new("ScreenGui", game:GetService("CoreGui"))
  13. gui.Name = "MohaHub_V13"
  14.  
  15. local frame = Instance.new("Frame", gui)
  16. frame.Size = UDim2.new(0, 320, 0, 220)
  17. frame.Position = UDim2.new(0.5, -160, 0.5, -110)
  18. frame.BackgroundColor3 = Color3.fromRGB(18, 18, 20)
  19. frame.BorderSizePixel = 0
  20. Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 4)
  21.  
  22. -- Dragging fluide
  23. local dr, ds, dp = false, nil, nil
  24. frame.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dr=true ds=i.Position dp=frame.Position end end)
  25. UIS.InputChanged:Connect(function(i) if dr and i.UserInputType == Enum.UserInputType.MouseMovement then local d=i.Position-ds frame.Position=dp+UDim2.new(0,d.X,0,d.Y) end end)
  26. UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dr=false end end)
  27.  
  28. -- Header
  29. local head = Instance.new("Frame", frame)
  30. head.Size = UDim2.new(1, 0, 0, 30)
  31. head.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
  32. Instance.new("TextLabel", head).Text = "MOHA COMMAND CENTER"
  33. head.TextLabel.Size = UDim2.new(1, 0, 1, 0)
  34. head.TextLabel.TextColor3 = Color3.fromRGB(0, 255, 200)
  35.  
  36. -- Stats & Controls
  37. local status = Instance.new("TextLabel", frame)
  38. status.Size = UDim2.new(1, 0, 0, 30)
  39. status.Position = UDim2.new(0, 0, 0, 40)
  40. status.Text = "SYSTEM: STANDBY"
  41. status.BackgroundTransparency = 1
  42. status.TextColor3 = Color3.fromRGB(200, 200, 200)
  43.  
  44. local inputField = Instance.new("TextBox", frame)
  45. inputField.Size = UDim2.new(0, 80, 0, 30)
  46. inputField.Position = UDim2.new(0.5, -40, 0, 80)
  47. inputField.PlaceholderText = "Mots requis"
  48. inputField.Text = "3"
  49. inputField.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
  50. inputField.TextColor3 = Color3.fromRGB(255, 255, 255)
  51.  
  52. local startBtn = Instance.new("TextButton", frame)
  53. startBtn.Size = UDim2.new(0, 140, 0, 40)
  54. startBtn.Position = UDim2.new(0.5, -70, 0, 130)
  55. startBtn.Text = "ACTIVER SCAN"
  56. startBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 100)
  57. startBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  58.  
  59. local panicBtn = Instance.new("TextButton", frame)
  60. panicBtn.Size = UDim2.new(0, 40, 0, 30)
  61. panicBtn.Position = UDim2.new(1, -50, 1, -40)
  62. panicBtn.Text = "PANIC"
  63. panicBtn.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
  64.  
  65. -- Logic
  66. inputField:GetPropertyChangedSignal("Text"):Connect(function() targetCount = tonumber(inputField.Text) or 3 end)
  67.  
  68. local function triggerEnter()
  69. VIM:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
  70. VIM:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
  71. end
  72.  
  73. startBtn.MouseButton1Click:Connect(function()
  74. detecting = not detecting
  75. startBtn.Text = detecting and "SCAN ACTIF" or "ACTIVER SCAN"
  76. startBtn.BackgroundColor3 = detecting and Color3.fromRGB(200, 50, 50) or Color3.fromRGB(0, 120, 100)
  77. end)
  78.  
  79. panicBtn.MouseButton1Click:Connect(function() gui:Destroy() end)
  80.  
  81. -- Detection Engine
  82. game:GetService("Workspace").DescendantAdded:Connect(function(o)
  83. if o:IsA("TextBox") then
  84. o:GetPropertyChangedSignal("Text"):Connect(function()
  85. if detecting and o.Text ~= "" then
  86. table.insert(wordQueue, o.Text)
  87. status.Text = "DETECTED: " .. #wordQueue .. "/" .. targetCount
  88. if #wordQueue >= targetCount then
  89. triggerEnter()
  90. wordQueue = {}
  91. end
  92. end
  93. end)
  94. end
  95. end)
Advertisement
Add Comment
Please, Sign In to add comment