-- SpeedPad Server Script -- Put this Script inside the Part named "SpeedPad" in Workspace local pad = script.Parent local BOOST_SPEED = 80 -- walk speed during boost local DURATION = 5 -- seconds local NORMAL_SPEED = 16 -- typical default WalkSpeed local playersDebounce = {} -- prevents repeated triggers for same player local function onTouch(otherPart) local character = otherPart:FindFirstAncestorOfClass("Model") if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end local player = game.Players:GetPlayerFromCharacter(character) if not player then return end if playersDebounce[player] then return end playersDebounce[player] = true local previousSpeed = humanoid.WalkSpeed humanoid.WalkSpeed = BOOST_SPEED -- optional visual feedback local hint = Instance.new("Message") hint.Text = player.Name .. " boosted!" hint.Parent = workspace delay(1, function() if hint and hint.Parent then hint:Destroy() end end) -- return speed after duration (only if humanoid still exists) delay(DURATION, function() if humanoid and humanoid.Parent then humanoid.WalkSpeed = previousSpeed or NORMAL_SPEED end playersDebounce[player] = nil end) end pad.Touched:Connect(onTouch)