script
```
local speedBlock = script.Parent
local speedAmount = 50
local function giveSpeed(player)
local character = player.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.WalkSpeed = speedAmount
wait(5)
humanoid.WalkSpeed = 16
end
end
end
speedBlock.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
giveSpeed(player)
end
end)
```