-- [[ 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 ]] -- ======================================================= -- THE FLASH SCRIPT by MKgabriel (FIX DEFINITIVO) -- IMPORTANTE: Coloque dentro de StarterGui como LocalScript -- ======================================================= local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local Lighting = game:GetService("Lighting") local Debris = game:GetService("Debris") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") --------------------------------------------------------- -- CONFIGURAÇÕES DE VELOCIDADE --------------------------------------------------------- local BASE_SPEED = 40 local MAX_SPEED = 800 local ACCELERATION_RATE = 140 local PHASING_SPEED = 180 local scriptActive = false local currentSpeed = BASE_SPEED local afterimageTimer = 0 local lightningEmitters = {} local renderConnection = nil local physicsConnection = nil --------------------------------------------------------- -- FILTROS PÓS-PROCESSAMENTO --------------------------------------------------------- local colorCorrection = Lighting:FindFirstChild("FlashSpeedFX") or Instance.new("ColorCorrectionEffect") colorCorrection.Name = "FlashSpeedFX" colorCorrection.Enabled = false colorCorrection.Parent = Lighting local speedBlur = Lighting:FindFirstChild("FlashSpeedBlur") or Instance.new("BlurEffect") speedBlur.Name = "FlashSpeedBlur" speedBlur.Size = 0 speedBlur.Enabled = false speedBlur.Parent = Lighting --------------------------------------------------------- -- CRIAÇÃO DA INTERFACE (FORÇADA E IMEDIATA) --------------------------------------------------------- local function buildUI() local existing = playerGui:FindFirstChild("TheFlashScriptGui") if existing then existing:Destroy() end local screenGui = Instance.new("ScreenGui") screenGui.Name = "TheFlashScriptGui" screenGui.ResetOnSpawn = false screenGui.DisplayOrder = 999999 screenGui.IgnoreGuiInset = true screenGui.Enabled = true screenGui.Parent = playerGui -- Botão Flutuante Verde MK local mkButton = Instance.new("TextButton") mkButton.Name = "MKButton" mkButton.Size = UDim2.new(0, 60, 0, 60) mkButton.Position = UDim2.new(0.02, 0, 0.45, 0) mkButton.BackgroundColor3 = Color3.fromRGB(46, 204, 113) mkButton.Text = "MK" mkButton.TextColor3 = Color3.fromRGB(255, 255, 255) mkButton.TextSize = 22 mkButton.Font = Enum.Font.GothamBold mkButton.ZIndex = 100000 mkButton.Active = true mkButton.Parent = screenGui local mkCorner = Instance.new("UICorner") mkCorner.CornerRadius = UDim.new(1, 0) mkCorner.Parent = mkButton -- Painel Principal local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 320, 0, 240) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -120) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 15, 10) mainFrame.Visible = false mainFrame.ZIndex = 100001 mainFrame.Parent = screenGui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 16) frameCorner.Parent = mainFrame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 50) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "THE FLASH SCRIPT\nby MKgabriel" titleLabel.TextColor3 = Color3.fromRGB(255, 200, 0) titleLabel.TextSize = 18 titleLabel.Font = Enum.Font.GothamBold titleLabel.ZIndex = 100002 titleLabel.Parent = mainFrame local startButton = Instance.new("TextButton") startButton.Size = UDim2.new(0, 220, 0, 42) startButton.Position = UDim2.new(0.5, -110, 0.44, 0) startButton.BackgroundColor3 = Color3.fromRGB(255, 140, 0) startButton.Text = "START ACCELERATION" startButton.TextColor3 = Color3.fromRGB(255, 255, 255) startButton.TextSize = 15 startButton.Font = Enum.Font.GothamBold startButton.ZIndex = 100002 startButton.Parent = mainFrame local startCorner = Instance.new("UICorner") startCorner.CornerRadius = UDim.new(0, 10) startCorner.Parent = startButton local stopButton = Instance.new("TextButton") stopButton.Size = UDim2.new(0, 220, 0, 42) stopButton.Position = UDim2.new(0.5, -110, 0.68, 0) stopButton.BackgroundColor3 = Color3.fromRGB(231, 76, 60) stopButton.Text = "STOP EFFECTS" stopButton.TextColor3 = Color3.fromRGB(255, 255, 255) stopButton.TextSize = 16 stopButton.Font = Enum.Font.GothamBold stopButton.ZIndex = 100002 stopButton.Parent = mainFrame local stopCorner = Instance.new("UICorner") stopCorner.CornerRadius = UDim.new(0, 10) stopCorner.Parent = stopButton local flashFrame = Instance.new("Frame") flashFrame.Size = UDim2.new(1, 0, 1, 0) flashFrame.BackgroundColor3 = Color3.fromRGB(255, 240, 180) flashFrame.BackgroundTransparency = 1 flashFrame.ZIndex = 99999 flashFrame.Parent = screenGui return mkButton, mainFrame, startButton, stopButton, flashFrame end --------------------------------------------------------- -- GERENCIAMENTO DE EFEITOS --------------------------------------------------------- local function setupLightning(character) for _, emitter in pairs(lightningEmitters) do if emitter then emitter:Destroy() end end lightningEmitters = {} for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then local emitter = Instance.new("ParticleEmitter") emitter.Texture = "rbxassetid://258123006" emitter.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 230, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 90, 0)) }) emitter.Size = NumberSequence.new(0.6, 0) emitter.Lifetime = NumberRange.new(0.1, 0.25) emitter.Rate = 30 emitter.Speed = NumberRange.new(2, 6) emitter.Enabled = false emitter.Parent = part table.insert(lightningEmitters, emitter) end end end local function updateLightningFX(speedRatio) for _, emitter in pairs(lightningEmitters) do if emitter and emitter.Parent then emitter.Rate = 30 + (speedRatio * 320) emitter.Size = NumberSequence.new(0.6 + (speedRatio * 2.2), 0) emitter.Speed = NumberRange.new(2 + (speedRatio * 20), 6 + (speedRatio * 30)) end end end local function createAfterimage(character, speedRatio) for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" and part.Transparency < 1 then local ghost = Instance.new("Part") ghost.Size = part.Size ghost.CFrame = part.CFrame ghost.Material = Enum.Material.Neon ghost.Color = Color3.fromRGB(255, math.clamp(230 - math.floor(speedRatio * 140), 0, 255), 0) ghost.Transparency = 0.35 ghost.CanCollide = false ghost.Anchored = true ghost.Parent = workspace TweenService:Create(ghost, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Transparency = 1, Size = part.Size * 0.75 }):Play() Debris:AddItem(ghost, 0.35) end end end local function restoreCollision() local char = player.Character if char then for _, part in pairs(char:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = true end end end end local function stopEffects() scriptActive = false currentSpeed = BASE_SPEED afterimageTimer = 0 if renderConnection then renderConnection:Disconnect() renderConnection = nil end if physicsConnection then physicsConnection:Disconnect() physicsConnection = nil end local camera = workspace.CurrentCamera if camera then TweenService:Create(camera, TweenInfo.new(0.5), {FieldOfView = 70}):Play() end colorCorrection.Enabled = false speedBlur.Enabled = false speedBlur.Size = 0 restoreCollision() local char = player.Character if char then local humanoid = char:FindFirstChild("Humanoid") if humanoid then humanoid.WalkSpeed = 16 end for _, emitter in pairs(lightningEmitters) do if emitter and emitter.Parent then emitter:Destroy() end end lightningEmitters = {} end end --------------------------------------------------------- -- INICIALIZAÇÃO DA INTERFACE E SISTEMAS --------------------------------------------------------- local mkButton, mainFrame, startButton, stopButton, flashFrame = buildUI() mkButton.MouseButton1Click:Connect(function() mainFrame.Visible = not mainFrame.Visible end) stopButton.MouseButton1Click:Connect(function() stopEffects() mainFrame.Visible = false end) startButton.MouseButton1Click:Connect(function() if scriptActive then return end scriptActive = true currentSpeed = BASE_SPEED afterimageTimer = 0 mainFrame.Visible = false local camera = workspace.CurrentCamera local char = player.Character or player.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") if camera then local tweenSlow = TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local zoomIn = TweenService:Create(camera, tweenSlow, {FieldOfView = 50}) zoomIn:Play() zoomIn.Completed:Wait() local zoomOut = TweenService:Create(camera, tweenSlow, {FieldOfView = 90}) zoomOut:Play() zoomOut.Completed:Wait() end if not scriptActive then return end flashFrame.BackgroundTransparency = 0 TweenService:Create(flashFrame, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundTransparency = 1 }):Play() colorCorrection.Enabled = true speedBlur.Enabled = true setupLightning(char) if renderConnection then renderConnection:Disconnect() end if physicsConnection then physicsConnection:Disconnect() end physicsConnection = RunService.Stepped:Connect(function() local currentChar = player.Character if scriptActive and (currentSpeed >= PHASING_SPEED) and currentChar then local currentHumanoid = currentChar:FindFirstChild("Humanoid") if currentHumanoid and currentHumanoid.MoveDirection.Magnitude > 0.1 then for _, part in pairs(currentChar:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end end) renderConnection = RunService.RenderStepped:Connect(function(deltaTime) local currentChar = player.Character if not scriptActive or not currentChar or not currentChar:FindFirstChild("Humanoid") then return end local currentHumanoid = currentChar.Humanoid if currentHumanoid.Health <= 0 then return end local isMoving = currentHumanoid.MoveDirection.Magnitude > 0.1 local currentCam = workspace.CurrentCamera for _, emitter in pairs(lightningEmitters) do if emitter and emitter.Parent then emitter.Enabled = isMoving end end if not isMoving then currentSpeed = BASE_SPEED currentHumanoid.WalkSpeed = 16 if currentCam then currentCam.FieldOfView = 70 end speedBlur.Size = 0 colorCorrection.Saturation = 0 restoreCollision() return end currentSpeed = math.min(MAX_SPEED, currentSpeed + (ACCELERATION_RATE * deltaTime)) currentHumanoid.WalkSpeed = currentSpeed local speedRatio = (currentSpeed - BASE_SPEED) / (MAX_SPEED - BASE_SPEED) if currentCam then currentCam.FieldOfView = 75 + (speedRatio * 55) end speedBlur.Size = math.floor(speedRatio * 12) colorCorrection.TintColor = Color3.fromRGB(255, math.clamp(245 - math.floor(speedRatio * 100), 0, 255), math.clamp(200 - math.floor(speedRatio * 150), 0, 255)) colorCorrection.Saturation = 0.2 + (speedRatio * 0.8) colorCorrection.Contrast = 0.1 + (speedRatio * 0.4) updateLightningFX(speedRatio) if speedRatio > 0.05 then afterimageTimer = afterimageTimer + deltaTime local interval = 0.12 - (speedRatio * 0.09) if afterimageTimer >= interval then afterimageTimer = 0 createAfterimage(currentChar, speedRatio) end end end) end) player.CharacterAdded:Connect(function() if scriptActive then stopEffects() end end)