-- Сервисы Roblox local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local StarterGui = game:GetService("StarterGui") local player = Players.LocalPlayer local camera = Workspace.CurrentCamera -- Уведомление об авторстве pcall(function() StarterGui:SetCore("SendNotification", { Title = "Flash Script ⚡"; Text = "MADE BY @ORION"; Duration = 4; }) end) local function initFlashScript() local playerGui = player:WaitForChild("PlayerGui", 15) if not playerGui then return end local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local rootPart = character:WaitForChild("HumanoidRootPart") -- Удаляем старый интерфейс, если он уже был if playerGui:FindFirstChild("FlashSpeedGUI") then playerGui.FlashSpeedGUI:Destroy() end -- // 1. ИНТЕРФЕЙС local screenGui = Instance.new("ScreenGui") screenGui.Name = "FlashSpeedGUI" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Синяя кнопка Силы Скорости (Слева сверху) local speedForceButton = Instance.new("TextButton") speedForceButton.Size = UDim2.new(0, 55, 0, 55) speedForceButton.Position = UDim2.new(0, 20, 0, 20) speedForceButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255) speedForceButton.Text = "⚡" speedForceButton.TextSize = 28 speedForceButton.TextColor3 = Color3.fromRGB(255, 255, 255) speedForceButton.Font = Enum.Font.GothamBold speedForceButton.Parent = screenGui local sfCorner = Instance.new("UICorner") sfCorner.CornerRadius = UDim.new(1, 0) sfCorner.Parent = speedForceButton local sfStroke = Instance.new("UIStroke") sfStroke.Thickness = 3 sfStroke.Color = Color3.fromRGB(255, 255, 255) sfStroke.Parent = speedForceButton -- Зеленая кнопка Рывка / Dash (Ниже синей кнопки) local dashButton = Instance.new("TextButton") dashButton.Size = UDim2.new(0, 48, 0, 48) dashButton.Position = UDim2.new(0, 23, 0, 83) dashButton.BackgroundColor3 = Color3.fromRGB(0, 200, 80) dashButton.Text = "⏩" dashButton.TextSize = 22 dashButton.TextColor3 = Color3.fromRGB(255, 255, 255) dashButton.Font = Enum.Font.GothamBold dashButton.Parent = screenGui local dashCorner = Instance.new("UICorner") dashCorner.CornerRadius = UDim.new(1, 0) dashCorner.Parent = dashButton local dashStroke = Instance.new("UIStroke") dashStroke.Thickness = 2 dashStroke.Color = Color3.fromRGB(255, 255, 255) dashStroke.Parent = dashButton -- КРАСНАЯ КНОПКА РЕЖИМА ЯРОСТИ / ESP (Ниже зеленой) local rageButton = Instance.new("TextButton") rageButton.Size = UDim2.new(0, 48, 0, 48) rageButton.Position = UDim2.new(0, 23, 0, 138) rageButton.BackgroundColor3 = Color3.fromRGB(220, 30, 30) rageButton.Text = "🎯" rageButton.TextSize = 22 rageButton.TextColor3 = Color3.fromRGB(255, 255, 255) rageButton.Font = Enum.Font.GothamBold rageButton.Parent = screenGui local rageCorner = Instance.new("UICorner") rageCorner.CornerRadius = UDim.new(1, 0) rageCorner.Parent = rageButton local rageStroke = Instance.new("UIStroke") rageStroke.Thickness = 2 rageStroke.Color = Color3.fromRGB(255, 255, 255) rageStroke.Parent = rageButton -- Главная кнопка активации бега ⚡ (Справа) local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 70, 0, 70) toggleButton.Position = UDim2.new(0.85, 0, 0.6, 0) toggleButton.BackgroundColor3 = Color3.fromRGB(255, 140, 0) toggleButton.Text = "⚡" toggleButton.TextSize = 38 toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) toggleButton.Font = Enum.Font.GothamBold toggleButton.Parent = screenGui local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(1, 0) uiCorner.Parent = toggleButton local uiStroke = Instance.new("UIStroke") uiStroke.Thickness = 3 uiStroke.Color = Color3.fromRGB(255, 255, 255) uiStroke.Parent = toggleButton -- Кнопка шестеренки ⚙️ (Меню) local menuButton = Instance.new("TextButton") menuButton.Size = UDim2.new(0, 40, 0, 40) menuButton.Position = UDim2.new(0.85, 45, 0.6, 15) menuButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) menuButton.Text = "⚙️" menuButton.TextSize = 20 menuButton.TextColor3 = Color3.fromRGB(255, 255, 255) menuButton.Font = Enum.Font.GothamBold menuButton.Parent = screenGui local menuCorner = Instance.new("UICorner") menuCorner.CornerRadius = UDim.new(1, 0) menuCorner.Parent = menuButton -- // 2. ОКНО МЕНЮ НАСТРОЕК local settingsFrame = Instance.new("Frame") settingsFrame.Size = UDim2.new(0, 250, 0, 210) settingsFrame.Position = UDim2.new(0.5, -125, 0.15, 0) settingsFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) settingsFrame.Visible = false settingsFrame.Parent = screenGui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 12) frameCorner.Parent = settingsFrame local frameStroke = Instance.new("UIStroke") frameStroke.Thickness = 2 frameStroke.Color = Color3.fromRGB(255, 210, 0) frameStroke.Parent = settingsFrame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -30, 0, 30) titleLabel.Position = UDim2.new(0, 10, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Настройки Флэша" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 15 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = settingsFrame -- КНОПКА ЗАКРЫТИЯ МЕНЮ ❌ local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.new(0, 26, 0, 26) closeButton.Position = UDim2.new(1, -32, 0, 5) closeButton.BackgroundColor3 = Color3.fromRGB(200, 40, 40) closeButton.Text = "✕" closeButton.TextSize = 16 closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.Font = Enum.Font.GothamBold closeButton.Parent = settingsFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(1, 0) closeCorner.Parent = closeButton closeButton.MouseButton1Click:Connect(function() settingsFrame.Visible = false end) local speedBox = Instance.new("TextBox") speedBox.Size = UDim2.new(0.85, 0, 0, 35) speedBox.Position = UDim2.new(0.075, 0, 0, 35) speedBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45) speedBox.Text = "250" speedBox.TextColor3 = Color3.fromRGB(255, 255, 255) speedBox.TextSize = 18 speedBox.Font = Enum.Font.GothamBold speedBox.ClearTextOnFocus = false speedBox.Parent = settingsFrame local boxCorner = Instance.new("UICorner") boxCorner.CornerRadius = UDim.new(0, 8) boxCorner.Parent = speedBox local themeLabel = Instance.new("TextLabel") themeLabel.Size = UDim2.new(1, 0, 0, 20) themeLabel.Position = UDim2.new(0, 0, 0, 80) themeLabel.BackgroundTransparency = 1 themeLabel.Text = "Цвет шлейфа и молний:" themeLabel.TextColor3 = Color3.fromRGB(200, 200, 200) themeLabel.TextSize = 12 themeLabel.Font = Enum.Font.Gotham themeLabel.Parent = settingsFrame -- Переменные логики local currentSpeed = 250 local isActive = false local speedForceCooldown = false local dashCooldown = false local rageCooldown = false local isRageActive = false local cooldownTimeLeft = 0 local rageCooldownTime = 0 local moveConnection = nil local effectConnection = nil local trailInstance = nil local att0, att1 = nil, nil local currentThemeColor = Color3.fromRGB(255, 210, 0) -- Палитра цветов local colors = { {color = Color3.fromRGB(255, 210, 0), pos = 0.10}, {color = Color3.fromRGB(255, 30, 30), pos = 0.26}, {color = Color3.fromRGB(0, 150, 255), pos = 0.42}, {color = Color3.fromRGB(180, 50, 255), pos = 0.58}, {color = Color3.fromRGB(255, 255, 255),pos = 0.74}, {color = Color3.fromRGB(20, 20, 20), pos = 0.90}, } for _, c in ipairs(colors) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 28, 0, 28) btn.Position = UDim2.new(c.pos, -14, 0, 108) btn.BackgroundColor3 = c.color btn.Text = "" btn.Parent = settingsFrame local cCorner = Instance.new("UICorner") cCorner.CornerRadius = UDim.new(1, 0) cCorner.Parent = btn local cStroke = Instance.new("UIStroke") cStroke.Thickness = 2 cStroke.Color = Color3.fromRGB(255, 255, 255) cStroke.Parent = btn btn.MouseButton1Click:Connect(function() currentThemeColor = c.color frameStroke.Color = c.color if trailInstance then trailInstance.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, currentThemeColor), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, currentThemeColor) }) end end) end local hintLabel = Instance.new("TextLabel") hintLabel.Size = UDim2.new(1, 0, 0, 30) hintLabel.Position = UDim2.new(0, 0, 0, 160) hintLabel.BackgroundTransparency = 1 hintLabel.Text = "Макс: 5000 | Рывок [⏩] | ЦК/ESP [🎯]" hintLabel.TextColor3 = Color3.fromRGB(160, 160, 160) hintLabel.TextSize = 10 hintLabel.Font = Enum.Font.Gotham hintLabel.Parent = settingsFrame menuButton.MouseButton1Click:Connect(function() settingsFrame.Visible = not settingsFrame.Visible end) speedBox:GetPropertyChangedSignal("Text"):Connect(function() local num = tonumber(speedBox.Text) if num then currentSpeed = math.clamp(num, 10, 5000) end end) -- Звуковые эффекты local function playSound(soundId, volume) pcall(function() local s = Instance.new("Sound") s.SoundId = "rbxassetid://" .. soundId s.Volume = volume or 0.8 s.Parent = workspace s:Play() task.delay(3, function() if s then s:Destroy() end end) end) end -- Генерация молний local function createLightningBeam(pos1, pos2, thickness, lifetime) local part = Instance.new("Part") part.Anchored = true part.CanCollide = false part.Transparency = 1 part.Position = pos1 part.Parent = workspace local a0 = Instance.new("Attachment", part) a0.WorldPosition = pos1 local a1 = Instance.new("Attachment", part) a1.WorldPosition = pos2 local beam = Instance.new("Beam") beam.Attachment0 = a0 beam.Attachment1 = a1 beam.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, currentThemeColor), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, currentThemeColor) }) beam.Width0 = thickness or 0.6 beam.Width1 = thickness or 0.6 beam.FaceCamera = true beam.Parent = part task.delay(lifetime or 0.06, function() if part then part:Destroy() end end) end -- КНОПКА РЕЖИМА ЯРОСТИ (ЦК + ESP + x1.5 скорости на 5 сек, КД 30 сек) rageButton.MouseButton1Click:Connect(function() if rageCooldown then return end rageCooldown = true isRageActive = true playSound("9120769456", 1.2) -- Красный экран (ЦК) local cc = Instance.new("ColorCorrectionEffect") cc.TintColor = Color3.fromRGB(255, 50, 50) cc.Brightness = 0.4 cc.Contrast = 0.2 cc.Parent = Lighting -- ESP для всех игроков local espHolders = {} for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("Head") then local billboard = Instance.new("BillboardGui") billboard.Name = "RageESP" billboard.Size = UDim2.new(0, 100, 0, 40) billboard.StudsOffset = Vector3.new(0, 3, 0) billboard.AlwaysOnTop = true billboard.Parent = p.Character.Head local text = Instance.new("TextLabel") text.Size = UDim2.new(1, 0, 1, 0) text.BackgroundTransparency = 1 text.Text = "🎯 " .. p.Name text.TextColor3 = Color3.fromRGB(255, 50, 50) text.TextStrokeTransparency = 0 text.TextSize = 14 text.Font = Enum.Font.GothamBold text.Parent = billboard table.insert(espHolders, billboard) end end rageButton.Text = "🔥" -- Действует 5 секунд task.delay(5, function() isRageActive = false if cc then cc:Destroy() end for _, esp in ipairs(espHolders) do if esp then esp:Destroy() end end -- Перезарядка 30 секунд rageCooldownTime = 30 task.spawn(function() while rageCooldownTime > 0 do rageButton.Text = tostring(rageCooldownTime) task.wait(1) rageCooldownTime = rageCooldownTime - 1 end rageCooldown = false rageButton.Text = "🎯" end) end) end) -- Кнопка РЫВКА (Dash ⏩) dashButton.MouseButton1Click:Connect(function() if dashCooldown then return end character = player.Character if not character then return end rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end dashCooldown = true playSound("858508159", 1) rootPart.CFrame = rootPart.CFrame + (rootPart.CFrame.LookVector * 60) for i = 1, 6 do local p1 = rootPart.Position + Vector3.new(math.random(-6, 6), math.random(-3, 6), math.random(-6, 6)) local p2 = rootPart.Position + Vector3.new(math.random(-6, 6), math.random(-3, 6), math.random(-6, 6)) createLightningBeam(p1, p2, 0.9, 0.08) end dashButton.Text = "⏳" task.delay(1.5, function() dashCooldown = false dashButton.Text = "⏩" end) end) -- Запуск Силы Скорости (Космос) speedForceButton.MouseButton1Click:Connect(function() if speedForceCooldown then return end character = player.Character if not character then return end rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end if currentSpeed < 1500 then speedForceButton.Text = "❌" task.delay(1.2, function() if not speedForceCooldown then speedForceButton.Text = "⚡" end end) return end speedForceCooldown = true playSound("9120769456", 1.2) local originalCFrame = rootPart.CFrame rootPart.Anchored = true rootPart.CFrame = CFrame.new(originalCFrame.Position + Vector3.new(0, 8000, 0)) speedForceButton.Text = "🌌" local cosmicStormRunning = true task.spawn(function() while cosmicStormRunning and rootPart and rootPart.Parent do local spacePos = rootPart.Position for i = 1, 4 do local p1 = spacePos + Vector3.new(math.random(-20, 20), math.random(-12, 12), math.random(-20, 20)) local p2 = spacePos + Vector3.new(math.random(-20, 20), math.random(-12, 12), math.random(-20, 20)) createLightningBeam(p1, p2, 1.2, 0.08) end task.wait(0.12) end end) task.delay(3, function() cosmicStormRunning = false if rootPart and rootPart.Parent then rootPart.Anchored = false rootPart.CFrame = originalCFrame rootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0) end cooldownTimeLeft = 15 task.spawn(function() while cooldownTimeLeft > 0 do speedForceButton.Text = tostring(cooldownTimeLeft) task.wait(1) cooldownTimeLeft = cooldownTimeLeft - 1 end speedForceCooldown = false speedForceButton.Text = "⚡" end) end) end) -- Управление шлейфом local setTrailEnabled setTrailEnabled = function(state) if state then if not rootPart or not rootPart.Parent then return end att0 = Instance.new("Attachment", rootPart) att0.Position = Vector3.new(0, 1.5, 0) att1 = Instance.new("Attachment", rootPart) att1.Position = Vector3.new(0, -1.5, 0) trailInstance = Instance.new("Trail") trailInstance.Attachment0 = att0 trailInstance.Attachment1 = att1 trailInstance.Lifetime = 0.55 trailInstance.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, currentThemeColor), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, currentThemeColor) }) trailInstance.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.05), NumberSequenceKeypoint.new(0.7, 0.3), NumberSequenceKeypoint.new(1, 1) }) trailInstance.WidthScale = NumberSequence.new({ NumberSequenceKeypoint.new(0, 2.8), NumberSequenceKeypoint.new(1, 0.2) }) trailInstance.Parent = rootPart else if trailInstance then trailInstance:Destroy() trailInstance = nil end if att0 then att0:Destroy() att0 = nil end if att1 then att1:Destroy() att1 = nil end end end -- Главная кнопка бега ⚡ (с учетом множителя Режима Ярости x1.5) toggleButton.MouseButton1Click:Connect(function() isActive = not isActive character = player.Character if not character then return end humanoid = character:FindFirstChildOfClass("Humanoid") rootPart = character:FindFirstChild("HumanoidRootPart") if not humanoid or not rootPart then return end if isActive then toggleButton.BackgroundColor3 = Color3.fromRGB(255, 30, 0) setTrailEnabled(true) moveConnection = RunService.Stepped:Connect(function() if humanoid and humanoid.Parent and rootPart and rootPart.Parent then if humanoid.MoveDirection.Magnitude > 0 then -- Если активен режим ярости, увеличиваем скорость в 1.5 раза local multiplier = isRageActive and 1.5 or 1.0 local finalSpeed = currentSpeed * multiplier rootPart.CFrame = rootPart.CFrame + (humanoid.MoveDirection * (finalSpeed / 60)) camera.FieldOfView = math.clamp(70 + (finalSpeed / 125), 70, 105) else camera.FieldOfView = 70 end end end) effectConnection = RunService.RenderStepped:Connect(function() if humanoid and humanoid.MoveDirection.Magnitude > 0 and rootPart and rootPart.Parent then if currentSpeed >= 1000 or isRageActive then for i = 1, (isRageActive and 5 or 3) do local bodyPos = rootPart.Position local p1 = bodyPos + Vector3.new(math.random(-5, 5), math.random(-3, 6), math.random(-5, 5)) local p2 = bodyPos + Vector3.new(math.random(-5, 5), math.random(-3, 6), math.random(-5, 5)) createLightningBeam(p1, p2, 0.7, 0.05) end end if math.random(1, 5) == 1 then local offset = Vector3.new(math.random(-25, 25), 0, math.random(-25, 25)) local targetPos = rootPart.Position + offset createLightningBeam(targetPos + Vector3.new(0, 20, 0), targetPos - Vector3.new(0, 20, 0), 1.2, 0.07) end end end) else toggleButton.BackgroundColor3 = Color3.fromRGB(255, 140, 0) setTrailEnabled(false) camera.FieldOfView = 70 if moveConnection then moveConnection:Disconnect() moveConnection = nil end if effectConnection then effectConnection:Disconnect() effectConnection = nil end end end) -- Респавн player.CharacterAdded:Connect(function(newChar) isActive = false setTrailEnabled(false) speedForceCooldown = false dashCooldown = false rageCooldown = false isRageActive = false camera.FieldOfView = 70 if moveConnection then moveConnection:Disconnect() moveConnection = nil end if effectConnection then effectConnection:Disconnect() effectConnection = nil end character = newChar humanoid = character:WaitForChild("Humanoid") rootPart = character:WaitForChild("HumanoidRootPart") if rootPart then rootPart.Anchored = false end if toggleButton and toggleButton.Parent then toggleButton.BackgroundColor3 = Color3.fromRGB(255, 140, 0) end if speedForceButton then speedForceButton.Text = "⚡" end if dashButton then dashButton.Text = "⏩" end if rageButton then rageButton.Text = "🎯" end end) end task.spawn(function() if not player.Character then player.CharacterAdded:Wait() end task.wait(1) initFlashScript() end)