File size: 19,133 Bytes
44309a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>xLegendBot - Умный ассистент для Roblox</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .chat-container {
            height: calc(100vh - 160px);
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .animate-pulse-custom {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .message-enter {
            animation: enter 0.3s ease-out;
        }
        @keyframes enter {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    </style>
</head>
<body class="bg-gray-900 text-gray-100 font-sans">
    <div class="container mx-auto max-w-4xl px-4 py-6">
        <!-- Header -->
        <header class="flex items-center justify-between mb-8">
            <div class="flex items-center space-x-4">
                <div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center">
                    <i class="fas fa-robot text-2xl"></i>
                </div>
                <div>
                    <h1 class="text-2xl font-bold">xLegendBot</h1>
                    <p class="text-gray-400 text-sm">Умный ассистент для Roblox</p>
                </div>
            </div>
            <div class="flex space-x-2">
                <button class="bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
                    <i class="fas fa-moon"></i>
                </button>
                <button class="bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
                    <i class="fas fa-cog"></i>
                </button>
            </div>
        </header>

        <!-- Features Grid -->
        <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 mb-8">
            <div class="bg-gray-800 p-4 rounded-lg hover:bg-gray-700 transition cursor-pointer" onclick="quickPrompt('Сделай ESP')">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full bg-purple-600 flex items-center justify-center">
                        <i class="fas fa-eye"></i>
                    </div>
                    <h3 class="font-medium">ESP скрипт</h3>
                </div>
                <p class="text-gray-400 text-sm mt-2">Готовый скрипт для отображения игроков через стены</p>
            </div>
            <div class="bg-gray-800 p-4 rounded-lg hover:bg-gray-700 transition cursor-pointer" onclick="quickPrompt('Сделай Fly')">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full bg-blue-600 flex items-center justify-center">
                        <i class="fas fa-feather"></i>
                    </div>
                    <h3 class="font-medium">Fly скрипт</h3>
                </div>
                <p class="text-gray-400 text-sm mt-2">Скрипт для полёта в Roblox</p>
            </div>
            <div class="bg-gray-800 p-4 rounded-lg hover:bg-gray-700 transition cursor-pointer" onclick="quickPrompt('Сделай GUI')">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full bg-green-600 flex items-center justify-center">
                        <i class="fas fa-window-maximize"></i>
                    </div>
                    <h3 class="font-medium">GUI интерфейс</h3>
                </div>
                <p class="text-gray-400 text-sm mt-2">Готовый графический интерфейс для скриптов</p>
            </div>
        </div>

        <!-- Chat Container -->
        <div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
            <!-- Chat Messages -->
            <div class="chat-container overflow-y-auto p-4 space-y-4" id="chat-messages">
                <!-- Welcome Message -->
                <div class="message-enter flex space-x-3">
                    <div class="flex-shrink-0">
                        <div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center">
                            <i class="fas fa-robot text-sm"></i>
                        </div>
                    </div>
                    <div class="bg-gray-700 p-3 rounded-lg max-w-[80%]">
                        <p>Привет, братик! Я xLegendBot — твой помощник в мире Roblox скриптинга. Чем могу помочь?</p>
                        <div class="flex flex-wrap gap-2 mt-2">
                            <span class="text-xs bg-gray-600 px-2 py-1 rounded">ESP скрипт</span>
                            <span class="text-xs bg-gray-600 px-2 py-1 rounded">Fly</span>
                            <span class="text-xs bg-gray-600 px-2 py-1 rounded">GUI</span>
                            <span class="text-xs bg-gray-600 px-2 py-1 rounded">Аватарка</span>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Input Area -->
            <div class="border-t border-gray-700 p-4 bg-gray-900">
                <form class="flex space-x-2" id="chat-form">
                    <input 
                        type="text" 
                        id="user-input" 
                        placeholder="Напиши сообщение..." 
                        class="flex-1 bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-purple-600 transition"
                        autocomplete="off"
                    >
                    <button 
                        type="submit" 
                        class="bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg transition flex items-center justify-center"
                    >
                        <i class="fas fa-paper-plane"></i>
                    </button>
                </form>
                <div class="flex flex-wrap gap-2 mt-3">
                    <button onclick="quickPrompt('Сделай ESP')" class="text-xs bg-gray-800 hover:bg-gray-700 px-3 py-1 rounded-full transition">ESP</button>
                    <button onclick="quickPrompt('Сделай Fly')" class="text-xs bg-gray-800 hover:bg-gray-700 px-3 py-1 rounded-full transition">Fly</button>
                    <button onclick="quickPrompt('Сделай GUI')" class="text-xs bg-gray-800 hover:bg-gray-700 px-3 py-1 rounded-full transition">GUI</button>
                    <button onclick="quickPrompt('Генерируй фото')" class="text-xs bg-gray-800 hover:bg-gray-700 px-3 py-1 rounded-full transition">Аватарка</button>
                </div>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const chatForm = document.getElementById('chat-form');
            const userInput = document.getElementById('user-input');
            const chatMessages = document.getElementById('chat-messages');
            
            // Quick prompt buttons
            window.quickPrompt = function(prompt) {
                userInput.value = prompt;
                chatForm.dispatchEvent(new Event('submit'));
            };
            
            // Handle form submission
            chatForm.addEventListener('submit', function(e) {
                e.preventDefault();
                const message = userInput.value.trim();
                if (message === '') return;
                
                // Add user message
                addMessage(message, 'user');
                userInput.value = '';
                
                // Show typing indicator
                const typingIndicator = document.createElement('div');
                typingIndicator.className = 'flex space-x-3';
                typingIndicator.innerHTML = `
                    <div class="flex-shrink-0">
                        <div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center">
                            <i class="fas fa-robot text-sm"></i>
                        </div>
                    </div>
                    <div class="bg-gray-700 p-3 rounded-lg max-w-[80%]">
                        <div class="flex space-x-2">
                            <div class="w-2 h-2 rounded-full bg-gray-500 animate-pulse-custom"></div>
                            <div class="w-2 h-2 rounded-full bg-gray-500 animate-pulse-custom delay-100"></div>
                            <div class="w-2 h-2 rounded-full bg-gray-500 animate-pulse-custom delay-200"></div>
                        </div>
                    </div>
                `;
                chatMessages.appendChild(typingIndicator);
                chatMessages.scrollTop = chatMessages.scrollHeight;
                
                // Simulate bot response after delay
                setTimeout(() => {
                    chatMessages.removeChild(typingIndicator);
                    const response = generateResponse(message);
                    addMessage(response, 'bot');
                }, 1000 + Math.random() * 2000);
            });
            
            // Add message to chat
            function addMessage(text, sender) {
                const messageDiv = document.createElement('div');
                messageDiv.className = `message-enter flex space-x-3 ${sender === 'user' ? 'justify-end' : ''}`;
                
                if (sender === 'user') {
                    messageDiv.innerHTML = `
                        <div class="bg-purple-600 p-3 rounded-lg max-w-[80%]">
                            <p>${text}</p>
                        </div>
                        <div class="flex-shrink-0">
                            <div class="w-8 h-8 rounded-full bg-gray-700 flex items-center justify-center">
                                <i class="fas fa-user text-sm"></i>
                            </div>
                        </div>
                    `;
                } else {
                    messageDiv.innerHTML = `
                        <div class="flex-shrink-0">
                            <div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center">
                                <i class="fas fa-robot text-sm"></i>
                            </div>
                        </div>
                        <div class="bg-gray-700 p-3 rounded-lg max-w-[80%]">
                            <p>${text}</p>
                        </div>
                    `;
                }
                
                chatMessages.appendChild(messageDiv);
                chatMessages.scrollTop = chatMessages.scrollHeight;
            }
            
            // Generate bot response
            function generateResponse(message) {
                const lowerMessage = message.toLowerCase();
                
                if (lowerMessage.includes('привет') || lowerMessage.includes('hi') || lowerMessage.includes('hello')) {
                    return "Привет, братик! Чем помочь? Могу сделать ESP, Fly, GUI или сгенерировать аватарку.";
                }
                
                if (lowerMessage.includes('пока') || lowerMessage.includes('bye')) {
                    return "Пока! Возвращайся, если захочешь скрипты или помощь 💜";
                }
                
                if (lowerMessage.includes('как дела') || lowerMessage.includes('how are you')) {
                    return "Отлично, готов помогать с Roblox скриптами! А у тебя как?";
                }
                
                if (lowerMessage.includes('esp')) {
                    return `Конечно! Вот рабочий скрипт Lua для Roblox ESP:
<pre class="bg-gray-900 p-2 rounded mt-2 overflow-x-auto text-sm">
-- ESP Script by xLegendBot
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function createESP(player)
    local character = player.Character or player.CharacterAdded:Wait()
    local highlight = Instance.new("Highlight")
    highlight.Parent = character
    highlight.Name = "ESP_"..player.Name
    highlight.FillColor = player.TeamColor.Color
    highlight.OutlineColor = Color3.new(1,1,1)
    highlight.FillTransparency = 0.5
    highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
end

for _, player in ipairs(Players:GetPlayers()) do
    if player ~= LocalPlayer then
        createESP(player)
    end
end

Players.PlayerAdded:Connect(function(player)
    createESP(player)
end)
</pre>
Просто вставь этот код в исполнитель (например, Synapse X или Krnl) и наслаждайся ESP!`;
                }
                
                if (lowerMessage.includes('fly') || lowerMessage.includes('полет')) {
                    return `Вот скрипт для полёта в Roblox:
<pre class="bg-gray-900 p-2 rounded mt-2 overflow-x-auto text-sm">
-- Fly Script by xLegendBot
local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local UserInputService = game:GetService("UserInputService")

local flying = true
local flySpeed = 2
local flyKey = Enum.KeyCode.Space
local descendKey = Enum.KeyCode.LeftControl

local function onInput(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == flyKey then
        Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        Character:WaitForChild("HumanoidRootPart").Velocity = Vector3.new(0, flySpeed * 50, 0)
    elseif input.KeyCode == descendKey then
        Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        Character:WaitForChild("HumanoidRootPart").Velocity = Vector3.new(0, -flySpeed * 50, 0)
    end
end

UserInputService.InputBegan:Connect(onInput)

while flying do
    if not Character or not Character:FindFirstChild("HumanoidRootPart") then
        Character = Player.Character or Player.CharacterAdded:Wait()
    end
    
    local rootPart = Character:FindFirstChild("HumanoidRootPart")
    if rootPart then
        rootPart.Velocity = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z)
        Humanoid:ChangeState(Enum.HumanoidStateType.Freefall)
    end
    wait()
end
</pre>
Используй Space для подъёма и Left Ctrl для снижения.`;
                }
                
                if (lowerMessage.includes('gui') || lowerMessage.includes('интерфейс')) {
                    return `Вот простой GUI интерфейс для твоих скриптов:
<pre class="bg-gray-900 p-2 rounded mt-2 overflow-x-auto text-sm">
-- GUI Script by xLegendBot
local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = Player:WaitForChild("PlayerGui")
ScreenGui.Name = "xLegendBotGUI"

local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 300, 0, 400)
MainFrame.Position = UDim2.new(0.5, -150, 0.5, -200)
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui

local Title = Instance.new("TextLabel")
Title.Text = "xLegendBot GUI"
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.BackgroundColor3 = Color3.fromRGB(100, 70, 200)
Title.TextColor3 = Color3.new(1, 1, 1)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 18
Title.Parent = MainFrame

local ESPButton = Instance.new("TextButton")
ESPButton.Text = "ESP"
ESPButton.Size = UDim2.new(0.9, 0, 0, 40)
ESPButton.Position = UDim2.new(0.05, 0, 0, 60)
ESPButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
ESPButton.TextColor3 = Color3.new(1, 1, 1)
ESPButton.Font = Enum.Font.Gotham
ESPButton.TextSize = 16
ESPButton.Parent = MainFrame

local FlyButton = Instance.new("TextButton")
FlyButton.Text = "Fly"
FlyButton.Size = UDim2.new(0.9, 0, 0, 40)
FlyButton.Position = UDim2.new(0.05, 0, 0, 110)
FlyButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
FlyButton.TextColor3 = Color3.new(1, 1, 1)
FlyButton.Font = Enum.Font.Gotham
FlyButton.TextSize = 16
FlyButton.Parent = MainFrame

-- Добавь сюда функционал для кнопок
ESPButton.MouseButton1Click:Connect(function()
    -- Вставь сюда ESP скрипт
    print("ESP активирован!")
end)

FlyButton.MouseButton1Click:Connect(function()
    -- Вставь сюда Fly скрипт
    print("Fly активирован!")
end)
</pre>
Это базовая структура, которую ты можешь расширить по своему желанию.`;
                }
                
                if (lowerMessage.includes('генер') || lowerMessage.includes('аватар') || lowerMessage.includes('фото')) {
                    return "Отлично! Опиши, как хочешь видеть аватар или изображение. Например: 'Генерируй аватарку аниме девушки с фиолетовыми волосами и в киберпанк стиле' или 'Создай фото реалистичного леса с водопадом'. Я помогу сформулировать запрос для генерации!";
                }
                
                return "Понял тебя! Если тебе нужен конкретный скрипт (ESP, Fly, GUI) или хочешь сгенерировать изображение — уточни детали, и я помогу!";
            }
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=XLegendSigmaBro/legend-bot" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>