SPEED BOOST without flag
Key Required

SPEED BOOST without flag

Dead Railsebanaskadanilkaebanaskadanilka 12.8K views 24 executesUpdated Mar 19, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Scriptβ€’203 lines (5869 chars)
-----------🌠 By: prank1303(discord) 🌠
-- 🌌✨  server --> discord.gg/RVrGzqek6S  ✨🌌

--<< SETTINGS >>-- (not recommend to change)
local targetSpeedIncrease = 23
local duration = 0.3
local cooldown = 2
local slow = 0.24
---------------------------------------------

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

local lastPosition = humanoidRootPart.Position
local threshold = 4  
local checkInterval = 0.1 
local flagDuration = 0.2 
local flagDetector = 0 

local function checkTeleport()
    while true do
        local currentPosition = humanoidRootPart.Position
        local distance = (currentPosition - lastPosition).Magnitude
        
        if distance > threshold then

            flagDetector = 1
            
            delay(flagDuration, function()
                flagDetector = 0
            end)
        end
        
        lastPosition = currentPosition
        wait(checkInterval)
    end
end

player.CharacterAdded:Connect(function(newCharacter)
    character = newCharacter
    humanoidRootPart = character:WaitForChild("HumanoidRootPart")
    lastPosition = humanoidRootPart.Position
    flagDetector = 0
end)

if flagDetector == 1 then
	print("flag")
	cooldown = 4
	slow = slow + 0.1
	task.wait(3.9)
	cooldown = 2
	slow = 0.24
end

spawn(checkTeleport)

local lastprs = 0

local lastUsed = 0

local cooldownGUI = Instance.new("ScreenGui")
cooldownGUI.Name = "CooldownGUI"
cooldownGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 170, 0, 30)
frame.Position = UDim2.new(0,10,0,10)
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.BorderSizePixel = 0
frame.Draggable = true
frame.Parent = cooldownGUI

local progressBar = Instance.new("Frame")
progressBar.Size = UDim2.new(0, 0, 1, 0)
progressBar.BackgroundColor3 = Color3.new(0.3, 0.7, 1)
progressBar.BorderSizePixel = 0
progressBar.Parent = frame

local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundColor3 = Color3.new(1, 1, 1)
textLabel.TextColor3 = Color3.new(1, 1, 1)
textLabel.Text = "PRESS E"
textLabel.Font = Enum.Font.SourceSansBold
textLabel.TextScaled = true
textLabel.TextXAlignment = Enum.TextXAlignment.Center
textLabel.TextYAlignment = Enum.TextYAlignment.Center
textLabel.BackgroundTransparency = 1
textLabel.Parent = frame

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local function applySpeedBoost()
    local originalSpeed = humanoid.WalkSpeed
    humanoid.WalkSpeed = originalSpeed + targetSpeedIncrease
    lastUsed = tick()
    wait(duration)
    humanoid.WalkSpeed = originalSpeed-7
	wait(slow)
	humanoid.WalkSpeed = 0+16
end

local function updateCooldownGUI()
    if tick() - lastUsed < cooldown then
        local remainingTime = cooldown - (tick() - lastUsed)
        local ratio = (cooldown - remainingTime) / cooldown

        progressBar:TweenSize(UDim2.new(ratio, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.1)
        textLabel.Text = string.format("%.1f", remainingTime) .. " s."
    else
        progressBar:TweenSize(UDim2.new(1, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.1)
        textLabel.Text = "PRESS E"
    end
end

game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
    if gameProcessedEvent then return end

    if input.KeyCode == Enum.KeyCode.E then

        if tick() - lastUsed >= cooldown then
            applySpeedBoost()
			lastprs = lastprs + 1
			if lastprs >= 2 then
			    cooldown = cooldown + 0.15
				slow = slow + 0.05
			end
			if lastprs >= 4 then
			    cooldown = 2
			    lastprs = 0
				slow = 0.24
			end
			if flagDetector == 1 then
				cooldown = 4
				slow = slow + 0.1
				task.wait(4)
				cooldown = 2
				slow = 0.24
			end
        end
    end
end)

game:GetService("RunService").RenderStepped:Connect(updateCooldownGUI)

-----------------------------------------------------------------------

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SGUI"
screenGui.Parent = player.PlayerGui

local frame = Instance.new("Frame")
frame.Name = "SF"
frame.Size = UDim2.new(0.1, 0, 0.03, 0)
frame.Position = UDim2.new(0.5, 0, 0.915, 0) -- По Ρ†Π΅Π½Ρ‚Ρ€Ρƒ, Ρ‡ΡƒΡ‚ΡŒ Π²Ρ‹ΡˆΠ΅ инвСнтаря
frame.AnchorPoint = Vector2.new(0.5, 1)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
frame.BackgroundTransparency = 0.3
frame.BorderSizePixel = 0
frame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0.3, 0)
corner.Parent = frame

local speedText = Instance.new("TextLabel")
speedText.Name = "ST"
speedText.Size = UDim2.new(1, 0, 1, 0)
speedText.BackgroundTransparency = 1
speedText.Text = "Speed: 0"
speedText.TextColor3 = Color3.fromRGB(255, 255, 255)
speedText.Font = Enum.Font.GothamMedium
speedText.TextSize = 18
speedText.Parent = frame

local function updateSpeed()
    local velocity = humanoid.RootPart.Velocity
    local speed = Vector3.new(velocity.X, 0, velocity.Z).Magnitude -- Π˜Π³Π½ΠΎΡ€ΠΈΡ€ΡƒΠ΅ΠΌ Π²Π΅Ρ€Ρ‚ΠΈΠΊΠ°Π»ΡŒΠ½ΡƒΡŽ ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ
    speedText.Text = "Speed: " .. math.floor(speed) .. " studs/s"
end

player.CharacterAdded:Connect(function(newCharacter)
    character = newCharacter
    humanoid = character:WaitForChild("Humanoid")
end)

RunService.Heartbeat:Connect(updateSpeed)

--
--β–ˆβ–‘β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–‘β–ˆβ–‘β–ˆβ€ƒβ–„β–€β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–€
--β–ˆβ–€β–ˆβ€ƒβ–ˆβ€ƒβ–€β–„β–€β€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ€ƒβ–€β–„β–€β–„β–€β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–ˆβ–„
--

Features & Information

discord.gg/RVrGzqek6S Speed boost by press "E", without "flag" Open src
#dead#rails#DEAD#REAILS#qwertyuiopasdfghjklzxcvbnm

Community Comments (3)

fatihxbox1221fatihxbox1221Mar 19, 2025(edited)

nice script but this is dash script not speed boost

ebanaskadanilkaebanaskadanilkaMar 19, 2025(edited)

@fatihxbox1221 it is speed boost just check script source

ebanaskadanilkaebanaskadanilkaMar 19, 2025(edited)

recommend duration 5

More Scripts for Dead Rails