Run it
Copy the script and paste it into your executor.
targetSpeedIncrease =
duration =
cooldown =
slow =
Players = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoidRootPart = character:()
lastPosition = humanoidRootPart.Position
threshold =
checkInterval =
flagDuration =
flagDetector =
()
currentPosition = humanoidRootPart.Position
distance = (currentPosition - lastPosition).Magnitude
distance > threshold
flagDetector =
(flagDuration, ()
flagDetector =
)
lastPosition = currentPosition
(checkInterval)
player.CharacterAdded:((newCharacter)
character = newCharacter
humanoidRootPart = character:()
lastPosition = humanoidRootPart.Position
flagDetector =
)
flagDetector ==
()
cooldown =
slow = slow +
.()
cooldown =
slow =
(checkTeleport)
lastprs =
lastUsed =
cooldownGUI = .()
cooldownGUI.Name =
cooldownGUI.Parent = .Players.LocalPlayer:()
frame = .()
frame.Size = .(, , , )
frame.Position = .(,,,)
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Draggable =
frame.Parent = cooldownGUI
progressBar = .()
progressBar.Size = .(, , , )
progressBar.BackgroundColor3 = .(, , )
progressBar.BorderSizePixel =
progressBar.Parent = frame
textLabel = .()
textLabel.Size = .(, , , )
textLabel.BackgroundColor3 = .(, , )
textLabel.TextColor3 = .(, , )
textLabel.Text =
textLabel.Font = .Font.SourceSansBold
textLabel.TextScaled =
textLabel.TextXAlignment = .TextXAlignment.Center
textLabel.TextYAlignment = .TextYAlignment.Center
textLabel.BackgroundTransparency =
textLabel.Parent = frame
player = .Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
()
originalSpeed = humanoid.WalkSpeed
humanoid.WalkSpeed = originalSpeed + targetSpeedIncrease
lastUsed = ()
(duration)
humanoid.WalkSpeed = originalSpeed-
(slow)
humanoid.WalkSpeed = +
()
() - lastUsed < cooldown
remainingTime = cooldown - (() - lastUsed)
ratio = (cooldown - remainingTime) / cooldown
progressBar:(.(ratio, , , ), .EasingDirection.Out, .EasingStyle.Linear, )
textLabel.Text = .(, remainingTime) ..
progressBar:(.(, , , ), .EasingDirection.Out, .EasingStyle.Linear, )
textLabel.Text =
:().InputBegan:((input, gameProcessedEvent)
gameProcessedEvent
input.KeyCode == .KeyCode.E
() - lastUsed >= cooldown
()
lastprs = lastprs +
lastprs >=
cooldown = cooldown +
slow = slow +
lastprs >=
cooldown =
lastprs =
slow =
flagDetector ==
cooldown =
slow = slow +
.()
cooldown =
slow =
)
:().RenderStepped:(updateCooldownGUI)
Players = :()
RunService = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
screenGui = .()
screenGui.Name =
screenGui.Parent = player.PlayerGui
frame = .()
frame.Name =
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.AnchorPoint = .(, )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
speedText = .()
speedText.Name =
speedText.Size = .(, , , )
speedText.BackgroundTransparency =
speedText.Text =
speedText.TextColor3 = .(, , )
speedText.Font = .Font.GothamMedium
speedText.TextSize =
speedText.Parent = frame
()
velocity = humanoid.RootPart.Velocity
speed = .(velocity.X, , velocity.Z).Magnitude
speedText.Text = .. .(speed) ..
player.CharacterAdded:((newCharacter)
character = newCharacter
humanoid = character:()
)
RunService.Heartbeat:(updateSpeed)

Dead Rails